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/37719
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37719/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37719/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37719/events
|
https://github.com/pandas-dev/pandas/pull/37719
| 739,304,926
|
MDExOlB1bGxSZXF1ZXN0NTE3OTkwOTkz
| 37,719
|
TST: Add test for KeyError with MultiIndex
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 4
| 2020-11-09T19:32:07Z
| 2020-11-10T07:33:45Z
| 2020-11-10T03:20:06Z
|
MEMBER
| null |
- [x] closes #25236
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
cc @jreback Added a test
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37719/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37719/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37719.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37719",
"merged_at": "2020-11-10T03:20:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37719.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37719"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37720
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37720/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37720/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37720/events
|
https://github.com/pandas-dev/pandas/pull/37720
| 739,315,136
|
MDExOlB1bGxSZXF1ZXN0NTE3OTk5Mzc5
| 37,720
|
TST: Add test for missing fillvalue in categorical dtype
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-11-09T19:48:40Z
| 2020-11-09T21:36:10Z
| 2020-11-09T21:24:32Z
|
MEMBER
| null |
- [x] closes #18185
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
cc @jreback Could not find a test for something similar with reindex.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37720/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37720/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37720.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37720",
"merged_at": "2020-11-09T21:24:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37720.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37720"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37721
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37721/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37721/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37721/events
|
https://github.com/pandas-dev/pandas/pull/37721
| 739,326,139
|
MDExOlB1bGxSZXF1ZXN0NTE4MDA4NzI4
| 37,721
|
CLN: clean categorical indexes tests
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] | null | 1
| 2020-11-09T20:05:19Z
| 2020-11-09T22:16:17Z
| 2020-11-09T22:16:02Z
|
MEMBER
| null |
Found this while searching for other tests. Deleted code fragement was probably for ix previously.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37721/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37721/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37721.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37721",
"merged_at": "2020-11-09T22:16:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37721.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37721"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37722
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37722/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37722/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37722/events
|
https://github.com/pandas-dev/pandas/pull/37722
| 739,348,377
|
MDExOlB1bGxSZXF1ZXN0NTE4MDI3NDgx
| 37,722
|
BUG: loc.__getitem__[[na_value]] with CategoricalIndex containing NAs
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-11-09T20:41:42Z
| 2020-11-13T05:16:23Z
| 2020-11-13T05:11:47Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37722/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37722/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37722.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37722",
"merged_at": "2020-11-13T05:11:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37722.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37722"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37723
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37723/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37723/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37723/events
|
https://github.com/pandas-dev/pandas/pull/37723
| 739,360,248
|
MDExOlB1bGxSZXF1ZXN0NTE4MDM3MjU4
| 37,723
|
REF: collect boilerplate in _datetimelike_compat
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-11-09T21:02:07Z
| 2020-11-10T19:30:14Z
| 2020-11-10T03:21:39Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37723/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37723/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37723.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37723",
"merged_at": "2020-11-10T03:21:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37723.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37723"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37724
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37724/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37724/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37724/events
|
https://github.com/pandas-dev/pandas/pull/37724
| 739,367,493
|
MDExOlB1bGxSZXF1ZXN0NTE4MDQzMjg4
| 37,724
|
REF: remove Categorical._validate_listlike, unbox_listlike
|
{
"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": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-11-09T21:14:28Z
| 2020-11-10T03:43:13Z
| 2020-11-10T03:36:13Z
|
MEMBER
| null |
Getting closer to having these standardized.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37724/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37724/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37724.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37724",
"merged_at": "2020-11-10T03:36:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37724.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37724"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37725
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37725/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37725/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37725/events
|
https://github.com/pandas-dev/pandas/issues/37725
| 739,405,952
|
MDU6SXNzdWU3Mzk0MDU5NTI=
| 37,725
|
ENH: Disallow subsetting columns in groupby with axis=1
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-11-09T22:21:53Z
| 2020-11-11T02:36:21Z
| 2020-11-11T02:36:21Z
|
MEMBER
| null |
E.g.
```
df = pd.DataFrame({'A': [1], 'B': [2], 'C': [3]})
g = df.groupby([0, 0, 1], axis=1)
g[['A', 'B']].sum()
```
Other than using `.size()`, I think just about any op will raise. This can be explicitly raised with a more helpful error message when a user subsets the columns.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37725/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37725/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37726
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37726/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37726/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37726/events
|
https://github.com/pandas-dev/pandas/pull/37726
| 739,410,045
|
MDExOlB1bGxSZXF1ZXN0NTE4MDc4MzYz
| 37,726
|
TST: Add test for filling new rows through reindexing MultiIndex
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-11-09T22:29:15Z
| 2020-11-13T13:16:08Z
| 2020-11-13T05:11:10Z
|
MEMBER
| null |
- [x] closes #23693
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Issue was fixed previously
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37726/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37726/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37726.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37726",
"merged_at": "2020-11-13T05:11:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37726.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37726"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37727
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37727/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37727/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37727/events
|
https://github.com/pandas-dev/pandas/pull/37727
| 739,410,203
|
MDExOlB1bGxSZXF1ZXN0NTE4MDc4NDky
| 37,727
|
ENH: Raise when subsetting columns on groupby with axis=1
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 3
| 2020-11-09T22:29:32Z
| 2020-12-06T14:04:54Z
| 2020-11-11T02:36:21Z
|
MEMBER
| null |
- [x] closes #37725
- [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/37727/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37727/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37727.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37727",
"merged_at": "2020-11-11T02:36:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37727.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37727"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37728
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37728/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37728/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37728/events
|
https://github.com/pandas-dev/pandas/pull/37728
| 739,468,809
|
MDExOlB1bGxSZXF1ZXN0NTE4MTI2NzE2
| 37,728
|
Bug in iloc aligned objects
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 4
| 2020-11-10T00:27:19Z
| 2020-11-19T20:00:27Z
| 2020-11-19T00:22:07Z
|
MEMBER
| null |
- [x] closes #22046
- [x] closes #37593
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
If iloc should be purely position based, this PR fixes the bug described in the issue. One test depends on the wrong behavior, so I had to adjust 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/37728/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37728/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37728.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37728",
"merged_at": "2020-11-19T00:22:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37728.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37728"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37729
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37729/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37729/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37729/events
|
https://github.com/pandas-dev/pandas/pull/37729
| 739,484,940
|
MDExOlB1bGxSZXF1ZXN0NTE4MTM5MjM3
| 37,729
|
TST/REF: collect indexing tests by method
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-11-10T01:08:07Z
| 2020-11-10T03:33:24Z
| 2020-11-10T03:17:42Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37729/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37729/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37729.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37729",
"merged_at": "2020-11-10T03:17:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37729.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37729"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37730
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37730/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37730/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37730/events
|
https://github.com/pandas-dev/pandas/pull/37730
| 739,488,987
|
MDExOlB1bGxSZXF1ZXN0NTE4MTQyMzY1
| 37,730
|
TST/REF: collect/parametrize tests from tests.generic
|
{
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-11-10T01:16:38Z
| 2020-11-13T05:14:00Z
| 2020-11-13T05:10:22Z
|
MEMBER
| null |
For some of these its just breaking up big tests and giving them meaningful names.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37730/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37730/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37730.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37730",
"merged_at": "2020-11-13T05:10:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37730.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37730"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37731
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37731/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37731/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37731/events
|
https://github.com/pandas-dev/pandas/pull/37731
| 739,528,591
|
MDExOlB1bGxSZXF1ZXN0NTE4MTczMTg0
| 37,731
|
REF: use extract_array in DataFrame.combine_first
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 6
| 2020-11-10T03:03:16Z
| 2020-11-11T00:58:38Z
| 2020-11-11T00:58:34Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] 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/37731/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37731/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37731.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37731",
"merged_at": "2020-11-11T00:58:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37731.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37731"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37732
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37732/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37732/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37732/events
|
https://github.com/pandas-dev/pandas/pull/37732
| 739,552,393
|
MDExOlB1bGxSZXF1ZXN0NTE4MTkyMzUx
| 37,732
|
CLN: clean setup.py
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
}
|
[
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 4
| 2020-11-10T04:04:44Z
| 2021-01-09T17:10:58Z
| 2020-11-14T16:53:31Z
|
MEMBER
| null |
an attempt to clean setup.py
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37732/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37732/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37732.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37732",
"merged_at": "2020-11-14T16:53:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37732.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37732"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37733
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37733/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37733/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37733/events
|
https://github.com/pandas-dev/pandas/pull/37733
| 739,557,894
|
MDExOlB1bGxSZXF1ZXN0NTE4MTk2ODcx
| 37,733
|
API: consistently raise TypeError for invalid-typed fill_value
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-11-10T04:18:21Z
| 2020-11-14T04:22:12Z
| 2020-11-13T05:09:37Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
This makes us consistent about raising TypeError when passing a wrong-typed fill_value to e.g. `take`. The downside is that we changed `Categorical.take` from TypeError to ValueError back in 1.1.0 #33660, so theres a bit of whiplash.
The upside (besides this just being More Correct) is that we will be just about fully sharing setitem-like validator methods.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37733/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37733/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37733.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37733",
"merged_at": "2020-11-13T05:09:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37733.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37733"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37734
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37734/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37734/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37734/events
|
https://github.com/pandas-dev/pandas/pull/37734
| 739,607,195
|
MDExOlB1bGxSZXF1ZXN0NTE4MjM4MDkw
| 37,734
|
TST: use default_axes=True where multiple plots
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4",
"events_url": "https://api.github.com/users/ivanovmg/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanovmg/followers",
"following_url": "https://api.github.com/users/ivanovmg/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanovmg",
"id": 41443370,
"login": "ivanovmg",
"node_id": "MDQ6VXNlcjQxNDQzMzcw",
"organizations_url": "https://api.github.com/users/ivanovmg/orgs",
"received_events_url": "https://api.github.com/users/ivanovmg/received_events",
"repos_url": "https://api.github.com/users/ivanovmg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanovmg"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-11-10T06:00:23Z
| 2020-11-10T22:56:37Z
| 2020-11-10T22:56:31Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Use new kwarg ``default_axes`` in ``_check_plot_works`` (#37274), which allows one to eliminate catching warnings related to multiple subplots created.
There warnings are not related to the plotting function, but rather were caused by the ``_check_plot_works`` itself.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37734/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37734/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37734.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37734",
"merged_at": "2020-11-10T22:56:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37734.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37734"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37735
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37735/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37735/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37735/events
|
https://github.com/pandas-dev/pandas/pull/37735
| 739,610,557
|
MDExOlB1bGxSZXF1ZXN0NTE4MjQwODk5
| 37,735
|
TST: parametrize in tests/plotting/test_frame.py
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4",
"events_url": "https://api.github.com/users/ivanovmg/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanovmg/followers",
"following_url": "https://api.github.com/users/ivanovmg/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanovmg",
"id": 41443370,
"login": "ivanovmg",
"node_id": "MDQ6VXNlcjQxNDQzMzcw",
"organizations_url": "https://api.github.com/users/ivanovmg/orgs",
"received_events_url": "https://api.github.com/users/ivanovmg/received_events",
"repos_url": "https://api.github.com/users/ivanovmg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanovmg"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 6
| 2020-11-10T06:05:22Z
| 2020-11-26T03:57:10Z
| 2020-11-10T23:40:31Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Parametrize some tests in ``pandas/tests/plotting/test_frame.py``.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37735/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37735/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37735.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37735",
"merged_at": "2020-11-10T23:40:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37735.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37735"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37736
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37736/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37736/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37736/events
|
https://github.com/pandas-dev/pandas/pull/37736
| 739,636,679
|
MDExOlB1bGxSZXF1ZXN0NTE4MjYyODQz
| 37,736
|
BUG: read_html - file path cannot be pathlib.Path type
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/73203695?v=4",
"events_url": "https://api.github.com/users/inspurwusixuan/events{/privacy}",
"followers_url": "https://api.github.com/users/inspurwusixuan/followers",
"following_url": "https://api.github.com/users/inspurwusixuan/following{/other_user}",
"gists_url": "https://api.github.com/users/inspurwusixuan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/inspurwusixuan",
"id": 73203695,
"login": "inspurwusixuan",
"node_id": "MDQ6VXNlcjczMjAzNjk1",
"organizations_url": "https://api.github.com/users/inspurwusixuan/orgs",
"received_events_url": "https://api.github.com/users/inspurwusixuan/received_events",
"repos_url": "https://api.github.com/users/inspurwusixuan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/inspurwusixuan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/inspurwusixuan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/inspurwusixuan"
}
|
[
{
"color": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 5
| 2020-11-10T06:47:19Z
| 2020-11-11T19:20:38Z
| 2020-11-11T02:29:56Z
|
CONTRIBUTOR
| null |
Fix `read_html` TypeError when parsing `pathlib.Path` object.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37736/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37736/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37736.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37736",
"merged_at": "2020-11-11T02:29:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37736.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37736"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37737
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37737/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37737/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37737/events
|
https://github.com/pandas-dev/pandas/issues/37737
| 739,703,603
|
MDU6SXNzdWU3Mzk3MDM2MDM=
| 37,737
|
BUG: Output all columns even if subsetting columns after groupby
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39064543?v=4",
"events_url": "https://api.github.com/users/nagatanik/events{/privacy}",
"followers_url": "https://api.github.com/users/nagatanik/followers",
"following_url": "https://api.github.com/users/nagatanik/following{/other_user}",
"gists_url": "https://api.github.com/users/nagatanik/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nagatanik",
"id": 39064543,
"login": "nagatanik",
"node_id": "MDQ6VXNlcjM5MDY0NTQz",
"organizations_url": "https://api.github.com/users/nagatanik/orgs",
"received_events_url": "https://api.github.com/users/nagatanik/received_events",
"repos_url": "https://api.github.com/users/nagatanik/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nagatanik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nagatanik/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nagatanik"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
},
{
"color": "f2f989",
"default": false,
"description": "Data where the values are collections (lists, sets, dicts, objects, etc.).",
"id": 2189479765,
"name": "Nested Data",
"node_id": "MDU6TGFiZWwyMTg5NDc5NzY1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nested%20Data"
}
] |
open
| false
| null |
[] | null | 0
| 2020-11-10T08:36:25Z
| 2021-08-23T04:04:26Z
| null |
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Problem
I would like create a dictionary from pandas dataframe using groupby, which the key is the group which is used in pandas groupby and the value is list of the groupby output.
```python
# create a dataframe
import pandas as pd
df = pd.DataFrame({'A': [1, 2, 3], 'B': [2, 3, 4], 'C': [3, 4, 5]})
```
When subsetting a single column after groupby, it works well,
```python
# get a single column after groupby
dict(df.groupby('A')['B'].apply(list))
# output
{1: [2], 2: [3], 3: [4]}
```
but when subsetting multiple columns, it outputs the list of dataframe.columns.
```python
# get multiple columns after groupby
dict(df.groupby('A')[['B', 'C']].apply(list))
# output
{1: ['B', 'C'], 2: ['B', 'C'], 3: ['B', 'C']}
```
I checked raw output when subsetting columns after groupby and found that it outputs all columns even if subsetting columns after groupby.
```python
# get raw output when subsetting columns after groupby
list(df.groupby('A')[['B', 'C']])
# output
[(1,
A B C
0 1 2 3),
(2,
A B C
1 2 3 4),
(3,
A B C
2 3 4 5)]
```
#### Expected Output
For 1st example:
```python
# get multiple columns after groupby
dict(df.groupby('A')[['B', 'C']].apply(list))
# output
{1: [2, 3], 2: [3, 4], 3: [4, 5]}
```
And for 2nd example:
```python
# get raw output when subsetting columns after groupby
list(df.groupby('A')[['B', 'C']])
# output
[(1,
B C
0 2 3),
(2,
B C
1 3 4),
(3,
B C
2 4 5)]
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 2a7d3326dee660824a8433ffd01065f8ac37f7d6
python : 3.8.5.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-29-generic
Version : #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : None
LOCALE : en_US.UTF-8
pandas : 1.1.2
numpy : 1.19.1
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 47.1.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.18.1
pandas_datareader: None
bs4 : 4.9.3
bottleneck : None
fsspec : 0.8.4
fastparquet : 0.4.1
gcsfs : None
matplotlib : 3.3.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.16.0
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.3
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : 0.51.2
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37737/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37737/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37738
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37738/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37738/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37738/events
|
https://github.com/pandas-dev/pandas/pull/37738
| 739,793,606
|
MDExOlB1bGxSZXF1ZXN0NTE4MzkyMDcx
| 37,738
|
TYP: fix mypy ignored error in pandas/io/formats/latex.py
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4",
"events_url": "https://api.github.com/users/ivanovmg/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanovmg/followers",
"following_url": "https://api.github.com/users/ivanovmg/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanovmg",
"id": 41443370,
"login": "ivanovmg",
"node_id": "MDQ6VXNlcjQxNDQzMzcw",
"organizations_url": "https://api.github.com/users/ivanovmg/orgs",
"received_events_url": "https://api.github.com/users/ivanovmg/received_events",
"repos_url": "https://api.github.com/users/ivanovmg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanovmg"
}
|
[
{
"color": "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"
}
| 2
| 2020-11-10T10:39:33Z
| 2020-11-10T15:22:54Z
| 2020-11-10T14:49:41Z
|
MEMBER
| null |
- [ ] xref #37715
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Handle mypy ignored error in ``pandas/io/formats/latex.py``.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37738/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37738/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37738.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37738",
"merged_at": "2020-11-10T14:49:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37738.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37738"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37739
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37739/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37739/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37739/events
|
https://github.com/pandas-dev/pandas/pull/37739
| 739,805,809
|
MDExOlB1bGxSZXF1ZXN0NTE4NDAyMjMz
| 37,739
|
TYP: fix mypy ignored err in pandas/io/formats/format.py
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4",
"events_url": "https://api.github.com/users/ivanovmg/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanovmg/followers",
"following_url": "https://api.github.com/users/ivanovmg/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanovmg",
"id": 41443370,
"login": "ivanovmg",
"node_id": "MDQ6VXNlcjQxNDQzMzcw",
"organizations_url": "https://api.github.com/users/ivanovmg/orgs",
"received_events_url": "https://api.github.com/users/ivanovmg/received_events",
"repos_url": "https://api.github.com/users/ivanovmg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanovmg"
}
|
[
{
"color": "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"
}
| 4
| 2020-11-10T10:57:12Z
| 2020-12-03T07:57:38Z
| 2020-11-10T19:22:44Z
|
MEMBER
| null |
- [ ] xref #37715
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Handle ignored mypy error in ``pandas/io/formats/format.py``
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37739/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37739/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37739.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37739",
"merged_at": "2020-11-10T19:22:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37739.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37739"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37740
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37740/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37740/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37740/events
|
https://github.com/pandas-dev/pandas/pull/37740
| 739,814,049
|
MDExOlB1bGxSZXF1ZXN0NTE4NDA5MTUw
| 37,740
|
[WIP] ci testing of fixes for numpy types
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
},
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] | null | 0
| 2020-11-10T11:08:41Z
| 2020-11-10T13:21:53Z
| 2020-11-10T13:21:53Z
|
MEMBER
| null |
xref #36092
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37740/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37740/timeline
| null | 1
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37740.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37740",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37740.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37740"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37741
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37741/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37741/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37741/events
|
https://github.com/pandas-dev/pandas/pull/37741
| 739,917,640
|
MDExOlB1bGxSZXF1ZXN0NTE4NDk1ODA1
| 37,741
|
Backport PR #37661 on branch 1.1.x: BUG: RollingGroupby when groupby key is in the index
|
{
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
}
| 0
| 2020-11-10T13:39:47Z
| 2020-11-10T14:52:34Z
| 2020-11-10T14:52:29Z
|
MEMBER
| null |
Backport PR #37661
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37741/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37741/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37741.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37741",
"merged_at": "2020-11-10T14:52:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37741.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37741"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37742
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37742/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37742/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37742/events
|
https://github.com/pandas-dev/pandas/issues/37742
| 739,941,159
|
MDU6SXNzdWU3Mzk5NDExNTk=
| 37,742
|
BUG: rolling.apply() with engine="numba" causes memory leak.
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/15878087?v=4",
"events_url": "https://api.github.com/users/blackbox-tech/events{/privacy}",
"followers_url": "https://api.github.com/users/blackbox-tech/followers",
"following_url": "https://api.github.com/users/blackbox-tech/following{/other_user}",
"gists_url": "https://api.github.com/users/blackbox-tech/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/blackbox-tech",
"id": 15878087,
"login": "blackbox-tech",
"node_id": "MDQ6VXNlcjE1ODc4MDg3",
"organizations_url": "https://api.github.com/users/blackbox-tech/orgs",
"received_events_url": "https://api.github.com/users/blackbox-tech/received_events",
"repos_url": "https://api.github.com/users/blackbox-tech/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/blackbox-tech/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blackbox-tech/subscriptions",
"type": "User",
"url": "https://api.github.com/users/blackbox-tech"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-11-10T14:09:25Z
| 2020-11-14T18:36:46Z
| 2020-11-14T01:40:41Z
|
NONE
| null |
Apologies if this is a duplicate, I searched the outstanding bugs and could find this one.
I running pandas version **1.1.4** and numba version **0.51.2**
If I use the 'numba' engine in the rolling.apply() the process leaks memory.
Take this example function:
```python
def rolling_mad(values):
@nb.njit(nogil=True)
def _mad(x):
return np.fabs(x - x.mean()).mean()
df = pd.DataFrame(values)
rolling = df.rolling(180, min_periods=1, center=True)
return rolling.apply(_mad, engine="numba", raw=True).values
```
This snippet demonstrates the issue:
```python
import numpy as np
import numba as nb
import pandas as pd
import resource
values = np.random.rand(1200)
for i in range(20):
print(f"Memory usage before call {resource.getrusage(resource.RUSAGE_SELF)[2] / 1024:.3f}KB")
m = rolling_mad(values)
m = None
print(f"Memory usage after call {resource.getrusage(resource.RUSAGE_SELF)[2] / 1024:.3f}KB")
```
If I use engine == 'numba' there is a leak
```
Memory usage before call 121.801MB
Memory usage after call 148.547MB
Memory usage before call 148.547MB
Memory usage after call 149.320MB
Memory usage before call 149.320MB
Memory usage after call 151.625MB
Memory usage before call 151.625MB
Memory usage after call 155.672MB
Memory usage before call 155.672MB
Memory usage after call 159.473MB
Memory usage before call 159.473MB
Memory usage after call 159.988MB
Memory usage before call 159.988MB
Memory usage after call 161.535MB
Memory usage before call 161.535MB
Memory usage after call 162.566MB
Memory usage before call 162.566MB
Memory usage after call 163.512MB
Memory usage before call 163.512MB
Memory usage after call 164.543MB
Memory usage before call 164.543MB
Memory usage after call 165.316MB
Memory usage before call 165.316MB
Memory usage after call 167.121MB
Memory usage before call 167.121MB
Memory usage after call 169.184MB
Memory usage before call 169.184MB
Memory usage after call 169.957MB
Memory usage before call 169.957MB
Memory usage after call 170.730MB
Memory usage before call 170.730MB
Memory usage after call 171.762MB
Memory usage before call 171.762MB
Memory usage after call 172.277MB
Memory usage before call 172.277MB
Memory usage after call 173.051MB
Memory usage before call 173.051MB
Memory usage after call 174.082MB
Memory usage before call 174.082MB
Memory usage after call 177.500MB
```
However, if I do not use engine="numba" in rolling.apply() there is no memory leak.
```
Memory usage before call 121.801MB
Memory usage after call 121.801MB
Memory usage before call 121.801MB
Memory usage after call 121.801MB
Memory usage before call 121.801MB
Memory usage after call 121.801MB
Memory usage before call 121.801MB
Memory usage after call 121.801MB
Memory usage before call 121.801MB
Memory usage after call 121.801MB
Memory usage before call 121.801MB
Memory usage after call 121.801MB
Memory usage before call 121.801MB
Memory usage after call 121.801MB
Memory usage before call 121.801MB
Memory usage after call 121.801MB
Memory usage before call 121.801MB
Memory usage after call 121.801MB
Memory usage before call 121.801MB
Memory usage after call 121.801MB
Memory usage before call 121.801MB
Memory usage after call 121.801MB
Memory usage before call 121.801MB
Memory usage after call 121.801MB
Memory usage before call 121.801MB
Memory usage after call 121.801MB
Memory usage before call 121.801MB
Memory usage after call 121.801MB
Memory usage before call 121.801MB
Memory usage after call 121.801MB
Memory usage before call 121.801MB
Memory usage after call 121.801MB
Memory usage before call 121.801MB
Memory usage after call 121.801MB
Memory usage before call 121.801MB
Memory usage after call 121.801MB
Memory usage before call 121.801MB
Memory usage after call 121.801MB
Memory usage before call 121.801MB
Memory usage after call 121.801MB
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37742/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37742/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37743
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37743/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37743/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37743/events
|
https://github.com/pandas-dev/pandas/issues/37743
| 740,036,745
|
MDU6SXNzdWU3NDAwMzY3NDU=
| 37,743
|
BUG: rolling groupby does not respect min_periods when center=True
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2073227?v=4",
"events_url": "https://api.github.com/users/wfvining/events{/privacy}",
"followers_url": "https://api.github.com/users/wfvining/followers",
"following_url": "https://api.github.com/users/wfvining/following{/other_user}",
"gists_url": "https://api.github.com/users/wfvining/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wfvining",
"id": 2073227,
"login": "wfvining",
"node_id": "MDQ6VXNlcjIwNzMyMjc=",
"organizations_url": "https://api.github.com/users/wfvining/orgs",
"received_events_url": "https://api.github.com/users/wfvining/received_events",
"repos_url": "https://api.github.com/users/wfvining/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wfvining/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wfvining/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wfvining"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-11-10T16:02:40Z
| 2020-11-10T19:18:01Z
| 2020-11-10T19:18:00Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
#### Code Sample, a copy-pastable example
```python
s = pd.Series(1, index=list(range(0, 5)) * 4)
s.groupby(s.index).rolling(window=3, center=True, min_periods=1).sum()
```
Outputs:
```
0 0 2.0
0 3.0
0 3.0
0 1.0
1 1 2.0
1 3.0
1 3.0
1 1.0
2 2 2.0
2 3.0
2 3.0
2 1.0
3 3 2.0
3 3.0
3 3.0
3 1.0
4 4 2.0
4 3.0
4 3.0
4 NaN
dtype: float64
```
#### Problem description
For the given input `s`, where every element is 1, the snippet above should return the same as counting the number of values in each window:
```python
s.groupby(s.index).rolling(window=3, center=True, min_periods=1).count()
```
The output above is inconsistent with versions of pandas prior to 1.1 and is inconsistent in the semantics of `min_periods`; the first element of each group has the same number of periods as the last, but its value is computed correctly. The last element of each group is also computed incorrectly (should be 2). Finally, the last element of the final group (4) should not be NA, but should again be 2.
Some similar issues have been reported since the changes to `.groupby().rolling()` made in pandas 1.1.0.
- #36040
- #37141 might cover the same bug, but it is not immediately clear (I would also very much prefer to have this fixed in the 1.1.x line rather than wait for 1.2 and need to exclude 1.1.x in my dependencies).
#### Expected Output
```
0 0 2.0
0 3.0
0 3.0
0 2.0
1 1 2.0
1 3.0
1 3.0
1 2.0
2 2 2.0
2 3.0
2 3.0
2 2.0
3 3 2.0
3 3.0
3 3.0
3 2.0
4 4 2.0
4 3.0
4 3.0
4 2.0
dtype: float64
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3
python : 3.8.5.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.18362
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 12, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United States.1252
pandas : 1.1.4
numpy : 1.19.1
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.2
setuptools : 49.6.0.post20200814
Cython : None
pytest : 6.0.1
hypothesis : None
sphinx : 2.2.0
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : None
pandas_datareader: None
bs4 : 4.9.1
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.0
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37743/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37743/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37744
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37744/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37744/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37744/events
|
https://github.com/pandas-dev/pandas/pull/37744
| 740,074,746
|
MDExOlB1bGxSZXF1ZXN0NTE4NjI1MDMx
| 37,744
|
DOC: add hvplot
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/17162724?v=4",
"events_url": "https://api.github.com/users/raybellwaves/events{/privacy}",
"followers_url": "https://api.github.com/users/raybellwaves/followers",
"following_url": "https://api.github.com/users/raybellwaves/following{/other_user}",
"gists_url": "https://api.github.com/users/raybellwaves/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/raybellwaves",
"id": 17162724,
"login": "raybellwaves",
"node_id": "MDQ6VXNlcjE3MTYyNzI0",
"organizations_url": "https://api.github.com/users/raybellwaves/orgs",
"received_events_url": "https://api.github.com/users/raybellwaves/received_events",
"repos_url": "https://api.github.com/users/raybellwaves/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/raybellwaves/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/raybellwaves/subscriptions",
"type": "User",
"url": "https://api.github.com/users/raybellwaves"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-11-10T16:50:25Z
| 2020-11-17T22:37:44Z
| 2020-11-17T22:37:28Z
|
CONTRIBUTOR
| null |
- [x] closes #33730
- [NA] tests added / passed
- [NA] passes `black pandas`
- [NA] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [NA?] 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/37744/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37744/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37744.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37744",
"merged_at": "2020-11-17T22:37:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37744.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37744"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37745
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37745/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37745/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37745/events
|
https://github.com/pandas-dev/pandas/pull/37745
| 740,109,665
|
MDExOlB1bGxSZXF1ZXN0NTE4NjUzOTEw
| 37,745
|
TYP: follow-up to #37723
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 3
| 2020-11-10T17:37:34Z
| 2020-11-11T17:12:46Z
| 2020-11-11T17:12:32Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37745/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37745/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37745.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37745",
"merged_at": "2020-11-11T17:12:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37745.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37745"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37746
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37746/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37746/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37746/events
|
https://github.com/pandas-dev/pandas/pull/37746
| 740,130,540
|
MDExOlB1bGxSZXF1ZXN0NTE4NjcxMzAx
| 37,746
|
CI: troubleshoot windows builds
|
{
"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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "fbca04",
"default": false,
"description": "Windows OS",
"id": 57186974,
"name": "Windows",
"node_id": "MDU6TGFiZWw1NzE4Njk3NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows"
}
] |
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"
}
| 15
| 2020-11-10T18:08:19Z
| 2020-11-18T16:27:54Z
| 2020-11-18T13:55:20Z
|
MEMBER
| null |
Windows builds are still hitting what look like OOM errors. Trying splitting these into smaller pieces; its fragile.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37746/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37746/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37746.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37746",
"merged_at": "2020-11-18T13:55:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37746.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37746"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37747
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37747/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37747/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37747/events
|
https://github.com/pandas-dev/pandas/pull/37747
| 740,197,227
|
MDExOlB1bGxSZXF1ZXN0NTE4NzI2NjYz
| 37,747
|
CLN: remove unused min_count argument in libgroupby.group_nth
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
}
|
[
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 3
| 2020-11-10T19:51:16Z
| 2020-11-13T05:03:27Z
| 2020-11-13T05:03:24Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] 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/37747/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37747/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37747.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37747",
"merged_at": "2020-11-13T05:03:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37747.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37747"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37748
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37748/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37748/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37748/events
|
https://github.com/pandas-dev/pandas/issues/37748
| 740,211,174
|
MDU6SXNzdWU3NDAyMTExNzQ=
| 37,748
|
BUG: ValueError is mistakenly raised if a numpy array is assigned to a pd.Series of dtype=object and both have the same length
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45629760?v=4",
"events_url": "https://api.github.com/users/nocluebutalotofit/events{/privacy}",
"followers_url": "https://api.github.com/users/nocluebutalotofit/followers",
"following_url": "https://api.github.com/users/nocluebutalotofit/following{/other_user}",
"gists_url": "https://api.github.com/users/nocluebutalotofit/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nocluebutalotofit",
"id": 45629760,
"login": "nocluebutalotofit",
"node_id": "MDQ6VXNlcjQ1NjI5NzYw",
"organizations_url": "https://api.github.com/users/nocluebutalotofit/orgs",
"received_events_url": "https://api.github.com/users/nocluebutalotofit/received_events",
"repos_url": "https://api.github.com/users/nocluebutalotofit/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nocluebutalotofit/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nocluebutalotofit/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nocluebutalotofit"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-11-10T20:13:59Z
| 2020-12-05T17:14:04Z
| 2020-12-05T17:14:04Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
import numpy as np
pd.__version__ # '1.1.3'
pdseries = pd.Series(index=[1,2,3,4], dtype=object)
pdseries.loc[1] = np.zeros(100) # this works fine
pdseries.loc[3] = np.zeros(4) # this raises a value error because len(pdseries)==len(np.zeros(4))
```
TypeError: only size-1 arrays can be converted to Python scalars
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/daniel/.conda/envs/production_system/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 2878, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-40-460230264bf1>", line 1, in <module>
pdseries.loc[3] = np.zeros(4)
File "/Users/daniel/.conda/envs/production_system/lib/python3.7/site-packages/pandas/core/indexing.py", line 670, in __setitem__
iloc._setitem_with_indexer(indexer, value)
File "/Users/daniel/.conda/envs/production_system/lib/python3.7/site-packages/pandas/core/indexing.py", line 1802, in _setitem_with_indexer
self.obj._mgr = self.obj._mgr.setitem(indexer=indexer, value=value)
File "/Users/daniel/.conda/envs/production_system/lib/python3.7/site-packages/pandas/core/internals/managers.py", line 534, in setitem
return self.apply("setitem", indexer=indexer, value=value)
File "/Users/daniel/.conda/envs/production_system/lib/python3.7/site-packages/pandas/core/internals/managers.py", line 406, in apply
applied = getattr(b, f)(**kwargs)
File "/Users/daniel/.conda/envs/production_system/lib/python3.7/site-packages/pandas/core/internals/blocks.py", line 887, in setitem
values = values.astype(arr_value.dtype, copy=False)
ValueError: setting an array element with a sequence.
#### Problem description
It is possible to assign (numpy) arrays to elements of pandas.Series ofd type=object. Unfortunately, in case the array is of the same size as the Series a ValueError is raised.
How can one avoid this error?
#### Expected Output
The interesting thing is that the assignment takes place as expected:
In[42]: pdseries
Out[42]:
1 [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, ...
2 NaN
3 [0.0, 0.0, 0.0, 0.0]
4 NaN
One might argue that a warning could be useful but an error is misleading and tricky to debug.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : db08276bc116c438d3fdee492026f8223584c477
python : 3.7.8.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.UTF-8
pandas : 1.1.3
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.4
setuptools : 49.6.0.post20201009
Cython : 0.29.21
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : 2.8.6 (dt dec pq3 ext lo64)
jinja2 : 2.11.2
IPython : 5.8.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.2
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.2.1
sqlalchemy : 1.3.20
tables : 3.6.1
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37748/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37748/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37749
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37749/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37749/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37749/events
|
https://github.com/pandas-dev/pandas/pull/37749
| 740,293,486
|
MDExOlB1bGxSZXF1ZXN0NTE4ODA1Nzg4
| 37,749
|
BUG: Bug in loc did not change dtype when complete column was assigned
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "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": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] |
closed
| false
| null |
[] | null | 18
| 2020-11-10T22:37:04Z
| 2021-06-16T13:45:22Z
| 2021-06-16T13:45:22Z
|
MEMBER
| null |
- [x] closes #20635
- [x] closes #20511
- [x] closes #27583
- [x] closes #33198
- [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/37749/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37749/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37749.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37749",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37749.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37749"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37750
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37750/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37750/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37750/events
|
https://github.com/pandas-dev/pandas/pull/37750
| 740,298,942
|
MDExOlB1bGxSZXF1ZXN0NTE4ODEwMjAz
| 37,750
|
ENH: support Ellipsis in loc/iloc
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
}
| 18
| 2020-11-10T22:48:24Z
| 2021-10-16T15:14:09Z
| 2021-10-16T14:47:43Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
closes #10956
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37750/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37750/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37750.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37750",
"merged_at": "2021-10-16T14:47:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37750.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37750"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37751
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37751/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37751/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37751/events
|
https://github.com/pandas-dev/pandas/issues/37751
| 740,403,069
|
MDU6SXNzdWU3NDA0MDMwNjk=
| 37,751
|
November 2020 Meeting
|
{
"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": "0bbec4",
"default": false,
"description": "Community topics (meetings, etc.)",
"id": 2187005593,
"name": "Community",
"node_id": "MDU6TGFiZWwyMTg3MDA1NTkz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Community"
}
] |
closed
| false
| null |
[] | null | 4
| 2020-11-11T02:30:15Z
| 2020-12-09T17:44:07Z
| 2020-11-11T20:27:02Z
|
CONTRIBUTOR
| null |
The monthly dev meeting is Wednesday November 11th (tomorrow), at 18:00 UTC. Our calendar is at https://pandas.pydata.org/docs/development/meeting.html#calendar to check your local time. The US had a DST transition since the last meeting, so your local time may be different.
Video Call: https://zoom.us/j/942410248?pwd=T2l2Qi9vaC82Z294ZEtFczYxMVM2dz09
Minutes: https://docs.google.com/document/u/1/d/1tGbTiYORHiSPgVMXawiweGJlBw5dOkVJLY-licoBmBU/edit?ouid=102771015311436394588&usp=docs_home&ths=true
FYI, I likely won't be able to attend tomorrow.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37751/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37751/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37752
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37752/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37752/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37752/events
|
https://github.com/pandas-dev/pandas/pull/37752
| 740,412,233
|
MDExOlB1bGxSZXF1ZXN0NTE4OTA1NzE3
| 37,752
|
TST/REF: fixturize test_drop_duplicates
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-11-11T02:47:38Z
| 2020-11-12T02:19:02Z
| 2020-11-12T02:18:52Z
|
MEMBER
| null |
The datetimelike de-duplication is unrelated, just didnt seem to merit its own PR.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37752/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37752/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37752.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37752",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37752.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37752"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37753
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37753/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37753/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37753/events
|
https://github.com/pandas-dev/pandas/pull/37753
| 740,459,056
|
MDExOlB1bGxSZXF1ZXN0NTE4OTQzNjg1
| 37,753
|
DOC: troubleshoot docbuild
|
{
"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 | 2
| 2020-11-11T04:52:21Z
| 2021-11-20T23:21:13Z
| 2020-11-11T15:34:33Z
|
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/37753/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37753/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37753.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37753",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37753.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37753"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37754
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37754/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37754/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37754/events
|
https://github.com/pandas-dev/pandas/pull/37754
| 740,561,817
|
MDExOlB1bGxSZXF1ZXN0NTE5MDI5NjIw
| 37,754
|
TYP: Extend typing to allow passing dates to to_datetime
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/20811121?v=4",
"events_url": "https://api.github.com/users/aberres/events{/privacy}",
"followers_url": "https://api.github.com/users/aberres/followers",
"following_url": "https://api.github.com/users/aberres/following{/other_user}",
"gists_url": "https://api.github.com/users/aberres/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/aberres",
"id": 20811121,
"login": "aberres",
"node_id": "MDQ6VXNlcjIwODExMTIx",
"organizations_url": "https://api.github.com/users/aberres/orgs",
"received_events_url": "https://api.github.com/users/aberres/received_events",
"repos_url": "https://api.github.com/users/aberres/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/aberres/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aberres/subscriptions",
"type": "User",
"url": "https://api.github.com/users/aberres"
}
|
[
{
"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"
},
{
"color": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] |
closed
| false
| null |
[] | null | 3
| 2020-11-11T08:11:12Z
| 2021-02-11T01:40:49Z
| 2021-02-11T01:40:48Z
|
CONTRIBUTOR
| null |
Updates the typing to reflect what is already possible.
Otherwise, Pycharm is pretty unhappy when a date is pased.
- [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/37754/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37754/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37754.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37754",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37754.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37754"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37755
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37755/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37755/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37755/events
|
https://github.com/pandas-dev/pandas/issues/37755
| 740,575,040
|
MDU6SXNzdWU3NDA1NzUwNDA=
| 37,755
|
BUG: Series.groupby() fails in pandas 1.1.4 when index has tuple name.
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1082217?v=4",
"events_url": "https://api.github.com/users/burk/events{/privacy}",
"followers_url": "https://api.github.com/users/burk/followers",
"following_url": "https://api.github.com/users/burk/following{/other_user}",
"gists_url": "https://api.github.com/users/burk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/burk",
"id": 1082217,
"login": "burk",
"node_id": "MDQ6VXNlcjEwODIyMTc=",
"organizations_url": "https://api.github.com/users/burk/orgs",
"received_events_url": "https://api.github.com/users/burk/received_events",
"repos_url": "https://api.github.com/users/burk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/burk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/burk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/burk"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "8dd5fc",
"default": false,
"description": "Series data structure",
"id": 1357732944,
"name": "Series",
"node_id": "MDU6TGFiZWwxMzU3NzMyOTQ0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Series"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
] |
{
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
}
| 1
| 2020-11-11T08:34:09Z
| 2020-11-14T03:31:46Z
| 2020-11-14T03:31:46Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import pandas as pd
print("Test 1")
a = pd.Series([1,2,3,4], index=[1,1,2,2], name=("a", "a"))
a.index.name = ("b", "b")
print(a)
print(a.index)
print(a.groupby(level=0).last())
print("Test 2")
a = pd.Series([1,2,3,4], index=[2,3,4,5], name=("a", "a"))
b = pd.Series([1,1,2,2], index=[2,3,4,5], name=("b", "b"))
a.index = b.reindex(a.index)
print(a)
print(a.index)
print(a.groupby(level=0).last())
```
#### Problem description
In pandas 1.1.2 this works fine. While it crashes in pandas 1.1.4. The problem seems related to the tuple index names. The output is:
```
Test 1
(b, b)
1 1
1 2
2 3
2 4
Name: (a, a), dtype: int64
Int64Index([1, 1, 2, 2], dtype='int64', name=('b', 'b'))
Traceback (most recent call last):
File "testcase.py", line 8, in <module>
print(a.groupby(level=0).last())
File "/home/burk/.local/share/virtualenvs/timeseries-Gj3kjmJv/lib/python3.8/site-packages/pandas/core/series.py", line 1735, in groupby
return SeriesGroupBy(
File "/home/burk/.local/share/virtualenvs/timeseries-Gj3kjmJv/lib/python3.8/site-packages/pandas/core/groupby/groupby.py", line 525, in __init__
grouper, exclusions, obj = get_grouper(
File "/home/burk/.local/share/virtualenvs/timeseries-Gj3kjmJv/lib/python3.8/site-packages/pandas/core/groupby/grouper.py", line 773, in get_grouper
if is_in_obj(gpr): # df.groupby(df['name'])
File "/home/burk/.local/share/virtualenvs/timeseries-Gj3kjmJv/lib/python3.8/site-packages/pandas/core/groupby/grouper.py", line 765, in is_in_obj
return gpr is obj[gpr.name]
File "/home/burk/.local/share/virtualenvs/timeseries-Gj3kjmJv/lib/python3.8/site-packages/pandas/core/series.py", line 888, in __getitem__
result = self._get_value(key)
File "/home/burk/.local/share/virtualenvs/timeseries-Gj3kjmJv/lib/python3.8/site-packages/pandas/core/series.py", line 989, in _get_value
loc = self.index.get_loc(label)
File "/home/burk/.local/share/virtualenvs/timeseries-Gj3kjmJv/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 2895, in get_loc
return self._engine.get_loc(casted_key)
File "pandas/_libs/index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 96, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 118, in pandas._libs.index.IndexEngine._get_loc_duplicates
TypeError: only integer scalar arrays can be converted to a scalar index
```
#### Expected Output
This is the output in 1.1.2:
```
Test 1
(b, b)
1 1
1 2
2 3
2 4
Name: (a, a), dtype: int64
Int64Index([1, 1, 2, 2], dtype='int64', name=('b', 'b'))
(b, b)
1 2
2 4
Name: (a, a), dtype: int64
Test 2
(b, b)
1 1
1 2
2 3
2 4
Name: (a, a), dtype: int64
Int64Index([1, 1, 2, 2], dtype='int64', name=('b', 'b'))
(b, b)
1 2
2 4
Name: (a, a), dtype: int64
```
#### Output of ``pd.show_versions()``
<details>
>>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3
python : 3.8.6.final.0
python-bits : 64
OS : Linux
OS-release : 5.8.0-26-generic
Version : #27-Ubuntu SMP Wed Oct 21 22:29:16 UTC 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.4
numpy : 1.19.4
pytz : 2020.4
dateutil : 2.8.1
pip : 20.1.1
setuptools : 44.0.0
Cython : 0.29.17
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : 0.4.1
xlsxwriter : None
lxml.etree : 4.6.1
html5lib : 1.0.1
pymysql : None
psycopg2 : 2.8.6 (dt dec pq3 ext lo64)
jinja2 : None
IPython : 7.19.0
pandas_datareader: 0.9.0
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.2
numexpr : None
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : 2.0.0
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.20
tables : None
tabulate : 0.8.7
xarray : None
xlrd : None
xlwt : None
numba : 0.51.2
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37755/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37755/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37756
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37756/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37756/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37756/events
|
https://github.com/pandas-dev/pandas/pull/37756
| 740,606,011
|
MDExOlB1bGxSZXF1ZXN0NTE5MDY1MzY4
| 37,756
|
Revert "DOC: test organization"
|
{
"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"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-11-11T09:20:56Z
| 2020-11-11T11:49:41Z
| 2020-11-11T11:49:37Z
|
MEMBER
| null |
Reverts pandas-dev/pandas#37637
(CI is failing because of this)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37756/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37756/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37756.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37756",
"merged_at": "2020-11-11T11:49:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37756.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37756"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37757
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37757/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37757/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37757/events
|
https://github.com/pandas-dev/pandas/issues/37757
| 740,617,830
|
MDU6SXNzdWU3NDA2MTc4MzA=
| 37,757
|
BUG: csv newline \n \r\n in Window with opened file
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/18221871?v=4",
"events_url": "https://api.github.com/users/noklam/events{/privacy}",
"followers_url": "https://api.github.com/users/noklam/followers",
"following_url": "https://api.github.com/users/noklam/following{/other_user}",
"gists_url": "https://api.github.com/users/noklam/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/noklam",
"id": 18221871,
"login": "noklam",
"node_id": "MDQ6VXNlcjE4MjIxODcx",
"organizations_url": "https://api.github.com/users/noklam/orgs",
"received_events_url": "https://api.github.com/users/noklam/received_events",
"repos_url": "https://api.github.com/users/noklam/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/noklam/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/noklam/subscriptions",
"type": "User",
"url": "https://api.github.com/users/noklam"
}
|
[
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "fbca04",
"default": false,
"description": "Windows OS",
"id": 57186974,
"name": "Windows",
"node_id": "MDU6TGFiZWw1NzE4Njk3NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 10
| 2020-11-11T09:38:26Z
| 2020-11-16T11:54:33Z
| 2020-11-16T11:54:33Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
Related issue: #22497, the issues looks related, but it is 2 years old and does not have any update.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
https://github.com/noklam/fsspec_pandas_bug_demo # if you need to download the data
```python
# Your code here
import pandas as pd
import fsspec
from fsspec.implementations.local import LocalFileSystem
fs = LocalFileSystem()
df = pd.read_csv('iris.csv')
with fs.open('iris_fsspec.csv', 'w') as f:
df.to_csv(f)
df.to_csv('iris_classic_pandas.csv')
```
#### Problem description

The output csv behavior is inconsistent
#### Expected Output
Expected to have identical output.
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag]
OS: Window 10
INSTALLED VERSIONS
------------------
commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3
python : 3.8.2.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.17763
machine : AMD64
processor : Intel64 Family 6 Model 85 Stepping 4, GenuineIntel
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : English_Hong Kong SAR.1252
pandas : 1.1.4
numpy : 1.19.1
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1
setuptools : 46.3.1.post20200515
Cython : None
pytest : None
hypothesis : None
sphinx : 3.2.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10.3
IPython : 7.15.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 0.6.3
fastparquet : None
gcsfs : None
matplotlib : 3.3.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.17.1
pytables : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : 1.3.17
tables : None
tabulate : 0.8.7
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37757/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37757/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37758
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37758/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37758/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37758/events
|
https://github.com/pandas-dev/pandas/issues/37758
| 740,673,410
|
MDU6SXNzdWU3NDA2NzM0MTA=
| 37,758
|
BUG: read_fwf() does not obey skip_blank_lines
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/987145?v=4",
"events_url": "https://api.github.com/users/dnicolodi/events{/privacy}",
"followers_url": "https://api.github.com/users/dnicolodi/followers",
"following_url": "https://api.github.com/users/dnicolodi/following{/other_user}",
"gists_url": "https://api.github.com/users/dnicolodi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dnicolodi",
"id": 987145,
"login": "dnicolodi",
"node_id": "MDQ6VXNlcjk4NzE0NQ==",
"organizations_url": "https://api.github.com/users/dnicolodi/orgs",
"received_events_url": "https://api.github.com/users/dnicolodi/received_events",
"repos_url": "https://api.github.com/users/dnicolodi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dnicolodi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dnicolodi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dnicolodi"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-11-11T10:57:26Z
| 2020-11-14T20:13:01Z
| 2020-11-14T20:13:01Z
|
NONE
| null |
The `read_fwf()` function does not obey the `skip_blank_lines` argument:
```python
data = io.StringIO("""\
1 2 3
4 5 6
""")
d = pandas.read_fwf(data, header=None, colspec=[(0, 2), (2, 4), (4, 6)])
```
results in:
```
0 1 2
0 1 2 3
1 4 5 6
```
while
```python
data = io.StringIO("""\
1 2 3
4 5 6
""")
d = pandas.read_fwf(data, header=None, colspec=[(0, 2), (2, 4), (4, 6)])
```
results in
```
0 1 2
0 1.0 2.0 3.0
1 NaN NaN NaN
2 4.0 5.0 6.0
```
The `skip_blank_lines` argument defaults to `True`, but also explicitly setting it results in the same behavior. The `read_fwf()` function documentation says that it takes all arguments supported by `TextFileReader` thus this is unexpected.
I have tested this with Pandas 1.1.3 as distributed by conda, however, the relevant code does not seem to have changed on master.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37758/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37758/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37759
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37759/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37759/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37759/events
|
https://github.com/pandas-dev/pandas/issues/37759
| 740,784,290
|
MDU6SXNzdWU3NDA3ODQyOTA=
| 37,759
|
ENH: option to plot data points on top of boxplot
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2250372?v=4",
"events_url": "https://api.github.com/users/mikessut/events{/privacy}",
"followers_url": "https://api.github.com/users/mikessut/followers",
"following_url": "https://api.github.com/users/mikessut/following{/other_user}",
"gists_url": "https://api.github.com/users/mikessut/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mikessut",
"id": 2250372,
"login": "mikessut",
"node_id": "MDQ6VXNlcjIyNTAzNzI=",
"organizations_url": "https://api.github.com/users/mikessut/orgs",
"received_events_url": "https://api.github.com/users/mikessut/received_events",
"repos_url": "https://api.github.com/users/mikessut/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mikessut/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mikessut/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mikessut"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
},
{
"color": "be21f2",
"default": false,
"description": "May be closeable, needs more eyeballs",
"id": 2365504893,
"name": "Closing Candidate",
"node_id": "MDU6TGFiZWwyMzY1NTA0ODkz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 2
| 2020-11-11T13:54:41Z
| 2021-02-07T15:31:57Z
| 2021-02-07T15:31:16Z
|
NONE
| null |
#### Is your feature request related to a problem?
My longing for this feature comes from many years of using Minitab, [which has a convenient option to show individual data on boxplots](https://support.minitab.com/en-us/minitab/18/help-and-how-to/graphs/how-to/general-graph-options/display-options/boxplot/). As a result, I often find myself wanting to be able to get a better visual idea of the data distribution. The boxplot would look something like:

#### Describe the solution you'd like
```
import pandas as pd
import numpy as np
df = pd.DataFrame(np.random.randn(10,2))
df.boxplot(plot_points=True)
```
#### API breaking implications
The above implementation adds an optional parameter to boxplot function.
#### Describe alternatives you've considered
What I'm after can be accomplished by other means, for example:
https://stackoverflow.com/questions/29779079/adding-a-scatter-of-points-to-a-boxplot-using-matplotlib
I find some of these alternative methods a bit clumsy, especially when trying to interactively inspect data.
I've looked for some solution along these lines (layer a scatter plot on top of a boxplot), but haven't been able to figure out a path that works.
```
ax = df.plot(kind='box')
# This doesn't work. It requires x and y parameters to be passed. I haven't figured out a way to make categorical scatter plots.
df.plot(kind='scatter')
```
I've found a way to do it using Seaborn:
```
import seaborn as sns
df = pd.DataFrame(np.random.randn(10, 3))
df2 = df.melt()
sns.boxplot(x='variable', y='value', data=df2)
sns.stripplot(x='variable', y='value', data=df2)
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37759/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37759/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37760
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37760/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37760/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37760/events
|
https://github.com/pandas-dev/pandas/pull/37760
| 740,862,811
|
MDExOlB1bGxSZXF1ZXN0NTE5Mjc4OTUz
| 37,760
|
DOC: test organization
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 3
| 2020-11-11T15:38:45Z
| 2020-11-14T03:00:21Z
| 2020-11-14T02:56:11Z
|
MEMBER
| null |
Retry of #37637, reverted by #37756
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37760/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37760/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37760.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37760",
"merged_at": "2020-11-14T02:56:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37760.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37760"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37761
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37761/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37761/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37761/events
|
https://github.com/pandas-dev/pandas/pull/37761
| 740,895,428
|
MDExOlB1bGxSZXF1ZXN0NTE5MzA2MjEw
| 37,761
|
BUG: Bug in loc raised ValueError when setting value via boolean list
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
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"
}
| 13
| 2020-11-11T16:22:50Z
| 2021-05-25T09:34:03Z
| 2021-05-25T09:29:09Z
|
MEMBER
| null |
- [x] closes #20438
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Not quite sure if conversion to numpy array is necessary, but ``is_dtype_bool`` does not accept lists
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37761/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37761/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37761.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37761",
"merged_at": "2021-05-25T09:29:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37761.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37761"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37762
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37762/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37762/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37762/events
|
https://github.com/pandas-dev/pandas/pull/37762
| 740,980,497
|
MDExOlB1bGxSZXF1ZXN0NTE5Mzc3MDQz
| 37,762
|
BUG: clean the figure windows created by tests
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/21543236?v=4",
"events_url": "https://api.github.com/users/onshek/events{/privacy}",
"followers_url": "https://api.github.com/users/onshek/followers",
"following_url": "https://api.github.com/users/onshek/following{/other_user}",
"gists_url": "https://api.github.com/users/onshek/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/onshek",
"id": 21543236,
"login": "onshek",
"node_id": "MDQ6VXNlcjIxNTQzMjM2",
"organizations_url": "https://api.github.com/users/onshek/orgs",
"received_events_url": "https://api.github.com/users/onshek/received_events",
"repos_url": "https://api.github.com/users/onshek/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/onshek/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/onshek/subscriptions",
"type": "User",
"url": "https://api.github.com/users/onshek"
}
|
[
{
"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",
"default": false,
"description": "Unit tests that occasionally fail",
"id": 76939933,
"name": "Unreliable Test",
"node_id": "MDU6TGFiZWw3NjkzOTkzMw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unreliable%20Test"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-11-11T18:30:43Z
| 2020-11-12T16:23:53Z
| 2020-11-12T16:23:38Z
|
CONTRIBUTOR
| null |
- [x] closes #35080
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
fixed: FAILED pandas/tests/plotting/test_datetimelike.py::TestTSPlot::test_ts_plot_with_tz['UTC']
reference:
- https://github.com/pandas-dev/pandas/issues/35080#issuecomment-652988132 @StefRe as co-author (have already marked as the co-author in my forked repo, however, I'm not sure whether as well as right here)
- https://stackoverflow.com/a/8228808/7069618
- https://stackoverflow.com/a/33343289/7069618
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37762/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37762/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37762.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37762",
"merged_at": "2020-11-12T16:23:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37762.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37762"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37763
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37763/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37763/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37763/events
|
https://github.com/pandas-dev/pandas/issues/37763
| 741,022,211
|
MDU6SXNzdWU3NDEwMjIyMTE=
| 37,763
|
BUG: DataFrame.at setter of categorical DF overwrites entire row
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/30578582?v=4",
"events_url": "https://api.github.com/users/treszkai/events{/privacy}",
"followers_url": "https://api.github.com/users/treszkai/followers",
"following_url": "https://api.github.com/users/treszkai/following{/other_user}",
"gists_url": "https://api.github.com/users/treszkai/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/treszkai",
"id": 30578582,
"login": "treszkai",
"node_id": "MDQ6VXNlcjMwNTc4NTgy",
"organizations_url": "https://api.github.com/users/treszkai/orgs",
"received_events_url": "https://api.github.com/users/treszkai/received_events",
"repos_url": "https://api.github.com/users/treszkai/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/treszkai/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/treszkai/subscriptions",
"type": "User",
"url": "https://api.github.com/users/treszkai"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 8
| 2020-11-11T19:42:40Z
| 2020-11-26T18:08:12Z
| 2020-11-26T18:08:12Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
On a DataFrame with categorical dtype, `df.at[x,y] = v` sets all non-initialized values in row `x`.
#### Code Sample, a copy-pastable example
```
$ python
Python 3.8.0 (default, Oct 28 2019, 16:14:01)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
```
```python
>>> import pandas as pd
>>> pd.__version__
'1.2.0.dev0+1137.g50b34a4a8'
>>> df = pd.DataFrame(index=range(3), columns=range(3), dtype=pd.CategoricalDtype(['foo', 'bar']))
>>> df.at[1,2] = 'foo'
>>> df
0 1 2
0 NaN NaN NaN
1 foo foo foo
2 NaN NaN NaN
```
It doesn't overwrite values that have been set with `df.loc`:
```python
>>> df = pd.DataFrame(index=range(3), columns=range(3), dtype=pd.CategoricalDtype(['foo', 'bar']))
>>> df.loc[1,1] = 'bar' # not necessary, just for demo
>>> df.at[1,2] = 'foo'
>>> df
0 1 2
0 NaN NaN NaN
1 foo bar foo
2 NaN NaN NaN
```
#### Problem description
`df.at[x, y] = v` on a categorical dtype should behave as with other dtypes, and the same as `df.loc[x, y] = v`.
#### Expected Output
The same as what happens with a DF initialized with `None`s:
```python
>>> df = pd.DataFrame([[None] * 3] * 3, index=range(3), columns=range(3), dtype=pd.CategoricalDtype(['foo', 'bar']))
>>> df.loc[1,1] = 'bar'
>>> df.at[1,2] = 'foo'
>>> df
0 1 2
0 NaN NaN NaN
1 NaN bar foo
2 NaN NaN NaN
```
Or as with `dtype=float`:
```python
>>> df = pd.DataFrame(index=range(3), columns=range(3), dtype=float)
>>> df.loc[1,1] = 1
>>> df.at[1,2] = 27
>>> df
0 1 2
0 NaN NaN NaN
1 NaN 1.0 27.0
2 NaN NaN NaN
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
<ul>
<li>------------------</li>
<li>commit : 50b34a4a8008b6da24c3dac6ae6d66536e463239</li>
<li>python : 3.8.0.final.0</li>
<li>python-bits : 64</li>
<li>OS : Linux</li>
<li>OS-release : 5.4.0-52-generic</li>
<li>Version : #57~18.04.1-Ubuntu SMP Thu Oct 15 14:04:49 UTC 2020</li>
<li>machine : x86_64</li>
<li>processor : x86_64</li>
<li>byteorder : little</li>
<li>LC_ALL : None</li>
<li>LANG : en_US.UTF-8</li>
<li>LOCALE : en_US.UTF-8</li>
<li></li>
<li>pandas : 1.2.0.dev0+1137.g50b34a4a8</li>
<li>numpy : 1.19.4</li>
<li>pytz : 2020.4</li>
<li>dateutil : 2.8.1</li>
<li>pip : 20.2.4</li>
<li>setuptools : 50.3.2</li>
<li>Cython : None</li>
<li>pytest : None</li>
<li>hypothesis : None</li>
<li>sphinx : None</li>
<li>blosc : None</li>
<li>feather : None</li>
<li>xlsxwriter : None</li>
<li>lxml.etree : None</li>
<li>html5lib : None</li>
<li>pymysql : None</li>
<li>psycopg2 : None</li>
<li>jinja2 : None</li>
<li>IPython : None</li>
<li>pandas_datareader: None</li>
<li>bs4 : None</li>
<li>bottleneck : None</li>
<li>fsspec : None</li>
<li>fastparquet : None</li>
<li>gcsfs : None</li>
<li>matplotlib : None</li>
<li>numexpr : None</li>
<li>odfpy : None</li>
<li>openpyxl : None</li>
<li>pandas_gbq : None</li>
<li>pyarrow : None</li>
<li>pyxlsb : None</li>
<li>s3fs : None</li>
<li>scipy : None</li>
<li>sqlalchemy : None</li>
<li>tables : None</li>
<li>tabulate : None</li>
<li>xarray : None</li>
<li>xlrd : None</li>
<li>xlwt : None</li>
<li>numba : None</li>
</ul>
</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/37763/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37763/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37764
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37764/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37764/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37764/events
|
https://github.com/pandas-dev/pandas/pull/37764
| 741,042,022
|
MDExOlB1bGxSZXF1ZXN0NTE5NDI3OTk1
| 37,764
|
Bug in loc did not raise KeyError when missing combination with slice(None) was given
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 7
| 2020-11-11T20:17:04Z
| 2020-11-21T23:42:22Z
| 2020-11-21T22:21:04Z
|
MEMBER
| null |
- [x] closes #19556
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Additional question: When an non existent key is given for ``get_locs`` it raises a ``KeyError``. When just a missing combination of keys is given (``(b,1)`` in the new test), while the individual keys exist, an empty array is returned. Is this the expected behavior?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37764/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37764/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37764.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37764",
"merged_at": "2020-11-21T22:21:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37764.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37764"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37765
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37765/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37765/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37765/events
|
https://github.com/pandas-dev/pandas/issues/37765
| 741,047,127
|
MDU6SXNzdWU3NDEwNDcxMjc=
| 37,765
|
CI: migrate from travis-ci.org to travis-ci.com
|
{
"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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-01-20T19:40:18Z",
"closed_issues": 138,
"created_at": "2020-12-13T17:06:11Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2021-01-18T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/81",
"id": 6207963,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels",
"node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==",
"number": 81,
"open_issues": 0,
"state": "closed",
"title": "1.2.1",
"updated_at": "2021-01-20T19:40:18Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81"
}
| 11
| 2020-11-11T20:25:23Z
| 2021-01-01T22:53:51Z
| 2021-01-01T22:53:50Z
|
MEMBER
| null |
See https://docs.travis-ci.com/user/migrate/open-source-repository-migration, if we want to keep the Travis CI builds, we need to migrate to the .com version before the end of the year.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37765/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37765/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37766
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37766/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37766/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37766/events
|
https://github.com/pandas-dev/pandas/issues/37766
| 741,050,426
|
MDU6SXNzdWU3NDEwNTA0MjY=
| 37,766
|
CI/TST: read_html test_banklist_url_positional_match failing with ResourceWarning on Travis
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
}
] |
closed
| false
| null |
[] | null | 3
| 2020-11-11T20:31:18Z
| 2020-11-13T15:25:13Z
| 2020-11-12T10:25:17Z
|
MEMBER
| null |
Travis builds are recently failing, eg https://travis-ci.org/github/pandas-dev/pandas/jobs/742927007
```
=================================== FAILURES ===================================
_____________ TestReadHtml.test_banklist_url_positional_match[bs4] _____________
[gw0] linux -- Python 3.7.8 /home/travis/miniconda3/envs/pandas-dev/bin/python
self = <pandas.tests.io.test_html.TestReadHtml object at 0x7f3091661050>
@tm.network
def test_banklist_url_positional_match(self):
url = "http://www.fdic.gov/bank/individual/failed/banklist.html"
# Passing match argument as positional should cause a FutureWarning.
with tm.assert_produces_warning(FutureWarning):
df1 = self.read_html(
> url, "First Federal Bank of Florida", attrs={"id": "table"}
)
pandas/tests/io/test_html.py:130:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <contextlib._GeneratorContextManager object at 0x7f309168d4d0>
type = None, value = None, traceback = None
def __exit__(self, type, value, traceback):
if type is None:
try:
> next(self.gen)
E AssertionError: Caused unexpected warning(s): [('ResourceWarning', ResourceWarning("unclosed <ssl.SSLSocket fd=18, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.20.0.10', 43648), raddr=('172.217.212.95', 443)>"), '/home/travis/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/html5lib/treebuilders/base.py', 38), ('ResourceWarning', ResourceWarning("unclosed <ssl.SSLSocket fd=16, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.20.0.10', 43650), raddr=('172.217.212.95', 443)>"), '/home/travis/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/html5lib/treebuilders/base.py', 38), ('ResourceWarning', ResourceWarning("unclosed <ssl.SSLSocket fd=43, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.20.0.10', 43962), raddr=('172.217.214.95', 443)>"), '/home/travis/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/bs4/builder/_html5lib.py', 335), ('ResourceWarning', ResourceWarning("unclosed <ssl.SSLSocket fd=42, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.20.0.10', 46504), raddr=('74.125.124.95', 443)>"), '/home/travis/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/bs4/builder/_html5lib.py', 335), ('ResourceWarning', ResourceWarning("unclosed <ssl.SSLSocket fd=41, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.20.0.10', 46502), raddr=('74.125.124.95', 443)>"), '/home/travis/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/bs4/builder/_html5lib.py', 335), ('ResourceWarning', ResourceWarning("unclosed <ssl.SSLSocket fd=15, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.20.0.10', 43640), raddr=('172.217.212.95', 443)>"), '/home/travis/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/bs4/builder/_html5lib.py', 335)]
../../../miniconda3/envs/pandas-dev/lib/python3.7/contextlib.py:119: AssertionError
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37766/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37766/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37767
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37767/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37767/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37767/events
|
https://github.com/pandas-dev/pandas/pull/37767
| 741,063,111
|
MDExOlB1bGxSZXF1ZXN0NTE5NDQ1MjAw
| 37,767
|
CI: remove unused import
|
{
"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": "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-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-11-11T20:53:26Z
| 2020-11-11T22:20:51Z
| 2020-11-11T22:20:43Z
|
MEMBER
| null |
xref #37703
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37767/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37767/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37767.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37767",
"merged_at": "2020-11-11T22:20:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37767.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37767"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37768
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37768/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37768/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37768/events
|
https://github.com/pandas-dev/pandas/issues/37768
| 741,072,963
|
MDU6SXNzdWU3NDEwNzI5NjM=
| 37,768
|
BUG: downsampling with last doesn't accept "min_count" keyword
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/16735922?v=4",
"events_url": "https://api.github.com/users/DiSchi123/events{/privacy}",
"followers_url": "https://api.github.com/users/DiSchi123/followers",
"following_url": "https://api.github.com/users/DiSchi123/following{/other_user}",
"gists_url": "https://api.github.com/users/DiSchi123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/DiSchi123",
"id": 16735922,
"login": "DiSchi123",
"node_id": "MDQ6VXNlcjE2NzM1OTIy",
"organizations_url": "https://api.github.com/users/DiSchi123/orgs",
"received_events_url": "https://api.github.com/users/DiSchi123/received_events",
"repos_url": "https://api.github.com/users/DiSchi123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/DiSchi123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DiSchi123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/DiSchi123"
}
|
[
{
"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": "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": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 3
| 2020-11-11T21:11:02Z
| 2020-11-26T15:36:26Z
| 2020-11-26T15:36:26Z
|
NONE
| null |
I verified this on v 1.1.3. I am on miniconda, 1.1.4 is not available yet. There are ways to install probably but if I read documentation right, this feature should be around since 0.22
```
import numpy as np
import pandas as pd
index = pd.date_range(start='2020', freq='M', periods=6)
data = np.ones(6)
data[4:6] = np.nan
datetime = pd.Series(data, index)
period = datetime.to_period()
datetime
2020-01-31 1.0
2020-02-29 1.0
2020-03-31 1.0
2020-04-30 1.0
2020-05-31 NaN
2020-06-30 NaN
Freq: M, dtype: float64
```
```
datetime.resample('Q').sum(min_count=2)
2020-03-31 3.0
2020-06-30 NaN
Freq: Q-DEC, dtype: float64
```
```
datetime.resample('Q').last(min_count=3)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-5-bd5dfd934676> in <module>
----> 1 datetime.resample('Q').last(min_count=3)
~\miniconda3\lib\site-packages\pandas\core\resample.py in g(self, _method, *args, **kwargs)
933
934 def g(self, _method=method, *args, **kwargs):
--> 935 nv.validate_resampler_func(_method, args, kwargs)
936 return self._downsample(_method)
937
~\miniconda3\lib\site-packages\pandas\compat\numpy\function.py in validate_resampler_func(method, args, kwargs)
395 )
396 else:
--> 397 raise TypeError("too many arguments passed in")
398
399
TypeError: too many arguments passed in
```
#### Problem description
According to the documentation, .last() does accept the keyword "min_count", just like for example .sum()
where it works fine, see above
So I should not see the error above. The "min_count" is useful also for .last() if you have nans in your data and want to avoid the record that is not truly the last record in the segment.
Doc:
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.core.resample.Resampler.last.html#pandas.core.resample.Resampler.last)
#### Expected Output
```
2020-03-31 1.0
2020-06-30 NaN
```
#### Output of ``pd.show_versions()``
See above - verified with pd 1.1.3. I started the issue on my laptop with older pandas but finished with 1.1.3. Error message and pd.show_versions() is up to date
<details>
INSTALLED VERSIONS
------------------
commit : db08276bc116c438d3fdee492026f8223584c477
python : 3.7.6.final.0
python-bits : 64
OS : Windows
OS-release : 8.1
Version : 6.3.9600
machine : AMD64
processor : Intel64 Family 6 Model 62 Stepping 4, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 1.1.3
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.4
setuptools : 50.3.1.post20201107
Cython : None
pytest : None
hypothesis : None
sphinx : 3.2.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.19.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.1.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : None
numba : 0.49.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/37768/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37768/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37769
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37769/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37769/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37769/events
|
https://github.com/pandas-dev/pandas/pull/37769
| 741,086,944
|
MDExOlB1bGxSZXF1ZXN0NTE5NDY0MzQ0
| 37,769
|
CLN: removing imports from generic.py
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/44315225?v=4",
"events_url": "https://api.github.com/users/Mikhaylov-yv/events{/privacy}",
"followers_url": "https://api.github.com/users/Mikhaylov-yv/followers",
"following_url": "https://api.github.com/users/Mikhaylov-yv/following{/other_user}",
"gists_url": "https://api.github.com/users/Mikhaylov-yv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Mikhaylov-yv",
"id": 44315225,
"login": "Mikhaylov-yv",
"node_id": "MDQ6VXNlcjQ0MzE1MjI1",
"organizations_url": "https://api.github.com/users/Mikhaylov-yv/orgs",
"received_events_url": "https://api.github.com/users/Mikhaylov-yv/received_events",
"repos_url": "https://api.github.com/users/Mikhaylov-yv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Mikhaylov-yv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Mikhaylov-yv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Mikhaylov-yv"
}
|
[] |
closed
| false
| null |
[] | null | 2
| 2020-11-11T21:36:23Z
| 2020-11-12T22:57:44Z
| 2020-11-11T21:41:22Z
|
CONTRIBUTOR
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37769/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37769/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37769.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37769",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37769.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37769"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37770
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37770/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37770/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37770/events
|
https://github.com/pandas-dev/pandas/pull/37770
| 741,101,491
|
MDExOlB1bGxSZXF1ZXN0NTE5NDc1OTE0
| 37,770
|
TST: Isin converted floats unnecessarily to int causing rounding issues
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "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": "fef2c0",
"default": false,
"description": "isin method",
"id": 2468482981,
"name": "isin",
"node_id": "MDU6TGFiZWwyNDY4NDgyOTgx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/isin"
}
] |
closed
| false
| 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"
}
| 10
| 2020-11-11T22:03:28Z
| 2020-12-30T09:10:11Z
| 2020-12-29T23:44:28Z
|
MEMBER
| null |
- [x] closes #19356
- [x] closes #21804
- [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/37770/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37770/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37770.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37770",
"merged_at": "2020-12-29T23:44:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37770.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37770"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37771
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37771/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37771/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37771/events
|
https://github.com/pandas-dev/pandas/pull/37771
| 741,102,719
|
MDExOlB1bGxSZXF1ZXN0NTE5NDc2OTIx
| 37,771
|
Fix pivot index bug
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/37048747?v=4",
"events_url": "https://api.github.com/users/Jacob-Stevens-Haas/events{/privacy}",
"followers_url": "https://api.github.com/users/Jacob-Stevens-Haas/followers",
"following_url": "https://api.github.com/users/Jacob-Stevens-Haas/following{/other_user}",
"gists_url": "https://api.github.com/users/Jacob-Stevens-Haas/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Jacob-Stevens-Haas",
"id": 37048747,
"login": "Jacob-Stevens-Haas",
"node_id": "MDQ6VXNlcjM3MDQ4NzQ3",
"organizations_url": "https://api.github.com/users/Jacob-Stevens-Haas/orgs",
"received_events_url": "https://api.github.com/users/Jacob-Stevens-Haas/received_events",
"repos_url": "https://api.github.com/users/Jacob-Stevens-Haas/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Jacob-Stevens-Haas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jacob-Stevens-Haas/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Jacob-Stevens-Haas"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 9
| 2020-11-11T22:05:50Z
| 2020-11-14T18:46:23Z
| 2020-11-14T02:21:09Z
|
CONTRIBUTOR
| null |
Previously, the variable "cols" was created solely to concatenate
the lists "index" and "columns" when the "values" parameter was
left as None. It did so in a way that it modified the variable
passed as "index" using list.extend(), affecting the caller's
namespace.
This change simply uses an anonymous list in place of the
variable "cols"
Had some trouble setting up the dev environment to build pandas from source,
so no tests checked or docs built. However, it's fairly minor change, so hoping
that it builds green regardless...
- [X] closes #37635
- [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/37771/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37771/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37771.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37771",
"merged_at": "2020-11-14T02:21:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37771.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37771"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37772
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37772/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37772/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37772/events
|
https://github.com/pandas-dev/pandas/pull/37772
| 741,124,519
|
MDExOlB1bGxSZXF1ZXN0NTE5NDk0ODk1
| 37,772
|
Bug in __getitem__ incorrectly dropped columns for empty Series as indexer
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] | null | 10
| 2020-11-11T22:51:23Z
| 2020-11-17T23:10:42Z
| 2020-11-17T23:10:42Z
|
MEMBER
| null |
- [x] closes #19290
- [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/37772/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37772/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37772.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37772",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37772.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37772"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37773
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37773/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37773/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37773/events
|
https://github.com/pandas-dev/pandas/pull/37773
| 741,128,526
|
MDExOlB1bGxSZXF1ZXN0NTE5NDk4MDU3
| 37,773
|
TST/REF: collect Index setop, indexing tests
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-11-11T23:00:11Z
| 2020-11-13T04:53:50Z
| 2020-11-13T04:49:18Z
|
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/37773/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37773/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37773.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37773",
"merged_at": "2020-11-13T04:49:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37773.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37773"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37774
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37774/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37774/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37774/events
|
https://github.com/pandas-dev/pandas/issues/37774
| 741,154,263
|
MDU6SXNzdWU3NDExNTQyNjM=
| 37,774
|
API: should setitem-with-expansion _ever_ raise?
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
}
] |
open
| false
| null |
[] | null | 1
| 2020-11-11T23:38:09Z
| 2021-08-14T05:05:49Z
| null |
MEMBER
| null |
ATM we are pretty inconsistent as to when setitem-with-expansion raises. This boils down to idiosyncratic casting rules for `Index.insert` mentioned in today's dev call.
Examples:
```
ri = pd.Index(range(6))
ci = pd.CategoricalIndex(["a", "a", "b", "b", "c", "a"])
dti = pd.date_range("2016-01-01", periods=6)
mi = pd.MultiIndex.from_arrays([ri, dti])
ser1 = pd.Series(range(6), index=ci)
ser2 = pd.Series(range(6), index=dti)
ser3 = pd.Series(range(6), index=mi)
>>> ser1.loc["d"] = 10
ValueError: 'fill_value=d' is not present in this Categorical's categories
>>> ser2.loc[4] = 10
TypeError: value should be a 'Timestamp' or 'NaT'. Got 'int' instead.
>>> ser2.loc["foo"] = 10 # <-- casts to object
>>> ser3.loc[dti[0], dti[0]] = 10
TypeError: int() argument must be a string, a bytes-like object or a number, not 'Timestamp'
>>> ser3.loc[3, 4] = 10
TypeError: value should be a 'Timestamp' or 'NaT'. Got 'int' instead.
>>> ser3.loc[3, "a"] = 10 # <-- casts level to object
```
I see two options:
1) use consistent casting rules for new item being inserted, so allow iff dtype can be retained.
2) always cast, never raise
Option 2 seems the more user-friendly, and is necessary for e.g. some of our `crosstab` tests which insert "All". AFAICT that is why DTI/TDI have a special case casting for strings and raising for everything else.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37774/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37774/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37775
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37775/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37775/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37775/events
|
https://github.com/pandas-dev/pandas/pull/37775
| 741,155,131
|
MDExOlB1bGxSZXF1ZXN0NTE5NTIwOTU5
| 37,775
|
CLN: _get_daily_rule
|
{
"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": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-11-11T23:40:21Z
| 2020-11-13T04:49:53Z
| 2020-11-13T04:47:37Z
|
MEMBER
| null |
Broken off from branch addressing the infer_freq bug mentioned on today's dev call.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37775/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37775/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37775.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37775",
"merged_at": "2020-11-13T04:47:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37775.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37775"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37776
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37776/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37776/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37776/events
|
https://github.com/pandas-dev/pandas/pull/37776
| 741,156,555
|
MDExOlB1bGxSZXF1ZXN0NTE5NTIyMDcx
| 37,776
|
BUG: Bug in xs ignored droplevel
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-11-11T23:43:44Z
| 2020-11-14T13:08:26Z
| 2020-11-13T13:09:29Z
|
MEMBER
| null |
- [x] closes #19056
- [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/37776/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37776/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37776.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37776",
"merged_at": "2020-11-13T13:09:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37776.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37776"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37777
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37777/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37777/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37777/events
|
https://github.com/pandas-dev/pandas/pull/37777
| 741,179,781
|
MDExOlB1bGxSZXF1ZXN0NTE5NTQxMDc1
| 37,777
|
BUG: Groupby head/tail with axis=1 fails
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-11-12T00:45:27Z
| 2020-11-12T00:51:51Z
| 2020-11-12T00:51:45Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
This potentially closes #9772. The other issue there involves the perhaps unexpected fact that using `axis=1` with `groupby(...).apply` does _not_ transpose the groups that the function is going to be applied to. I've expressed my thoughts on why we should not do so in https://github.com/pandas-dev/pandas/issues/9772#issuecomment-723498819.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37777/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37777/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37777.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37777",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37777.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37777"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37778
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37778/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37778/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37778/events
|
https://github.com/pandas-dev/pandas/pull/37778
| 741,182,974
|
MDExOlB1bGxSZXF1ZXN0NTE5NTQzMzA3
| 37,778
|
BUG: Groupby head/tail with axis=1 fails
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-11-12T00:53:11Z
| 2020-12-06T14:04:57Z
| 2020-11-13T04:43:10Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This potentially closes #9772. The other issue there involves the perhaps unexpected fact that using `axis=1` with `groupby(...).apply` does _not_ transpose the groups that the function is going to be applied to. I've expressed my thoughts on why we should not do so in https://github.com/pandas-dev/pandas/issues/9772#issuecomment-723498819.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37778/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37778/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37778.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37778",
"merged_at": "2020-11-13T04:43:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37778.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37778"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37779
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37779/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37779/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37779/events
|
https://github.com/pandas-dev/pandas/issues/37779
| 741,250,103
|
MDU6SXNzdWU3NDEyNTAxMDM=
| 37,779
|
ENH: implement Series.diff for nullable dtypes
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
},
{
"color": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-11-12T03:38:36Z
| 2021-08-14T05:06:44Z
| 2021-08-14T05:06:44Z
|
MEMBER
| null |
xref https://github.com/pandas-dev/pandas/issues/28385#issuecomment-572750633
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37779/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37779/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37780
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37780/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37780/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37780/events
|
https://github.com/pandas-dev/pandas/pull/37780
| 741,250,377
|
MDExOlB1bGxSZXF1ZXN0NTE5NTk3NTI5
| 37,780
|
BUG: adding Timedelta to DatetimeIndex raising incorrectly
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
}
| 1
| 2020-11-12T03:39:27Z
| 2020-11-13T04:56:53Z
| 2020-11-13T04:40:04Z
|
MEMBER
| null |
- [x] closes #37295
- [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": 1,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37780/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37780/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37780.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37780",
"merged_at": "2020-11-13T04:40:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37780.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37780"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37781
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37781/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37781/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37781/events
|
https://github.com/pandas-dev/pandas/pull/37781
| 741,254,544
|
MDExOlB1bGxSZXF1ZXN0NTE5NjAwMzQ4
| 37,781
|
REF: simplify Block.replace
|
{
"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,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-11-12T03:49:20Z
| 2020-11-13T16:19:35Z
| 2020-11-13T13:23:38Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37781/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37781/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37781.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37781",
"merged_at": "2020-11-13T13:23:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37781.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37781"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37782
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37782/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37782/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37782/events
|
https://github.com/pandas-dev/pandas/issues/37782
| 741,375,199
|
MDU6SXNzdWU3NDEzNzUxOTk=
| 37,782
|
BUG: json_normalize cannot parse metadata fields list type
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/16943346?v=4",
"events_url": "https://api.github.com/users/sann05/events{/privacy}",
"followers_url": "https://api.github.com/users/sann05/followers",
"following_url": "https://api.github.com/users/sann05/following{/other_user}",
"gists_url": "https://api.github.com/users/sann05/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sann05",
"id": 16943346,
"login": "sann05",
"node_id": "MDQ6VXNlcjE2OTQzMzQ2",
"organizations_url": "https://api.github.com/users/sann05/orgs",
"received_events_url": "https://api.github.com/users/sann05/received_events",
"repos_url": "https://api.github.com/users/sann05/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sann05/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sann05/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sann05"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
},
{
"color": "f2f989",
"default": false,
"description": "Data where the values are collections (lists, sets, dicts, objects, etc.).",
"id": 2189479765,
"name": "Nested Data",
"node_id": "MDU6TGFiZWwyMTg5NDc5NzY1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nested%20Data"
}
] |
open
| false
| null |
[] | null | 0
| 2020-11-12T08:05:31Z
| 2021-08-14T05:07:12Z
| null |
NONE
| null |
#### Code Sample, a copy-pastable example
```python
test_data = [
{"values": [1, 2, 3], "metadata": {"listdata": [1, 2]}}]
df = json_normalize(test_data,
record_path=["values"],
meta=[["metadata", "listdata"]])
print(df)
```
#### Problem description
It throws error ```ValueError: Length of values (6) does not match length of index (3)```
Changing listdata field from `[1,2]` to `{1,2}` helped but I can't control JSON I receive.
#### Expected Output
| 0 | metadata.listdata |
|---|-------------------|
| 1 | [1, 2] |
| 2 | [1, 2] |
| 3 | [1, 2] |
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3
python : 3.6.12.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-52-generic
Version : #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.4
numpy : 1.19.4
pytz : 2020.4
dateutil : 2.8.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/37782/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37782/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37783
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37783/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37783/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37783/events
|
https://github.com/pandas-dev/pandas/issues/37783
| 741,377,007
|
MDU6SXNzdWU3NDEzNzcwMDc=
| 37,783
|
BUG: json_normalize generates ```TypeError: 'NoneType' object is not subscriptable``` as `metadata` object is not always present.
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/16943346?v=4",
"events_url": "https://api.github.com/users/sann05/events{/privacy}",
"followers_url": "https://api.github.com/users/sann05/followers",
"following_url": "https://api.github.com/users/sann05/following{/other_user}",
"gists_url": "https://api.github.com/users/sann05/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sann05",
"id": 16943346,
"login": "sann05",
"node_id": "MDQ6VXNlcjE2OTQzMzQ2",
"organizations_url": "https://api.github.com/users/sann05/orgs",
"received_events_url": "https://api.github.com/users/sann05/received_events",
"repos_url": "https://api.github.com/users/sann05/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sann05/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sann05/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sann05"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
}
] |
open
| false
| null |
[] | null | 3
| 2020-11-12T08:08:45Z
| 2021-03-24T15:27:01Z
| null |
NONE
| null |
The example below always generate an error ```TypeError: 'NoneType' object is not subscriptable``` as `metadata` object is not always present.
```
file = [{'values': ['1', '2'], 'metadata': {'name': 'first_value'}},
{'values': ['3', '4'], 'metadata': None}]
df = json_normalize(file,
record_path='values',
meta=[['metadata', 'name']],
errors='ignore')
```
The `metadata` object is dynamic and nested, so I am concerned why it doesn't generate something like this:
| 0 | metadata.name |
|---|---------------|
| 1 | first_value |
| 2 | first_value |
| 3 | nan |
| 4 | nan |
as I set ```errors='ignore' ```
@WillAyd Could you please explain the best way to handle this?
_Originally posted by @sann05 in https://github.com/pandas-dev/pandas/issues/21830#issuecomment-725439522_
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37783/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37783/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37784
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37784/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37784/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37784/events
|
https://github.com/pandas-dev/pandas/issues/37784
| 741,462,684
|
MDU6SXNzdWU3NDE0NjI2ODQ=
| 37,784
|
RLS: 1.2
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "006b75",
"default": false,
"description": null,
"id": 131473665,
"name": "Release",
"node_id": "MDU6TGFiZWwxMzE0NzM2NjU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Release"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-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"
}
| 81
| 2020-11-12T10:09:04Z
| 2021-01-19T10:29:12Z
| 2021-01-19T10:28:50Z
|
MEMBER
| null |
Tracking issue for the 1.2 release. https://github.com/pandas-dev/pandas/milestone/73
Planning a release candidate for sometime towards the end of the month, 1-2 weeks before the final release.
List of open regressions: https://github.com/pandas-dev/pandas/issues?q=is%3Aopen+is%3Aissue+label%3ARegression (includes regressions that may be included in 1.1.5)
List of open blockers: https://github.com/pandas-dev/pandas/issues?q=is%3Aopen+is%3Aissue+label%3Ablocker+
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37784/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37784/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37785
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37785/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37785/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37785/events
|
https://github.com/pandas-dev/pandas/issues/37785
| 741,539,167
|
MDU6SXNzdWU3NDE1MzkxNjc=
| 37,785
|
ENH: date_format or date_unit in to_dict
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5131271?v=4",
"events_url": "https://api.github.com/users/achapkowski/events{/privacy}",
"followers_url": "https://api.github.com/users/achapkowski/followers",
"following_url": "https://api.github.com/users/achapkowski/following{/other_user}",
"gists_url": "https://api.github.com/users/achapkowski/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/achapkowski",
"id": 5131271,
"login": "achapkowski",
"node_id": "MDQ6VXNlcjUxMzEyNzE=",
"organizations_url": "https://api.github.com/users/achapkowski/orgs",
"received_events_url": "https://api.github.com/users/achapkowski/received_events",
"repos_url": "https://api.github.com/users/achapkowski/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/achapkowski/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/achapkowski/subscriptions",
"type": "User",
"url": "https://api.github.com/users/achapkowski"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
}
] |
open
| false
| null |
[] | null | 2
| 2020-11-12T11:56:45Z
| 2021-08-14T05:09:23Z
| null |
NONE
| null |
- [x ] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions.
- [x] I have asked my usage related question on [StackOverflow](https://stackoverflow.com).
---
#### Question about pandas
Is there a way to use `to_json` but get the results as a dictionary instead of a string?
I have an ETL pipeline and Pandas gets me 99% of the way there, which is awesome, but I am encountering a snap.
The `to_json` method returns the data in the format I need, but the values are strings. Since I need to add additional information to pass on to our internal REST API, I need the ability to further manipulate the JSON. For small amounts of data, this is fine, I can use the dumps/loads methods, but for large datasets, the conversion between string <-> dict is having lots of overhead. Is there a way on `to_json` to get the response back as a dictionary instead of a string?
I've looked at the following:
- `to_records`
- `to_dict`
and a few others, but they do not have the additional options that `to_json` has.
```python
import json
json_data = data.to_json(orient='records',
date_format='epoch')
dict_json = json.loads(json_data)
dict_json[0]['other keys'] = {'some large' : 'amount of 3rd party information'}
....
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37785/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37785/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37786
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37786/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37786/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37786/events
|
https://github.com/pandas-dev/pandas/pull/37786
| 741,541,506
|
MDExOlB1bGxSZXF1ZXN0NTE5ODM2MzYx
| 37,786
|
CI/TST: use https to avoid ResourceWarning in html tests
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 4
| 2020-11-12T12:00:25Z
| 2020-11-13T16:31:05Z
| 2020-11-13T15:24:25Z
|
MEMBER
| null |
See #36467
(no idea if this would actually fix anything, just mimicking what @alimcmaster1 did in https://github.com/pandas-dev/pandas/pull/36480)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37786/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37786/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37786.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37786",
"merged_at": "2020-11-13T15:24:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37786.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37786"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37787
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37787/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37787/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37787/events
|
https://github.com/pandas-dev/pandas/pull/37787
| 741,585,104
|
MDExOlB1bGxSZXF1ZXN0NTE5ODcyMjE0
| 37,787
|
Fix regression for loc and __setitem__ when one-dimensional tuple was given for MultiIndex
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
}
| 6
| 2020-11-12T13:06:14Z
| 2020-11-14T19:06:11Z
| 2020-11-14T16:51:58Z
|
MEMBER
| null |
- [x] closes #37711
- [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/37787/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37787/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37787.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37787",
"merged_at": "2020-11-14T16:51:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37787.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37787"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37788
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37788/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37788/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37788/events
|
https://github.com/pandas-dev/pandas/pull/37788
| 741,735,434
|
MDExOlB1bGxSZXF1ZXN0NTE5OTk3MDE0
| 37,788
|
REF: implement Block._putmask_simple for non-casting putmask
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-11-12T16:19:02Z
| 2020-11-13T04:30:26Z
| 2020-11-13T04:19:52Z
|
MEMBER
| null |
Much easier to reason about than Block.putmask.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37788/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37788/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37788.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37788",
"merged_at": "2020-11-13T04:19:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37788.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37788"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37789
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37789/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37789/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37789/events
|
https://github.com/pandas-dev/pandas/pull/37789
| 741,849,341
|
MDExOlB1bGxSZXF1ZXN0NTIwMDkyMzE1
| 37,789
|
CLN: remove no-longer-reachable Block.replace code
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-11-12T19:00:19Z
| 2020-11-13T04:29:31Z
| 2020-11-13T04:18:42Z
|
MEMBER
| null |
We recently changed NDFrame.replace such that Block.replace never gets a list for `to_replace`, so this chunk of code is never reachable.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37789/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37789/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37789.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37789",
"merged_at": "2020-11-13T04:18:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37789.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37789"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37790
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37790/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37790/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37790/events
|
https://github.com/pandas-dev/pandas/pull/37790
| 741,876,833
|
MDExOlB1bGxSZXF1ZXN0NTIwMTE1NDQ1
| 37,790
|
BUG: freq inference for tz-aware DatetimeIndex
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "b60205",
"default": false,
"description": "Temporarily-closed PR the author plans to return to",
"id": 1991290519,
"name": "Mothballed",
"node_id": "MDU6TGFiZWwxOTkxMjkwNTE5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Mothballed"
}
] |
closed
| false
| null |
[] | null | 1
| 2020-11-12T19:41:53Z
| 2020-11-12T22:25:27Z
| 2020-11-12T22:25:20Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37790/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37790/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37790.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37790",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37790.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37790"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37791
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37791/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37791/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37791/events
|
https://github.com/pandas-dev/pandas/pull/37791
| 741,879,630
|
MDExOlB1bGxSZXF1ZXN0NTIwMTE3NzUx
| 37,791
|
CLN: remove unreachable in interpolate_with_fill
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-11-12T19:46:33Z
| 2020-11-13T04:28:23Z
| 2020-11-13T04:18:10Z
|
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/37791/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37791/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37791.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37791",
"merged_at": "2020-11-13T04:18:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37791.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37791"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37792
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37792/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37792/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37792/events
|
https://github.com/pandas-dev/pandas/pull/37792
| 741,880,170
|
MDExOlB1bGxSZXF1ZXN0NTIwMTE4MjA1
| 37,792
|
Remove unnecessary casts in tokenizer.c
|
{
"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": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-11-12T19:47:21Z
| 2020-11-13T13:20:15Z
| 2020-11-13T13:20:13Z
|
MEMBER
| null |
Some of these are visual clutter, some are actual bugs though in unlikely cases (see the format specifiers)
https://stackoverflow.com/questions/605845/do-i-cast-the-result-of-malloc
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37792/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37792/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37792.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37792",
"merged_at": "2020-11-13T13:20:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37792.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37792"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37793
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37793/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37793/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37793/events
|
https://github.com/pandas-dev/pandas/issues/37793
| 741,927,391
|
MDU6SXNzdWU3NDE5MjczOTE=
| 37,793
|
QST: Rolling pd.Grouper over N days
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/53350908?v=4",
"events_url": "https://api.github.com/users/mattc-eostar/events{/privacy}",
"followers_url": "https://api.github.com/users/mattc-eostar/followers",
"following_url": "https://api.github.com/users/mattc-eostar/following{/other_user}",
"gists_url": "https://api.github.com/users/mattc-eostar/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mattc-eostar",
"id": 53350908,
"login": "mattc-eostar",
"node_id": "MDQ6VXNlcjUzMzUwOTA4",
"organizations_url": "https://api.github.com/users/mattc-eostar/orgs",
"received_events_url": "https://api.github.com/users/mattc-eostar/received_events",
"repos_url": "https://api.github.com/users/mattc-eostar/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mattc-eostar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mattc-eostar/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mattc-eostar"
}
|
[
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "207de5",
"default": false,
"description": "Clarification about behavior needed to assess issue",
"id": 307649777,
"name": "Needs Info",
"node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] |
closed
| false
| null |
[] | null | 4
| 2020-11-12T21:04:59Z
| 2020-12-15T17:52:06Z
| 2020-12-15T17:52:05Z
|
NONE
| null |
Starting from a desired date in a dataframe, can we group and sum the last 30 days and compare the prior 30 day period? And it would have to be days since this calculation could be done at any point in a month.
The first option below isn't very elegant, but I think gets to the right place. The second option using pd.Grouper, but chops off values during the group and produces different results and groups to the beginning of the period.
Any suggestions? Is there another function to try? Thanks!
```python
data = pd.DataFrame({
'Timestamp': pd.date_range('8-11-2020', '10-12-20', freq='D'),
'Qty': [4, 8, 5, 0, 6, 1, 0, 5, 4, 8, 4, 4, 8, 2, 6, 5, 3, 2, 4, 8, 0, 4,
0, 9, 5, 3, 8, 2, 2, 4, 5, 7, 6, 7, 6, 5, 1, 6, 0, 1, 0, 5, 0, 2,
3, 6, 5, 2, 5, 8, 3, 7, 8, 6, 4, 5, 8, 7, 7, 5, 9, 6, 6]
})
df = data.groupby(pd.Grouper(key='Timestamp', freq='D')).sum()[['Qty']].sort_index()
df = df.rolling('30D').sum().pct_change(1, freq='30D')
df.loc['10-12-2020']['Qty']
# or...
data \
.groupby(pd.Grouper(key='Timestamp', freq='30D', label='right', closed='right')) \
.sum()[['Qty']].sort_index().pct_change()
```
Using grouper begins the grouping of the Timestamp column from the earliest date to the latest. I would want to do the opposite.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37793/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37793/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37794
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37794/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37794/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37794/events
|
https://github.com/pandas-dev/pandas/pull/37794
| 741,946,077
|
MDExOlB1bGxSZXF1ZXN0NTIwMTcyOTE1
| 37,794
|
[BUG]: Fix bug in MultiIndex.drop dropped nan when non existing key was given
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 3
| 2020-11-12T21:39:08Z
| 2020-11-18T20:37:25Z
| 2020-11-18T18:35:06Z
|
MEMBER
| null |
- [x] closes #18853
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Additional question:
The doc says (https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Index.drop.html) that ``drop`` raises when not all labels are found, but
```
pd.DataFrame(index=pd.MultiIndex.from_product([range(3), range(3)])).drop([1, 5], level=0)
```
does not raise, because ``1`` is found. Should we implement, that it raises every time when at least one of the keys is not found?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37794/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37794/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37794.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37794",
"merged_at": "2020-11-18T18:35:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37794.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37794"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37795
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37795/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37795/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37795/events
|
https://github.com/pandas-dev/pandas/issues/37795
| 741,973,858
|
MDU6SXNzdWU3NDE5NzM4NTg=
| 37,795
|
getiterator deprecated in Python 3.9; failure to call pd.read_excel()
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61543475?v=4",
"events_url": "https://api.github.com/users/zilbert97/events{/privacy}",
"followers_url": "https://api.github.com/users/zilbert97/followers",
"following_url": "https://api.github.com/users/zilbert97/following{/other_user}",
"gists_url": "https://api.github.com/users/zilbert97/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zilbert97",
"id": 61543475,
"login": "zilbert97",
"node_id": "MDQ6VXNlcjYxNTQzNDc1",
"organizations_url": "https://api.github.com/users/zilbert97/orgs",
"received_events_url": "https://api.github.com/users/zilbert97/received_events",
"repos_url": "https://api.github.com/users/zilbert97/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zilbert97/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zilbert97/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zilbert97"
}
|
[
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] |
closed
| false
| null |
[] | null | 10
| 2020-11-12T22:28:41Z
| 2021-06-23T01:30:09Z
| 2020-12-01T23:37:48Z
|
NONE
| null |
I've read here https://stackoverflow.com/a/64744395 that `getiterator` has been deprecated in Python 3.9.0. My script ran without issues until upgrading Python to 3.9, and now I get the following error:
```python
Traceback (most recent call last):
File "/Users/user/Documents/Programming/MyProject/MyProject.py", line 551, in <module>
df = pd.read_excel(excel_filename, excel_sheetname)
...
AttributeError: 'ElementTree' object has no attribute 'getiterator'
```
Running Python 3.9.0, Pandas 1.1.4
|
{
"+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/37795/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37795/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37796
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37796/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37796/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37796/events
|
https://github.com/pandas-dev/pandas/pull/37796
| 741,978,875
|
MDExOlB1bGxSZXF1ZXN0NTIwMjAwMzA4
| 37,796
|
BUG: Slicing non monotonic DatetimeIndex did not raise for non-existing keys
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 9
| 2020-11-12T22:39:07Z
| 2020-11-15T17:39:37Z
| 2020-11-15T17:39:36Z
|
MEMBER
| null |
- [x] closes #18531
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
The test for historical reasons :) failed after the change. Is this a problem?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37796/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37796/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37796.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37796",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37796.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37796"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37797
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37797/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37797/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37797/events
|
https://github.com/pandas-dev/pandas/pull/37797
| 741,990,152
|
MDExOlB1bGxSZXF1ZXN0NTIwMjA5NzQ0
| 37,797
|
TYP: fix mypy ignored error in pandas/tests/io/test_fsspec.py
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/44315225?v=4",
"events_url": "https://api.github.com/users/Mikhaylov-yv/events{/privacy}",
"followers_url": "https://api.github.com/users/Mikhaylov-yv/followers",
"following_url": "https://api.github.com/users/Mikhaylov-yv/following{/other_user}",
"gists_url": "https://api.github.com/users/Mikhaylov-yv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Mikhaylov-yv",
"id": 44315225,
"login": "Mikhaylov-yv",
"node_id": "MDQ6VXNlcjQ0MzE1MjI1",
"organizations_url": "https://api.github.com/users/Mikhaylov-yv/orgs",
"received_events_url": "https://api.github.com/users/Mikhaylov-yv/received_events",
"repos_url": "https://api.github.com/users/Mikhaylov-yv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Mikhaylov-yv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Mikhaylov-yv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Mikhaylov-yv"
}
|
[
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-11-12T23:01:09Z
| 2020-11-13T05:55:48Z
| 2020-11-13T04:30:00Z
|
CONTRIBUTOR
| null |
- [ ] xref #37715
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Handle mypy ignored error in pandas/tests/io/test_fsspec.py
Is this decision correct?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37797/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37797/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37797.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37797",
"merged_at": "2020-11-13T04:30:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37797.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37797"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37798
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37798/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37798/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37798/events
|
https://github.com/pandas-dev/pandas/pull/37798
| 742,000,738
|
MDExOlB1bGxSZXF1ZXN0NTIwMjE4NTc3
| 37,798
|
BUG: Bug in DataFrame.loc for setitem changed dtype when setting more than one column
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "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": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] |
closed
| false
| null |
[] | null | 8
| 2020-11-12T23:22:06Z
| 2021-06-16T13:44:23Z
| 2021-06-16T13:44:23Z
|
MEMBER
| null |
- [x] closes #18415
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Could not find a reason why we should convert the dtype to object, if values is already an array.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37798/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37798/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37798.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37798",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37798.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37798"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37799
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37799/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37799/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37799/events
|
https://github.com/pandas-dev/pandas/pull/37799
| 742,013,580
|
MDExOlB1bGxSZXF1ZXN0NTIwMjI5Mjg1
| 37,799
|
BUG: DataFrame.all(bool_only=True) inconsistency with object dtype
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "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": "b60205",
"default": false,
"description": "Internal Consistency of API/Behavior",
"id": 1741841389,
"name": "API - Consistency",
"node_id": "MDU6TGFiZWwxNzQxODQxMzg5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-11-12T23:52:01Z
| 2020-11-14T04:05:53Z
| 2020-11-14T02:24:11Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Discussed on the dev call yesterday.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37799/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37799/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37799.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37799",
"merged_at": "2020-11-14T02:24:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37799.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37799"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37800
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37800/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37800/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37800/events
|
https://github.com/pandas-dev/pandas/issues/37800
| 742,013,742
|
MDU6SXNzdWU3NDIwMTM3NDI=
| 37,800
|
BUG: Error raised accessing tuple value in Series when index contains duplicates
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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": "8dd5fc",
"default": false,
"description": "Series data structure",
"id": 1357732944,
"name": "Series",
"node_id": "MDU6TGFiZWwxMzU3NzMyOTQ0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Series"
}
] |
open
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 5
| 2020-11-12T23:52:27Z
| 2020-11-24T18:31:32Z
| null |
MEMBER
| null |
E.g.
```
s = pd.Series([1, 1], index=[(1, 1), (1, 1)])
s[(1, 1)]
```
raises `KeyError: (1, 1)`. Within `pandas._libs.index.IndexEngine._get_loc_duplicates`, we're using ndarray.searchsorted which interprets the tuple as an array-like of values to search for rather than a single tuple.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37800/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37800/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37801
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37801/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37801/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37801/events
|
https://github.com/pandas-dev/pandas/pull/37801
| 742,013,812
|
MDExOlB1bGxSZXF1ZXN0NTIwMjI5NDY5
| 37,801
|
REGR: SeriesGroupBy where index has a tuple name fails
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "8dd5fc",
"default": false,
"description": "Series data structure",
"id": 1357732944,
"name": "Series",
"node_id": "MDU6TGFiZWwxMzU3NzMyOTQ0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Series"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
}
| 3
| 2020-11-12T23:52:40Z
| 2020-11-24T16:55:15Z
| 2020-11-14T03:31:47Z
|
MEMBER
| null |
- [x] closes #37755
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
The groupby code that calls `Series.__getitem__` catches `KeyError` and `TypeError`. If a tuple is fed into an `Index` that is not a `MultiIndex`, we were raising a `ValueError` but `KeyError` seems more appropriate here and also fixes the regression.
While working on this, I found that we raise a `KeyError` inappropriately if an index of tuples contains duplicates, however this exists back in 1.0.x and so is not part of the regression. I've opened #37800 for this.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37801/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37801/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37801.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37801",
"merged_at": "2020-11-14T03:31:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37801.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37801"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37802
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37802/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37802/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37802/events
|
https://github.com/pandas-dev/pandas/pull/37802
| 742,015,710
|
MDExOlB1bGxSZXF1ZXN0NTIwMjMwOTk2
| 37,802
|
REF: avoid try/except in Block.where
|
{
"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,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-11-12T23:57:46Z
| 2020-11-13T16:20:31Z
| 2020-11-13T13:22:37Z
|
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/37802/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37802/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37802.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37802",
"merged_at": "2020-11-13T13:22:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37802.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37802"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37803
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37803/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37803/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37803/events
|
https://github.com/pandas-dev/pandas/pull/37803
| 742,018,585
|
MDExOlB1bGxSZXF1ZXN0NTIwMjMzMTgy
| 37,803
|
BUG: skip_blank_lines ignored by read_fwf
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/34522496?v=4",
"events_url": "https://api.github.com/users/ma3da/events{/privacy}",
"followers_url": "https://api.github.com/users/ma3da/followers",
"following_url": "https://api.github.com/users/ma3da/following{/other_user}",
"gists_url": "https://api.github.com/users/ma3da/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ma3da",
"id": 34522496,
"login": "ma3da",
"node_id": "MDQ6VXNlcjM0NTIyNDk2",
"organizations_url": "https://api.github.com/users/ma3da/orgs",
"received_events_url": "https://api.github.com/users/ma3da/received_events",
"repos_url": "https://api.github.com/users/ma3da/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ma3da/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ma3da/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ma3da"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 0
| 2020-11-13T00:05:02Z
| 2020-11-14T20:57:44Z
| 2020-11-14T20:13:01Z
|
CONTRIBUTOR
| null |
- [x] closes #37758
- [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/37803/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37803/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37803.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37803",
"merged_at": "2020-11-14T20:13:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37803.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37803"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37804
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37804/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37804/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37804/events
|
https://github.com/pandas-dev/pandas/issues/37804
| 742,119,386
|
MDU6SXNzdWU3NDIxMTkzODY=
| 37,804
|
ENH: Add 'end' option in resample's origin
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41546976?v=4",
"events_url": "https://api.github.com/users/GYHHAHA/events{/privacy}",
"followers_url": "https://api.github.com/users/GYHHAHA/followers",
"following_url": "https://api.github.com/users/GYHHAHA/following{/other_user}",
"gists_url": "https://api.github.com/users/GYHHAHA/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/GYHHAHA",
"id": 41546976,
"login": "GYHHAHA",
"node_id": "MDQ6VXNlcjQxNTQ2OTc2",
"organizations_url": "https://api.github.com/users/GYHHAHA/orgs",
"received_events_url": "https://api.github.com/users/GYHHAHA/received_events",
"repos_url": "https://api.github.com/users/GYHHAHA/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/GYHHAHA/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/GYHHAHA/subscriptions",
"type": "User",
"url": "https://api.github.com/users/GYHHAHA"
}
|
[
{
"color": "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": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2020-11-13T04:10:10Z
| 2020-12-22T14:02:49Z
| 2020-12-22T14:02:49Z
|
CONTRIBUTOR
| null |
In some cases I need to calculate the time group from the end of time series instead of the beginning.
For example, if user uses `s.resample('7min', origin='end', closed='right')` , the following expected groups are (09:23:45, 09:30:45], (09:16:45, 09:23:45], (09:09:45, 09:16:45], ... , (08:20:45, 08:27:45]. And under normal cases, `closed` should be `right` when `origin` is `end` since last value should serve as the end value of the last group.
```python
>>>idx = pd.date_range('20200101 8:26:35', '20200101 9:31:58', freq='77s')
>>>idx
DatetimeIndex(['2020-01-01 08:26:35', '2020-01-01 08:27:52',
'2020-01-01 08:29:09', '2020-01-01 08:30:26',
'2020-01-01 08:31:43', '2020-01-01 08:33:00',
... ...
'2020-01-01 09:25:37', '2020-01-01 09:26:54',
'2020-01-01 09:28:11', '2020-01-01 09:29:28',
'2020-01-01 09:30:45'],
dtype='datetime64[ns]', freq='77S')
>>>data = np.ones(len(idx))
>>>s = pd.Series(data,index=idx)
>>>s
2020-01-01 08:26:35 1.0
2020-01-01 08:27:52 1.0
2020-01-01 08:29:09 1.0
.... ...
2020-01-01 09:23:03 1.0
2020-01-01 09:24:20 1.0
2020-01-01 09:25:37 1.0
2020-01-01 09:26:54 1.0
2020-01-01 09:28:11 1.0
2020-01-01 09:29:28 1.0
2020-01-01 09:30:45 1.0
Freq: 77S, dtype: float64
```
Thus the sum operation on this resampler shows:
```python
>>>s.resample('7min', origin='end', closed='right').sum()
2020-01-01 08:27:45 1.0
2020-01-01 08:34:45 6.0
2020-01-01 08:41:45 5.0
2020-01-01 08:48:45 6.0
2020-01-01 08:55:45 5.0
2020-01-01 09:02:45 6.0
2020-01-01 09:09:45 5.0
2020-01-01 09:16:45 6.0
2020-01-01 09:23:45 5.0
2020-01-01 09:30:45 6.0
Freq: 7T, dtype: float64
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37804/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37804/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37805
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37805/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37805/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37805/events
|
https://github.com/pandas-dev/pandas/pull/37805
| 742,126,773
|
MDExOlB1bGxSZXF1ZXN0NTIwMzIxNTA0
| 37,805
|
ENH: Add end and end_day options for origin from resample
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41546976?v=4",
"events_url": "https://api.github.com/users/GYHHAHA/events{/privacy}",
"followers_url": "https://api.github.com/users/GYHHAHA/followers",
"following_url": "https://api.github.com/users/GYHHAHA/following{/other_user}",
"gists_url": "https://api.github.com/users/GYHHAHA/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/GYHHAHA",
"id": 41546976,
"login": "GYHHAHA",
"node_id": "MDQ6VXNlcjQxNTQ2OTc2",
"organizations_url": "https://api.github.com/users/GYHHAHA/orgs",
"received_events_url": "https://api.github.com/users/GYHHAHA/received_events",
"repos_url": "https://api.github.com/users/GYHHAHA/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/GYHHAHA/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/GYHHAHA/subscriptions",
"type": "User",
"url": "https://api.github.com/users/GYHHAHA"
}
|
[
{
"color": "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": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
] |
closed
| false
| null |
[] | null | 4
| 2020-11-13T04:21:35Z
| 2020-12-11T05:10:03Z
| 2020-12-11T05:10:03Z
|
CONTRIBUTOR
| null |
- [x] closes #37804
- [x] 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/37805/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37805/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37805.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37805",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37805.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37805"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37806
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37806/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37806/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37806/events
|
https://github.com/pandas-dev/pandas/pull/37806
| 742,137,140
|
MDExOlB1bGxSZXF1ZXN0NTIwMzMwMTM3
| 37,806
|
Backport PR #37780 on branch 1.1.x (BUG: adding Timedelta to DatetimeIndex raising incorrectly)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
}
| 0
| 2020-11-13T04:40:39Z
| 2020-11-13T09:04:33Z
| 2020-11-13T09:04:33Z
|
NONE
| null |
Backport PR #37780: BUG: adding Timedelta to DatetimeIndex raising incorrectly
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37806/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37806/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37806.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37806",
"merged_at": "2020-11-13T09:04:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37806.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37806"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37807
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37807/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37807/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37807/events
|
https://github.com/pandas-dev/pandas/pull/37807
| 742,140,135
|
MDExOlB1bGxSZXF1ZXN0NTIwMzMyNTE3
| 37,807
|
PERF: avoid object array cast in pd.isna
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
}
|
[
{
"color": "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": "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": false,
"description": "Performance (ASV) benchmarks",
"id": 732775912,
"name": "Benchmark",
"node_id": "MDU6TGFiZWw3MzI3NzU5MTI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark"
},
{
"color": "78bced",
"default": false,
"description": "Waiting for review/response from a maintainer.",
"id": 2324533627,
"name": "Needs Review",
"node_id": "MDU6TGFiZWwyMzI0NTMzNjI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Review"
}
] |
closed
| false
| null |
[] | null | 12
| 2020-11-13T04:48:45Z
| 2020-11-26T16:50:53Z
| 2020-11-26T16:50:53Z
|
MEMBER
| null |
- [x] closes #18856
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
#18856 is a fairly old issue about avoiding an object cast in the `_isna` method in `core/dtypes/missing.py`. AFAICT we never hit that clause in the method in our current testing suite. Modulo CI turning something up we should just delete it
Update: this *does* get hit. Looking into the ideas in #18856
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37807/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37807/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37807.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37807",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37807.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37807"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37808
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37808/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37808/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37808/events
|
https://github.com/pandas-dev/pandas/pull/37808
| 742,229,413
|
MDExOlB1bGxSZXF1ZXN0NTIwNDA3OTYx
| 37,808
|
DOC: capitalize Python as proper noun
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2754821?v=4",
"events_url": "https://api.github.com/users/erictleung/events{/privacy}",
"followers_url": "https://api.github.com/users/erictleung/followers",
"following_url": "https://api.github.com/users/erictleung/following{/other_user}",
"gists_url": "https://api.github.com/users/erictleung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/erictleung",
"id": 2754821,
"login": "erictleung",
"node_id": "MDQ6VXNlcjI3NTQ4MjE=",
"organizations_url": "https://api.github.com/users/erictleung/orgs",
"received_events_url": "https://api.github.com/users/erictleung/received_events",
"repos_url": "https://api.github.com/users/erictleung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/erictleung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/erictleung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/erictleung"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 4
| 2020-11-13T07:37:05Z
| 2020-11-14T07:08:50Z
| 2020-11-14T02:39:31Z
|
CONTRIBUTOR
| null |
- [ ] closes #xxxx
- [ ] 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/37808/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37808/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37808.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37808",
"merged_at": "2020-11-14T02:39:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37808.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37808"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37809
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37809/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37809/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37809/events
|
https://github.com/pandas-dev/pandas/pull/37809
| 742,323,033
|
MDExOlB1bGxSZXF1ZXN0NTIwNDc2MjA1
| 37,809
|
DOC add note about how to skip tests during CI
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
}
|
[] |
closed
| false
| null |
[] | null | 1
| 2020-11-13T09:55:50Z
| 2020-11-13T10:01:46Z
| 2020-11-13T10:01:46Z
|
MEMBER
| null |
Tomorrow there will be a PyDataGlobal sprint, which'll probably involve many, many documentation-related pull requests, so this might help with not using up azure pipelines resources unnecessarily
EDIT
----
doesn't seem to be working :flushed:
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37809/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37809/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37809.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37809",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/37809.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37809"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37810
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37810/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37810/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37810/events
|
https://github.com/pandas-dev/pandas/issues/37810
| 742,352,085
|
MDU6SXNzdWU3NDIzNTIwODU=
| 37,810
|
BUG: Slicing of Index with strings does not raise anymore when keys are not in Index
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 5
| 2020-11-13T10:40:20Z
| 2020-11-13T13:56:46Z
| 2020-11-13T13:56:41Z
|
MEMBER
| null |
The following
```
df2 = pd.DataFrame({"A": [1, 2, 3]}, index=['a', 'c', 'b'])
df2.loc['d':'e']
```
Should raise a ``KeyError``. This worked in the past (see #18531) but does not anymore. Question is if we should raise in ``slice_locs`` if start and end are equal or if we should do this after calling the function.
cc @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/37810/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37810/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37811
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37811/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37811/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37811/events
|
https://github.com/pandas-dev/pandas/issues/37811
| 742,414,546
|
MDU6SXNzdWU3NDI0MTQ1NDY=
| 37,811
|
BUG: rowLabels and colLabels args in pandas.plotting.table have no effect
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/71321339?v=4",
"events_url": "https://api.github.com/users/Ivan-basis/events{/privacy}",
"followers_url": "https://api.github.com/users/Ivan-basis/followers",
"following_url": "https://api.github.com/users/Ivan-basis/following{/other_user}",
"gists_url": "https://api.github.com/users/Ivan-basis/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Ivan-basis",
"id": 71321339,
"login": "Ivan-basis",
"node_id": "MDQ6VXNlcjcxMzIxMzM5",
"organizations_url": "https://api.github.com/users/Ivan-basis/orgs",
"received_events_url": "https://api.github.com/users/Ivan-basis/received_events",
"repos_url": "https://api.github.com/users/Ivan-basis/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Ivan-basis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Ivan-basis/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Ivan-basis"
}
|
[
{
"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": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] |
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"
}
| 3
| 2020-11-13T12:27:25Z
| 2020-11-16T15:14:46Z
| null |
NONE
| null |
- [ yes ] I have checked that this issue has not already been reported.
- [ yes ] I have confirmed this bug exists on the latest version of pandas.
- [ yes ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
```python
# Your code here
import pandas as pd
from matplotlib import pyplot as plt
df = pd.DataFrame({'old_title':[42,73]})
fig,ax = plt.subplots(1,1)
pd.plotting.table(ax,df, colLabels=['new_title'], loc='center')
ax.axis('off')
plt.show()
```
#### Problem description
Setting `rowLabels `or `colLabels `in `pandas.plotting.table` has no effect. I've found that the problem is in `table() `function of **pandas/plotting/_misc.py** as it returns plot_backend.table with predefined rowLabels=None, colLabels=None:
```
return plot_backend.table(
ax=ax, data=data, rowLabels=None, colLabels=None, **kwargs
)
```
It obviously should just pass `rowLabels `and `colLabels ` as is, instead.
Just replace `rowLabels=None, colLabels=None` with `rowLabels=rowLabels, colLabels=colLabels` in line 26 of _misc.py, please.
#### Expected Output
Expected output is a table with column named 'new_title' instead of 'old_title'
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3
python : 3.7.9.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19041
machine : AMD64
processor : Intel64 Family 6 Model 158 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : en
LOCALE : None.None
pandas : 1.1.4
numpy : 1.19.4
pytz : 2020.4
dateutil : 2.8.1
pip : 20.2.4
setuptools : 49.6.0.post20201009
Cython : 0.29.21
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.19.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.2
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.3
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37811/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37811/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37812
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37812/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37812/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37812/events
|
https://github.com/pandas-dev/pandas/pull/37812
| 742,418,394
|
MDExOlB1bGxSZXF1ZXN0NTIwNTU1MzM1
| 37,812
|
CI: The `set-env` and `add-path` commands are deprecated and will be disabled on November 16th.
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
}
| 2
| 2020-11-13T12:34:36Z
| 2020-11-13T16:20:36Z
| 2020-11-13T15:13:40Z
|
MEMBER
| null |
https://github.com/pandas-dev/pandas/actions/runs/361523610
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37812/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37812/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37812.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37812",
"merged_at": "2020-11-13T15:13:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37812.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37812"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37813
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37813/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37813/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37813/events
|
https://github.com/pandas-dev/pandas/issues/37813
| 742,556,876
|
MDU6SXNzdWU3NDI1NTY4NzY=
| 37,813
|
DOC: corrupted function signatures on stable
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/41443370?v=4",
"events_url": "https://api.github.com/users/ivanovmg/events{/privacy}",
"followers_url": "https://api.github.com/users/ivanovmg/followers",
"following_url": "https://api.github.com/users/ivanovmg/following{/other_user}",
"gists_url": "https://api.github.com/users/ivanovmg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivanovmg",
"id": 41443370,
"login": "ivanovmg",
"node_id": "MDQ6VXNlcjQxNDQzMzcw",
"organizations_url": "https://api.github.com/users/ivanovmg/orgs",
"received_events_url": "https://api.github.com/users/ivanovmg/received_events",
"repos_url": "https://api.github.com/users/ivanovmg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivanovmg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivanovmg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivanovmg"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
}
| 5
| 2020-11-13T15:53:33Z
| 2020-11-26T12:55:34Z
| 2020-11-26T12:55:34Z
|
MEMBER
| null |
#### Location of the documentation
Stable (v1.1.4) docs.
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_parquet.html
#### Documentation problem
On stable (v1.1.4) there are corrupted function signatures in docs for these functions at least.
- pandas.DataFrame.to_stata
- pandas.DataFrame.to_feather
- pandas.DataFrame.to_parquet

Instead of named arguments followed by kwargs there are only kwargs.
There is no such problem on dev docs.
For example, here https://pandas.pydata.org/docs/dev/reference/api/pandas.DataFrame.to_parquet.html?highlight=to_parquet#pandas.DataFrame.to_parquet
#### Suggested fix for documentation
I though that probably decorator ``deprecate_kwargs`` was causing problems (the functions concerned are decorated),
but there is no such problem on dev docs, so the reason is not clear to me.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37813/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37813/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/37814
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37814/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37814/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37814/events
|
https://github.com/pandas-dev/pandas/pull/37814
| 742,578,135
|
MDExOlB1bGxSZXF1ZXN0NTIwNjc4NjE1
| 37,814
|
Backport PR #37812 on branch 1.1.x (CI: The `set-env` and `add-path` commands are deprecated and will be disabled on November 16th.)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-08T12:11:38Z",
"closed_issues": 81,
"created_at": "2020-10-29T13:43:23Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.1.x",
"due_on": "2020-12-07T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/79",
"id": 6047124,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels",
"node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==",
"number": 79,
"open_issues": 0,
"state": "closed",
"title": "1.1.5",
"updated_at": "2020-12-08T12:11:38Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79"
}
| 0
| 2020-11-13T16:21:17Z
| 2020-11-13T18:43:40Z
| 2020-11-13T18:43:40Z
|
NONE
| null |
Backport PR #37812: CI: The `set-env` and `add-path` commands are deprecated and will be disabled on November 16th.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37814/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37814/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37814.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37814",
"merged_at": "2020-11-13T18:43:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37814.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37814"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37815
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37815/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37815/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37815/events
|
https://github.com/pandas-dev/pandas/pull/37815
| 742,600,652
|
MDExOlB1bGxSZXF1ZXN0NTIwNjk0MTg1
| 37,815
|
REF: define nanargminmax without values_for_argsort
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 10
| 2020-11-13T16:49:20Z
| 2020-12-01T07:31:33Z
| 2020-11-14T17:49:30Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37815/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37815/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37815.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37815",
"merged_at": "2020-11-14T17:49:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37815.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37815"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37816
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37816/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37816/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37816/events
|
https://github.com/pandas-dev/pandas/pull/37816
| 742,644,932
|
MDExOlB1bGxSZXF1ZXN0NTIwNzI5MjE2
| 37,816
|
TYP: copy method of EAs
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
},
{
"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"
}
| 0
| 2020-11-13T17:40:38Z
| 2020-11-14T09:35:48Z
| 2020-11-14T02:20:11Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37816/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37816/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37816.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37816",
"merged_at": "2020-11-14T02:20:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37816.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37816"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/37817
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37817/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37817/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37817/events
|
https://github.com/pandas-dev/pandas/pull/37817
| 742,693,998
|
MDExOlB1bGxSZXF1ZXN0NTIwNzcwNzA3
| 37,817
|
TYP: _concat_same_type method of EA
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 2
| 2020-11-13T18:35:17Z
| 2020-11-15T11:36:16Z
| 2020-11-14T16:54:28Z
|
MEMBER
| null |
some overlap with #37816
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37817/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37817/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37817.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37817",
"merged_at": "2020-11-14T16:54:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37817.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37817"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37818
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/37818/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37818/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/37818/events
|
https://github.com/pandas-dev/pandas/pull/37818
| 742,721,896
|
MDExOlB1bGxSZXF1ZXN0NTIwNzk1NzAx
| 37,818
|
ENH: storage_options for to_excel
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4",
"events_url": "https://api.github.com/users/twoertwein/events{/privacy}",
"followers_url": "https://api.github.com/users/twoertwein/followers",
"following_url": "https://api.github.com/users/twoertwein/following{/other_user}",
"gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/twoertwein",
"id": 6618166,
"login": "twoertwein",
"node_id": "MDQ6VXNlcjY2MTgxNjY=",
"organizations_url": "https://api.github.com/users/twoertwein/orgs",
"received_events_url": "https://api.github.com/users/twoertwein/received_events",
"repos_url": "https://api.github.com/users/twoertwein/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions",
"type": "User",
"url": "https://api.github.com/users/twoertwein"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 5
| 2020-11-13T19:06:20Z
| 2020-11-14T18:47:34Z
| 2020-11-14T17:05:51Z
|
CONTRIBUTOR
| null |
- [ ] ref #33987 (follow up to #37639)
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry: not added, already implied in whatsnew of #37639?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/37818/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/37818/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/37818.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/37818",
"merged_at": "2020-11-14T17:05:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/37818.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37818"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.