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/39019
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39019/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39019/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39019/events
|
https://github.com/pandas-dev/pandas/pull/39019
| 781,413,797
|
MDExOlB1bGxSZXF1ZXN0NTUxMTQxNTQ3
| 39,019
|
DOC: np.bool -> np.bool_
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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"
}
| 5
| 2021-01-07T15:52:25Z
| 2021-01-07T18:59:32Z
| 2021-01-07T18:47:08Z
|
MEMBER
| null |
xref #34848, #34835
a couple missed that are causing doc build failures with numpy-1.20.0rc2, https://github.com/pandas-dev/pandas/pull/36092/checks?check_run_id=1662818738
probably want to backport this to prevent possible future ci failures
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39019/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39019/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39019.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39019",
"merged_at": "2021-01-07T18:47:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39019.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39019"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39020
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39020/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39020/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39020/events
|
https://github.com/pandas-dev/pandas/pull/39020
| 781,529,502
|
MDExOlB1bGxSZXF1ZXN0NTUxMjM2OTI5
| 39,020
|
Backport PR #39019 on branch 1.2.x (DOC: np.bool -> np.bool_)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-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"
}
| 1
| 2021-01-07T18:48:43Z
| 2021-01-07T21:23:37Z
| 2021-01-07T21:23:37Z
|
NONE
| null |
Backport PR #39019: DOC: np.bool -> np.bool_
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39020/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39020/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39020.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39020",
"merged_at": "2021-01-07T21:23:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39020.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39020"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39021
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39021/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39021/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39021/events
|
https://github.com/pandas-dev/pandas/pull/39021
| 781,529,725
|
MDExOlB1bGxSZXF1ZXN0NTUxMjM3MTA5
| 39,021
|
Backport PR #38997 on branch 1.2.x (REGR: errors='replace' when encoding/errors are not specified)
|
{
"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": "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": "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"
}
| 0
| 2021-01-07T18:49:07Z
| 2021-01-07T21:23:21Z
| 2021-01-07T21:23:20Z
|
NONE
| null |
Backport PR #38997: REGR: errors='replace' when encoding/errors are not specified
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39021/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39021/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39021.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39021",
"merged_at": "2021-01-07T21:23:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39021.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39021"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39022
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39022/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39022/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39022/events
|
https://github.com/pandas-dev/pandas/pull/39022
| 781,539,337
|
MDExOlB1bGxSZXF1ZXN0NTUxMjQ0ODY4
| 39,022
|
Deprecate DataFrame indexer for iloc setitem and getitem
|
{
"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": "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"
}
| 18
| 2021-01-07T19:05:34Z
| 2021-03-04T21:59:03Z
| 2021-03-02T23:22:00Z
|
MEMBER
| null |
- [x] closes #39004
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39022/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39022/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39022.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39022",
"merged_at": "2021-03-02T23:21:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39022.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39022"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39023
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39023/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39023/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39023/events
|
https://github.com/pandas-dev/pandas/pull/39023
| 781,554,182
|
MDExOlB1bGxSZXF1ZXN0NTUxMjU3MTI5
| 39,023
|
Fix regression in setitem when expanding DataFrame with specific column name format
|
{
"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"
}
] |
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"
}
| 8
| 2021-01-07T19:30:03Z
| 2021-01-08T08:41:05Z
| 2021-01-08T00:19:44Z
|
MEMBER
| null |
- [x] closes #39010
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
We obviously want cast to object if value is string.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39023/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39023/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39023.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39023",
"merged_at": "2021-01-08T00:19:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39023.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39023"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39024
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39024/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39024/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39024/events
|
https://github.com/pandas-dev/pandas/issues/39024
| 781,560,705
|
MDU6SXNzdWU3ODE1NjA3MDU=
| 39,024
|
BUG: read_csv - file left open after UnicodeDecodeError when sep=None
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/4071255?v=4",
"events_url": "https://api.github.com/users/davemfish/events{/privacy}",
"followers_url": "https://api.github.com/users/davemfish/followers",
"following_url": "https://api.github.com/users/davemfish/following{/other_user}",
"gists_url": "https://api.github.com/users/davemfish/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davemfish",
"id": 4071255,
"login": "davemfish",
"node_id": "MDQ6VXNlcjQwNzEyNTU=",
"organizations_url": "https://api.github.com/users/davemfish/orgs",
"received_events_url": "https://api.github.com/users/davemfish/received_events",
"repos_url": "https://api.github.com/users/davemfish/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davemfish/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davemfish/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davemfish"
}
|
[
{
"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": "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"
}
| 3
| 2021-01-07T19:40:37Z
| 2021-01-13T18:03:45Z
| 2021-01-13T18:03:45Z
|
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 tempfile
import textwrap
import pandas
import os
workspace_dir = tempfile.mkdtemp()
csv_file = os.path.join(workspace_dir, 'non-utf8.csv')
# encode with ISO Cyrillic, include a non-ASCII character to achieve UnicodeDecodeError
with open(csv_file, 'w', encoding='iso8859_5') as file_obj:
file_obj.write(textwrap.dedent(
"""
header,
fЮЮ,
bar
"""
).strip())
try:
dataframe = pandas.read_csv(csv_file, sep=None)
except UnicodeDecodeError as error:
os.remove(csv_file)
raise
```
#### Problem description
`os.remove` raises a PermissionError on Windows because apparently the file handle is still open. This only happens when the `sep=None` kwarg is used. Leaving out that kwarg gets the expected output.
#### Expected Output
```python
Traceback (most recent call last):
File "..\scratch\pandas_file_handle.py", line 19, in <module>
dataframe = pandas.read_csv(csv_file, sep=None)
File "C:\Users\dmf\projects\invest\env\lib\site-packages\pandas\io\parsers.py", line 605, in read_csv
return _read(filepath_or_buffer, kwds)
File "C:\Users\dmf\projects\invest\env\lib\site-packages\pandas\io\parsers.py", line 457, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "C:\Users\dmf\projects\invest\env\lib\site-packages\pandas\io\parsers.py", line 814, in __init__
self._engine = self._make_engine(self.engine)
File "C:\Users\dmf\projects\invest\env\lib\site-packages\pandas\io\parsers.py", line 1045, in _make_engine
return mapping[engine](self.f, **self.options) # type: ignore[call-arg]
File "C:\Users\dmf\projects\invest\env\lib\site-packages\pandas\io\parsers.py", line 2291, in __init__
self._make_reader(self.handles.handle)
File "C:\Users\dmf\projects\invest\env\lib\site-packages\pandas\io\parsers.py", line 2412, in _make_reader
line = f.readline()
File "C:\Users\dmf\projects\invest\env\lib\codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xce in position 10: invalid continuation byte
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.7.9.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19041
machine : AMD64
processor : AMD64 Family 23 Model 1 Stepping 1, AuthenticAMD
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : None.None
pandas : 1.2.0
numpy : 1.19.2
pytz : 2020.5
dateutil : 2.8.1
pip : 20.2.4
setuptools : 49.6.0.post20201009
Cython : 0.29.21
pytest : 6.1.1
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 : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
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/39024/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39024/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39025
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39025/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39025/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39025/events
|
https://github.com/pandas-dev/pandas/issues/39025
| 781,589,850
|
MDU6SXNzdWU3ODE1ODk4NTA=
| 39,025
|
BUG: Missing keys using aggregation dictionary that are unsortable raise TypeError instead of SpecificationError
|
{
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "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": "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"
}
| 2
| 2021-01-07T20:30:39Z
| 2021-01-08T23:17:59Z
| 2021-01-08T23:17:59Z
|
MEMBER
| null |
- [ ] I have checked that this issue has not already been reported.
- [ ] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
>>> import numpy as np
>>> import pandas as pd
>>>
>>> pd.__version__
'1.3.0.dev0+358.g68db2d26dd'
>>>
>>> df = pd.DataFrame(
... np.random.randn(1000, 3),
... index=pd.date_range("1/1/2012", freq="S", periods=1000),
... columns=[1, "foo", None],
... )
>>> r = df.resample("3T")
>>> r.agg({1: "mean", "foo": "sum"})
1 foo
2012-01-01 00:00:00 -0.070340 9.142790
2012-01-01 00:03:00 -0.048538 31.041777
2012-01-01 00:06:00 -0.058046 -0.394660
2012-01-01 00:09:00 0.014268 -8.947485
2012-01-01 00:12:00 0.040080 -6.869409
2012-01-01 00:15:00 0.020587 0.225159
>>>
>>> r.agg({2: "mean", "bar": "sum"})
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\simon\pandas\pandas\core\resample.py", line 298, in aggregate
result, how = aggregate(self, func, *args, **kwargs)
File "C:\Users\simon\pandas\pandas\core\aggregation.py", line 566, in aggregate
return agg_dict_like(obj, arg, _axis), True
File "C:\Users\simon\pandas\pandas\core\aggregation.py", line 741, in agg_dict_like
cols = sorted(set(keys) - set(selected_obj.columns.intersection(keys)))
TypeError: '<' not supported between instances of 'str' and 'int'
>>>
>>> df = pd.DataFrame(
... np.random.randn(1000, 3),
... index=pd.date_range("1/1/2012", freq="S", periods=1000),
... columns=["A", "B", "C"],
... )
>>>
>>> r = df.resample("3T")
>>> r.agg({"r1": "mean", "r2": "sum"})
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\simon\pandas\pandas\core\resample.py", line 298, in aggregate
result, how = aggregate(self, func, *args, **kwargs)
File "C:\Users\simon\pandas\pandas\core\aggregation.py", line 566, in aggregate
return agg_dict_like(obj, arg, _axis), True
File "C:\Users\simon\pandas\pandas\core\aggregation.py", line 742, in agg_dict_like
raise SpecificationError(f"Column(s) {cols} do not exist")
pandas.core.base.SpecificationError: Column(s) ['r1', 'r2'] do not exist
>>>
```
code sample based on test_agg_consistency in pandas/tests/resample/test_resample_api.py
#### Problem description
with mypy 0.790
pandas/core/aggregation.py:741: error: Value of type variable "_LT" of "sorted" cannot be "Optional[Hashable]" [type-var]
#### Expected Output
pandas.core.base.SpecificationError: Column(s) [2, 'bar'] do not exist
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag]
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39025/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39025/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39026
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39026/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39026/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39026/events
|
https://github.com/pandas-dev/pandas/pull/39026
| 781,628,504
|
MDExOlB1bGxSZXF1ZXN0NTUxMzE4MDIz
| 39,026
|
TYP/CLN: Use futures annotations in apply
|
{
"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": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-01-07T21:39:52Z
| 2021-01-09T01:57:48Z
| 2021-01-08T13:09:00Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39026/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39026/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39026.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39026",
"merged_at": "2021-01-08T13:09:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39026.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39026"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39027
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39027/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39027/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39027/events
|
https://github.com/pandas-dev/pandas/pull/39027
| 781,631,210
|
MDExOlB1bGxSZXF1ZXN0NTUxMzIwMTQ2
| 39,027
|
REF: make FreqGroup an Enum
|
{
"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": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-01-07T21:44:54Z
| 2021-01-08T15:53:46Z
| 2021-01-08T14:11:22Z
|
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/39027/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39027/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39027.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39027",
"merged_at": "2021-01-08T14:11:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39027.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39027"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/39028
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39028/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39028/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39028/events
|
https://github.com/pandas-dev/pandas/pull/39028
| 781,638,674
|
MDExOlB1bGxSZXF1ZXN0NTUxMzI2MzAw
| 39,028
|
BUG: Resample.aggregate raising TypeError instead of SpecificationError with missing keys dtypes
|
{
"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": "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": "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"
}
| 6
| 2021-01-07T21:58:05Z
| 2021-01-08T23:18:38Z
| 2021-01-08T23:17:59Z
|
MEMBER
| null |
- [x] closes #39025
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39028/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39028/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39028.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39028",
"merged_at": "2021-01-08T23:17:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39028.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39028"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39029
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39029/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39029/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39029/events
|
https://github.com/pandas-dev/pandas/pull/39029
| 781,647,839
|
MDExOlB1bGxSZXF1ZXN0NTUxMzM0MDMw
| 39,029
|
BUG: read_csv does not close file during an error in _make_reader
|
{
"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": "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": "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"
}
| 9
| 2021-01-07T22:14:19Z
| 2021-01-14T11:05:23Z
| 2021-01-13T18:03:45Z
|
CONTRIBUTOR
| null |
- [x] closes #39024
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
I don't understand why `td.check_file_leaks` doesn't complain about the left opened file (at least for me locally). I commented the close call on purpose to see whether the test fails at least for the CI.
@jbrockmendel I think you have debugged ResourceWarnings in the past. Do you know why the test doesn't fail? Even putting a `open("foo", mode="w")` in the test doesn't make it fail.
[The test case is different from #39024 but the symptoms are the same. Unless the except clause is narrowed down to specific exceptions, this PR will fix #39024]
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39029/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39029/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39029.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39029",
"merged_at": "2021-01-13T18:03:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39029.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39029"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39030
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39030/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39030/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39030/events
|
https://github.com/pandas-dev/pandas/pull/39030
| 781,709,761
|
MDExOlB1bGxSZXF1ZXN0NTUxMzkwODMy
| 39,030
|
CLN: add typing to dtype arg in core/internals, core/reshape and core (GH38808)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4",
"events_url": "https://api.github.com/users/avinashpancham/events{/privacy}",
"followers_url": "https://api.github.com/users/avinashpancham/followers",
"following_url": "https://api.github.com/users/avinashpancham/following{/other_user}",
"gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/avinashpancham",
"id": 44933366,
"login": "avinashpancham",
"node_id": "MDQ6VXNlcjQ0OTMzMzY2",
"organizations_url": "https://api.github.com/users/avinashpancham/orgs",
"received_events_url": "https://api.github.com/users/avinashpancham/received_events",
"repos_url": "https://api.github.com/users/avinashpancham/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions",
"type": "User",
"url": "https://api.github.com/users/avinashpancham"
}
|
[
{
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-01-07T23:30:44Z
| 2021-01-08T23:09:19Z
| 2021-01-08T23:09:18Z
|
CONTRIBUTOR
| null |
incremental PR for issue #38808
- [ ] closes #xxxx
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39030/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39030/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39030.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39030",
"merged_at": "2021-01-08T23:09:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39030.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39030"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39031
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39031/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39031/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39031/events
|
https://github.com/pandas-dev/pandas/issues/39031
| 781,732,258
|
MDU6SXNzdWU3ODE3MzIyNTg=
| 39,031
|
pd.read_parquet causing Python to crash
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5205428?v=4",
"events_url": "https://api.github.com/users/scottmsul/events{/privacy}",
"followers_url": "https://api.github.com/users/scottmsul/followers",
"following_url": "https://api.github.com/users/scottmsul/following{/other_user}",
"gists_url": "https://api.github.com/users/scottmsul/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/scottmsul",
"id": 5205428,
"login": "scottmsul",
"node_id": "MDQ6VXNlcjUyMDU0Mjg=",
"organizations_url": "https://api.github.com/users/scottmsul/orgs",
"received_events_url": "https://api.github.com/users/scottmsul/received_events",
"repos_url": "https://api.github.com/users/scottmsul/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/scottmsul/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/scottmsul/subscriptions",
"type": "User",
"url": "https://api.github.com/users/scottmsul"
}
|
[
{
"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": "fbca04",
"default": false,
"description": "Windows OS",
"id": 57186974,
"name": "Windows",
"node_id": "MDU6TGFiZWw1NzE4Njk3NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows"
},
{
"color": "5319e7",
"default": false,
"description": "parquet, feather",
"id": 685114413,
"name": "IO Parquet",
"node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet"
}
] |
open
| false
| null |
[] | null | 4
| 2021-01-07T23:57:21Z
| 2021-08-14T23:29:00Z
| null |
NONE
| null |
These are the commands I ran in IPython:
```
In [1]: import pandas as pd
In [2]: df = pd.DataFrame(data={'x': [1,2,3]})
In [3]: df.to_parquet('test.parquet')
In [4]: with open('test.parquet', 'rb') as f:
...: df2 = pd.read_parquet(f)
...:
```
At which point it exits IPython without displaying an error or stacktrace. Maybe this is some kind of segfault? It also fails when running from a script, and also when reading from a BytesIO instead of a file.
This is using pandas==1.2.0, pyarrow==2.0.0, and Python 3.7.3. Also this was run in Windows from Powershell.
If it helps, this is the output from `pd.show_versions()`:
```
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.7.3.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.17763
machine : AMD64
processor : Intel64 Family 6 Model 45 Stepping 7, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 1.2.0
numpy : 1.19.4
pytz : 2020.5
dateutil : 2.8.1
pip : 20.3.3
setuptools : 51.1.0.post20201221
Cython : 0.29.14
pytest : None
hypothesis : None
sphinx : 2.0.0
blosc : None
feather : None
xlsxwriter : 1.1.5
lxml.etree : 4.4.2
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.4.0
pandas_datareader: None
bs4 : 4.7.1
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.1.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 2.0.0
pyxlsb : None
s3fs : None
scipy : 1.3.1
sqlalchemy : 1.3.2
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39031/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39031/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39032
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39032/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39032/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39032/events
|
https://github.com/pandas-dev/pandas/pull/39032
| 781,741,977
|
MDExOlB1bGxSZXF1ZXN0NTUxNDIwMDgy
| 39,032
|
Backport PR #39023 on branch 1.2.x (Fix regression in setitem when expanding DataFrame with specific column name format)
|
{
"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": "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-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"
}
| 0
| 2021-01-08T00:20:10Z
| 2021-01-08T01:14:21Z
| 2021-01-08T01:14:21Z
|
NONE
| null |
Backport PR #39023: Fix regression in setitem when expanding DataFrame with specific column name format
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39032/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39032/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39032.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39032",
"merged_at": "2021-01-08T01:14:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39032.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39032"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39033
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39033/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39033/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39033/events
|
https://github.com/pandas-dev/pandas/issues/39033
| 781,809,650
|
MDU6SXNzdWU3ODE4MDk2NTA=
| 39,033
|
BUG: tm.assert_produces_warnings(None) failing to 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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions 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": "f2f074",
"default": false,
"description": "Warnings that appear or should be added to pandas",
"id": 1628184320,
"name": "Warnings",
"node_id": "MDU6TGFiZWwxNjI4MTg0MzIw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Warnings"
}
] |
open
| false
| null |
[] | null | 4
| 2021-01-08T03:16:35Z
| 2021-01-26T16:07:50Z
| null |
MEMBER
| null |
in tests.indexes.interval.test_constructors test_constructor_dtype if we disable the tm.assert_produces_warning and instead run pytest with `-W error`:
```
pytest pandas/tests/indexes/interval/test_constructors.py -k test_constructor_dtype -W error
FAILED pandas/tests/indexes/interval/test_constructors.py::TestFromArrays::test_constructor_dtype[breaks4-int64] - FutureWarning: casting datetime64[ns] values to int6...
FAILED pandas/tests/indexes/interval/test_constructors.py::TestFromArrays::test_constructor_dtype[breaks5-int64] - FutureWarning: casting timedelta64[ns] values to int...
FAILED pandas/tests/indexes/interval/test_constructors.py::TestFromBreaks::test_constructor_dtype[breaks4-int64] - FutureWarning: casting datetime64[ns] values to int6...
FAILED pandas/tests/indexes/interval/test_constructors.py::TestFromBreaks::test_constructor_dtype[breaks5-int64] - FutureWarning: casting timedelta64[ns] values to int...
FAILED pandas/tests/indexes/interval/test_constructors.py::TestFromTuples::test_constructor_dtype[breaks4-int64] - FutureWarning: casting datetime64[ns] values to int6...
FAILED pandas/tests/indexes/interval/test_constructors.py::TestFromTuples::test_constructor_dtype[breaks5-int64] - FutureWarning: casting timedelta64[ns] values to int...
FAILED pandas/tests/indexes/interval/test_constructors.py::TestClassConstructors::test_constructor_dtype[IntervalIndex-breaks4-int64] - FutureWarning: casting datetime...
FAILED pandas/tests/indexes/interval/test_constructors.py::TestClassConstructors::test_constructor_dtype[IntervalIndex-breaks5-int64] - FutureWarning: casting timedelt...
FAILED pandas/tests/indexes/interval/test_constructors.py::TestClassConstructors::test_constructor_dtype[Index-breaks4-int64] - FutureWarning: casting datetime64[ns] v...
FAILED pandas/tests/indexes/interval/test_constructors.py::TestClassConstructors::test_constructor_dtype[Index-breaks5-int64] - FutureWarning: casting timedelta64[ns] ...
```
we're passing kwargs to `pd.Index.__new__` which is deprecated.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39033/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39033/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39034
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39034/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39034/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39034/events
|
https://github.com/pandas-dev/pandas/pull/39034
| 781,839,589
|
MDExOlB1bGxSZXF1ZXN0NTUxNTAwODY4
| 39,034
|
TST: flesh out EA setitem tests
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-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"
}
| 1
| 2021-01-08T04:44:42Z
| 2021-01-08T15:51:42Z
| 2021-01-08T14:12:27Z
|
MEMBER
| null |
Preliminary to fixing some behavior that these hit
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39034/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39034/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39034.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39034",
"merged_at": "2021-01-08T14:12:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39034.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39034"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39035
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39035/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39035/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39035/events
|
https://github.com/pandas-dev/pandas/pull/39035
| 781,978,512
|
MDExOlB1bGxSZXF1ZXN0NTUxNjE3MDYw
| 39,035
|
API: concatting DataFrames does not skip empty objects
|
{
"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": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 4
| 2021-01-08T09:28:29Z
| 2021-01-12T08:36:34Z
| 2021-01-08T15:58:27Z
|
MEMBER
| null |
See discussion in https://github.com/pandas-dev/pandas/pull/38843
To repeat the main argument: when not skipping empty objects, the resulting dtype of a concat-operation only depends on the input *dtypes*, and not on the exact content (the exact values, how many values (shape)). In general we want to get rid of value-dependent behaviour. In the past we discussed this in the context of the certain values (eg presence of NaNs or not), but I think also the shape should not matter (eg when slicing dataframes before contatting, you can get empties or not depending on *values*).
This starts with reverting the change for DataFrame. If we opt for this behaviour, in addition we should also discuss how to change the Series behaviour.
cc @jbrockmendel
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39035/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39035/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39035.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39035",
"merged_at": "2021-01-08T15:58:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39035.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39035"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39036
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39036/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39036/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39036/events
|
https://github.com/pandas-dev/pandas/pull/39036
| 782,086,004
|
MDExOlB1bGxSZXF1ZXN0NTUxNzA2MzA1
| 39,036
|
CLN, TYP use from __future__ import annotations
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 3
| 2021-01-08T12:30:21Z
| 2021-01-10T13:59:02Z
| 2021-01-08T13:23:38Z
|
MEMBER
| null |
Seeing as pandas is Python3.7+ we can clean up some annotations. Not yet figured out how to write a good automated check for this, but here's a start
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39036/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39036/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39036.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39036",
"merged_at": "2021-01-08T13:23:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39036.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39036"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39037
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39037/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39037/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39037/events
|
https://github.com/pandas-dev/pandas/issues/39037
| 782,099,666
|
MDU6SXNzdWU3ODIwOTk2NjY=
| 39,037
|
REGR: concat of unaligned empty DataFrames failing
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 5
| 2021-01-08T12:55:29Z
| 2021-05-28T19:05:48Z
| 2021-05-28T19:05:48Z
|
MEMBER
| null |
While trying to get dask's CI passing (https://github.com/dask/dask/pull/6996/), I noticed another error related to concat. Dask concatenates the empty "meta" dataframe to know the shape/dtypes of the resulting dataframe, and something is failing in there now.
Small reproducer without dask:
```python
>>> df1 = pd.DataFrame({'a': [1, 2, 3], 'b': [4, 5, 6]})
>>> df2 = pd.DataFrame({'b': [1, 2, 3], 'c': [4, 5, 6]})
>>> pd.concat([df1[0:0], df2[0:0], df1[0:0]])
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-151-b1206da866d9> in <module>
----> 1 pd.concat([df1[0:0], df2[0:0], df1[0:0]])
~/scipy/pandas/pandas/core/reshape/concat.py in concat(objs, axis, join, ignore_index, keys, levels, names, verify_integrity, sort, copy)
297 )
298
--> 299 return op.get_result()
300
301
~/scipy/pandas/pandas/core/reshape/concat.py in get_result(self)
518
519 new_data = concatenate_block_managers(
--> 520 mgrs_indexers, self.new_axes, concat_axis=self.bm_axis, copy=self.copy
521 )
522 if not self.copy:
~/scipy/pandas/pandas/core/internals/concat.py in concatenate_block_managers(mgrs_indexers, axes, concat_axis, copy)
89 else:
90 b = make_block(
---> 91 _concatenate_join_units(join_units, concat_axis, copy=copy),
92 placement=placement,
93 ndim=len(axes),
~/scipy/pandas/pandas/core/internals/concat.py in _concatenate_join_units(join_units, concat_axis, copy)
325 join_units = nonempties
326
--> 327 empty_dtype, upcasted_na = _get_empty_dtype_and_na(join_units)
328
329 to_concat = [
~/scipy/pandas/pandas/core/internals/concat.py in _get_empty_dtype_and_na(join_units)
436
437 msg = "invalid dtype determination in get_concat_dtype"
--> 438 raise AssertionError(msg)
439
440
AssertionError: invalid dtype determination in get_concat_dtype
```
It occurs when reindexing happens (not fully aligned dataframes), and apparently at least 3 dataframes are needed to trigger it (the same example with only 2 dataframes passed to concat doesn't fail).
I suppose this might be related to https://github.com/pandas-dev/pandas/pull/38843 (change only on master, so not a target for 1.2.1) cc @jbrockmendel
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39037/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39037/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39038
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39038/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39038/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39038/events
|
https://github.com/pandas-dev/pandas/issues/39038
| 782,153,435
|
MDU6SXNzdWU3ODIxNTM0MzU=
| 39,038
|
BUG: Setting closed='neither' for rolling function of Series leads to mean() producing nan values
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/66360968?v=4",
"events_url": "https://api.github.com/users/Safeturn/events{/privacy}",
"followers_url": "https://api.github.com/users/Safeturn/followers",
"following_url": "https://api.github.com/users/Safeturn/following{/other_user}",
"gists_url": "https://api.github.com/users/Safeturn/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Safeturn",
"id": 66360968,
"login": "Safeturn",
"node_id": "MDQ6VXNlcjY2MzYwOTY4",
"organizations_url": "https://api.github.com/users/Safeturn/orgs",
"received_events_url": "https://api.github.com/users/Safeturn/received_events",
"repos_url": "https://api.github.com/users/Safeturn/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Safeturn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Safeturn/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Safeturn"
}
|
[
{
"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 | 2
| 2021-01-08T14:23:25Z
| 2021-01-11T07:31:23Z
| 2021-01-11T07:31:23Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x ] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import numpy as np
import pandas as pd
series = pd.Series(np.arange(20), index=pd.date_range("2018-01-01", periods=20, freq="M"))
series.rolling(window=5, closed='neither').mean()
```
#### Problem description
In the current version of pandas, the call to mean() produces a series of nan-values. For pandas 1.1.5, the output was different providing valid values starting from the fifth entry of the series.
#### Expected Output
2018-01-31 NaN
2018-02-28 NaN
2018-03-31 NaN
2018-04-30 NaN
2018-05-31 2.0
2018-06-30 3.0
2018-07-31 4.0
2018-08-31 5.0
2018-09-30 6.0
2018-10-31 7.0
2018-11-30 8.0
2018-12-31 9.0
2019-01-31 10.0
2019-02-28 11.0
2019-03-31 12.0
2019-04-30 13.0
2019-05-31 14.0
2019-06-30 15.0
2019-07-31 16.0
2019-08-31 17.0
Freq: M, dtype: float64
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.8.5.final.0
python-bits : 64
OS : Linux
OS-release : 4.19.128-microsoft-standard
Version : #1 SMP Tue Jun 23 12:58:10 UTC 2020
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : C.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.2.0
numpy : 1.19.5
pytz : 2020.5
dateutil : 2.8.1
pip : 20.2.3
setuptools : 50.3.0
Cython : 0.29.17
pytest : 6.0.2
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.18.1
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.6.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/39038/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39038/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39039
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39039/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39039/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39039/events
|
https://github.com/pandas-dev/pandas/issues/39039
| 782,319,082
|
MDU6SXNzdWU3ODIzMTkwODI=
| 39,039
|
API/BUG: pd.array(float_ndarray_with_nans) casts np.nan to pd.NA
|
{
"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": "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"
},
{
"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": "be21f2",
"default": false,
"description": "May be closeable, needs more eyeballs",
"id": 2365504893,
"name": "Closing Candidate",
"node_id": "MDU6TGFiZWwyMzY1NTA0ODkz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate"
}
] |
closed
| false
| null |
[] | null | 7
| 2021-01-08T18:35:53Z
| 2021-08-15T02:43:37Z
| 2021-08-15T02:43:37Z
|
MEMBER
| null |
I was under the impression we meant to keep these as distinct concepts
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39039/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39039/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39040
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39040/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39040/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39040/events
|
https://github.com/pandas-dev/pandas/pull/39040
| 782,343,218
|
MDExOlB1bGxSZXF1ZXN0NTUxOTE2MTU4
| 39,040
|
BUG: DataFrame.iloc.__setitem__ with IntegerArray values
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "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": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-01-08T19:23:03Z
| 2021-01-09T23:27:40Z
| 2021-01-09T22:26:22Z
|
MEMBER
| null |
- [x] closes #38952
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39040/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39040/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39040.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39040",
"merged_at": "2021-01-09T22:26:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39040.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39040"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39041
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39041/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39041/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39041/events
|
https://github.com/pandas-dev/pandas/issues/39041
| 782,354,795
|
MDU6SXNzdWU3ODIzNTQ3OTU=
| 39,041
|
BUG: pandas v1.2 read_csv crashes when reading a large CSV
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/40178166?v=4",
"events_url": "https://api.github.com/users/gmanlan/events{/privacy}",
"followers_url": "https://api.github.com/users/gmanlan/followers",
"following_url": "https://api.github.com/users/gmanlan/following{/other_user}",
"gists_url": "https://api.github.com/users/gmanlan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gmanlan",
"id": 40178166,
"login": "gmanlan",
"node_id": "MDQ6VXNlcjQwMTc4MTY2",
"organizations_url": "https://api.github.com/users/gmanlan/orgs",
"received_events_url": "https://api.github.com/users/gmanlan/received_events",
"repos_url": "https://api.github.com/users/gmanlan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gmanlan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gmanlan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gmanlan"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"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"
}
] |
closed
| false
| null |
[] | null | 18
| 2021-01-08T19:45:49Z
| 2021-05-08T22:01:34Z
| 2021-05-08T22:01:34Z
|
NONE
| null |
#### Environment
OS: Windows 10
Python version: 3.7.8 (64 bit)
#### Problem description
Pandas 1.2 fails to read a large CSV (1.6GB), crashing the python process with exit code 0xC0000005. This issue is IDE agnostic, as it happens when running python from the console as well (no IDE).
- The CSV is quite simple, 7M rows x 100 columns with all integer values (1 or 0).
- Adding/changing/removing encoding doesn't change the crash behavior. Using engine='python' works fine, so it's just the C one that is breaking.
- Downgraded to pandas 1.1.4 and it works as expected, so the problem relies with pandas v1.2 only.
```python
df = pd.read_csv('large_file.csv')
or
df = pd.read_csv('large_file.csv', encoding='utf-8')
```
#### Expected Output:
It should be able to read a large CSV file. I have tried with a smaller CSV (400Mb) and it works fine. So the issue materializes only when the CSV is large (maybe > 1.5GB?).
#### Current Output
```
Process finished with exit code 0xC0000005
```
#### Area where the process exits and debugging can't continue:
File: parsers.py
```python
def read(self, nrows=None):
try:
data = self._reader.read(nrows) <---
except StopIteration:
```
#### pd.show_versions()
pandas : 1.2.0
numpy : 1.19.5
pytz : 2020.5
dateutil : 2.8.1
pip : 20.3.3
setuptools : 51.1.1
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.6.0
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39041/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39041/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39042
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39042/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39042/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39042/events
|
https://github.com/pandas-dev/pandas/pull/39042
| 782,407,195
|
MDExOlB1bGxSZXF1ZXN0NTUxOTY4OTY0
| 39,042
|
REF: Prep for moving Series.apply into apply
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-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"
}
| 2
| 2021-01-08T21:31:27Z
| 2021-01-09T01:57:25Z
| 2021-01-08T23:08:21Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
Will be moving Series.apply into apply next. The plan is to have a base class Apply which is parent to both FrameApply and SeriesApply.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39042/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39042/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39042.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39042",
"merged_at": "2021-01-08T23:08:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39042.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39042"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39043
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39043/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39043/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39043/events
|
https://github.com/pandas-dev/pandas/pull/39043
| 782,430,023
|
MDExOlB1bGxSZXF1ZXN0NTUxOTg4NTA2
| 39,043
|
CI: use conda incubator in benchmarks
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 8
| 2021-01-08T22:17:36Z
| 2021-03-18T16:37:14Z
| 2021-01-14T19:14:50Z
|
MEMBER
| null |
The benchmark ci currently has the longest runtime. Using conda incubator would save about 6-8 min.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39043/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39043/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39043.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39043",
"merged_at": "2021-01-14T19:14:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39043.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39043"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39044
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39044/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39044/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39044/events
|
https://github.com/pandas-dev/pandas/pull/39044
| 782,435,460
|
MDExOlB1bGxSZXF1ZXN0NTUxOTkyNzgy
| 39,044
|
BUG/API: make setitem-inplace preserve dtype when possible with PandasArray, IntegerArray, FloatingArray
|
{
"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": "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": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 6
| 2021-01-08T22:30:49Z
| 2021-07-16T16:08:40Z
| 2021-02-18T00:15:28Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
xref #38896 (doesn't close). In general `df[:, "A"] = foo` tries to operate in-place before falling back to casting. This makes sure we do that when `foo` is a `PandasArray`, `IntegerArray`, or `FloatingArray`
I guess could/should do the same for BooleanArray
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39044/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39044/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39044.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39044",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39044.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39044"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39045
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39045/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39045/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39045/events
|
https://github.com/pandas-dev/pandas/pull/39045
| 782,449,195
|
MDExOlB1bGxSZXF1ZXN0NTUyMDA0MTIw
| 39,045
|
Update awkward phrasing
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8271268?v=4",
"events_url": "https://api.github.com/users/davidschlachter/events{/privacy}",
"followers_url": "https://api.github.com/users/davidschlachter/followers",
"following_url": "https://api.github.com/users/davidschlachter/following{/other_user}",
"gists_url": "https://api.github.com/users/davidschlachter/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidschlachter",
"id": 8271268,
"login": "davidschlachter",
"node_id": "MDQ6VXNlcjgyNzEyNjg=",
"organizations_url": "https://api.github.com/users/davidschlachter/orgs",
"received_events_url": "https://api.github.com/users/davidschlachter/received_events",
"repos_url": "https://api.github.com/users/davidschlachter/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidschlachter/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidschlachter/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidschlachter"
}
|
[
{
"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": "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": "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"
}
| 1
| 2021-01-08T23:10:20Z
| 2021-01-09T21:21:54Z
| 2021-01-09T21:21:50Z
|
CONTRIBUTOR
| null |
Docs: change
"The builtin options available in each of the pandas plot functions that are worthwhile to have a look."
to
"The builtin options available in each of the pandas plot functions are worth reviewing."
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39045/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39045/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39045.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39045",
"merged_at": "2021-01-09T21:21:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39045.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39045"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39046
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39046/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39046/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39046/events
|
https://github.com/pandas-dev/pandas/pull/39046
| 782,459,711
|
MDExOlB1bGxSZXF1ZXN0NTUyMDEyOTc3
| 39,046
|
BUG: reindexing empty CategoricalIndex would fail if target had duplicates
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/18488?v=4",
"events_url": "https://api.github.com/users/batterseapower/events{/privacy}",
"followers_url": "https://api.github.com/users/batterseapower/followers",
"following_url": "https://api.github.com/users/batterseapower/following{/other_user}",
"gists_url": "https://api.github.com/users/batterseapower/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/batterseapower",
"id": 18488,
"login": "batterseapower",
"node_id": "MDQ6VXNlcjE4NDg4",
"organizations_url": "https://api.github.com/users/batterseapower/orgs",
"received_events_url": "https://api.github.com/users/batterseapower/received_events",
"repos_url": "https://api.github.com/users/batterseapower/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/batterseapower/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/batterseapower/subscriptions",
"type": "User",
"url": "https://api.github.com/users/batterseapower"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 3
| 2021-01-08T23:44:42Z
| 2021-01-10T02:39:57Z
| 2021-01-10T02:39:54Z
|
CONTRIBUTOR
| null |
- [x] closes #38906
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39046/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39046/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39046.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39046",
"merged_at": "2021-01-10T02:39:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39046.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39046"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39047
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39047/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39047/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39047/events
|
https://github.com/pandas-dev/pandas/pull/39047
| 782,494,701
|
MDExOlB1bGxSZXF1ZXN0NTUyMDQwOTk5
| 39,047
|
TST: extend check for leaked files
|
{
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] | null | 7
| 2021-01-09T02:31:51Z
| 2021-03-31T22:34:37Z
| 2021-03-31T22:34:37Z
|
CONTRIBUTOR
| null |
Use `ResourceWarning`s as indicators of leaked files. I left the `psutil`-based check for leaked files.
I enabled the check for leaked files for all io tests.
boto3 (#17058) is probably causing all of the unclosed ssl connections. This PR ignores ResourceWarnings that contain the string `'ssl'`. The fixture applied to all io tests further ignores all connections found by `psutils` for the same reason. Connections are checked for code that was previously covered by `check_file_leaks`.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39047/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39047/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39047.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39047",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39047.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39047"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39048
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39048/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39048/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39048/events
|
https://github.com/pandas-dev/pandas/issues/39048
| 782,506,808
|
MDU6SXNzdWU3ODI1MDY4MDg=
| 39,048
|
DOCUMENTATION BUG: DOC FOR `pandas.Index.resize` TALKS ABOUT `numpy`
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/56810295?v=4",
"events_url": "https://api.github.com/users/Samuel-Muldoon/events{/privacy}",
"followers_url": "https://api.github.com/users/Samuel-Muldoon/followers",
"following_url": "https://api.github.com/users/Samuel-Muldoon/following{/other_user}",
"gists_url": "https://api.github.com/users/Samuel-Muldoon/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Samuel-Muldoon",
"id": 56810295,
"login": "Samuel-Muldoon",
"node_id": "MDQ6VXNlcjU2ODEwMjk1",
"organizations_url": "https://api.github.com/users/Samuel-Muldoon/orgs",
"received_events_url": "https://api.github.com/users/Samuel-Muldoon/received_events",
"repos_url": "https://api.github.com/users/Samuel-Muldoon/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Samuel-Muldoon/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Samuel-Muldoon/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Samuel-Muldoon"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 3
| 2021-01-09T04:02:16Z
| 2021-01-09T14:35:03Z
| 2021-01-09T14:34:46Z
|
NONE
| null |
I was reading the [documentation](https://pandas.pydata.org/pandas-docs/version/0.14/generated/pandas.Index.resize.html) for `pandas.Index.resize`
The doc for `pandas.index.resize` talks about `numpy`
All of the examples use the `numpy` library.
`pandas` and `numpy` are not the same library.
shouldn't the examples looks more like `pandas`?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39048/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39048/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39049
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39049/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39049/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39049/events
|
https://github.com/pandas-dev/pandas/pull/39049
| 782,511,645
|
MDExOlB1bGxSZXF1ZXN0NTUyMDU0MTQx
| 39,049
|
BUG: pd.to_numeric does not copy _mask for ExtensionArrays
|
{
"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": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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"
}
| 1
| 2021-01-09T04:42:40Z
| 2021-01-09T21:22:59Z
| 2021-01-09T21:22:56Z
|
MEMBER
| null |
- [x] closes #38974
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry (not needed as bug on master only)
Fixing a bug I introduced in #38746
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39049/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39049/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39049.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39049",
"merged_at": "2021-01-09T21:22:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39049.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39049"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39050
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39050/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39050/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39050/events
|
https://github.com/pandas-dev/pandas/issues/39050
| 782,561,545
|
MDU6SXNzdWU3ODI1NjE1NDU=
| 39,050
|
BUG: .diff() not working on int8 and int16 dtype
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26452178?v=4",
"events_url": "https://api.github.com/users/nrcjea001/events{/privacy}",
"followers_url": "https://api.github.com/users/nrcjea001/followers",
"following_url": "https://api.github.com/users/nrcjea001/following{/other_user}",
"gists_url": "https://api.github.com/users/nrcjea001/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nrcjea001",
"id": 26452178,
"login": "nrcjea001",
"node_id": "MDQ6VXNlcjI2NDUyMTc4",
"organizations_url": "https://api.github.com/users/nrcjea001/orgs",
"received_events_url": "https://api.github.com/users/nrcjea001/received_events",
"repos_url": "https://api.github.com/users/nrcjea001/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nrcjea001/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nrcjea001/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nrcjea001"
}
|
[
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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"
}
| 1
| 2021-01-09T08:27:47Z
| 2021-01-10T00:42:30Z
| 2021-01-10T00:42:30Z
|
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.
---
```python
# Your code here
df=pd.DataFrame({'a':[1,2,3,3,2],'b':[0,1,1,0,0]})
df['b']=df['b'].astype(np.int8)
df.groupby('a')['b'].diff()
---------------------------------------------------------------------------
NotImplementedError Traceback (most recent call last)
<ipython-input-23-f6026edf0092> in <module>
1 df=pd.DataFrame({'a':[1,2,3,3,2],'b':[0,1,1,0,0]})
2 df['b']=df['b'].astype(np.int8)
----> 3 df.groupby('a')['b'].diff()
~\Anaconda3\lib\site-packages\pandas\core\groupby\groupby.py in wrapper(*args, **kwargs)
815 return self.apply(curried)
816
--> 817 return self._python_apply_general(curried, self._obj_with_exclusions)
818
819 wrapper.__name__ = name
~\Anaconda3\lib\site-packages\pandas\core\groupby\groupby.py in _python_apply_general(self, f, data)
926 data after applying f
927 """
--> 928 keys, values, mutated = self.grouper.apply(f, data, self.axis)
929
930 return self._wrap_applied_output(
~\Anaconda3\lib\site-packages\pandas\core\groupby\ops.py in apply(self, f, data, axis)
235 # group might be modified
236 group_axes = group.axes
--> 237 res = f(group)
238 if not _is_indexed_like(res, group_axes, axis):
239 mutated = True
~\Anaconda3\lib\site-packages\pandas\core\groupby\groupby.py in curried(x)
804
805 def curried(x):
--> 806 return f(x, *args, **kwargs)
807
808 # preserve the name so we can detect it when calling plot methods,
~\Anaconda3\lib\site-packages\pandas\core\series.py in diff(self, periods)
2436 {examples}
2437 """
-> 2438 result = algorithms.diff(self.array, periods)
2439 return self._constructor(result, index=self.index).__finalize__(
2440 self, method="diff"
~\Anaconda3\lib\site-packages\pandas\core\algorithms.py in diff(arr, n, axis, stacklevel)
2000 # TODO: can diff_2d dtype specialization troubles be fixed by defining
2001 # out_arr inside diff_2d?
-> 2002 algos.diff_2d(arr, out_arr, n, axis, datetimelike=is_timedelta)
2003 else:
2004 # To keep mypy happy, _res_indexer is a list while res_indexer is
pandas\_libs\algos.pyx in pandas._libs.algos.diff_2d()
NotImplementedError:
```
#### Problem description
I try to take the difference of dataframe on columns with dtype int8 and int16 but this yields an error. This was working in previous version of pandas, 1.1.5, but not in current version, 1.2.0.
#### Expected Output
```python
0 NaN
1 NaN
2 NaN
3 -1.0
4 -1.0
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.8.6.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19041
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 11, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United States.1252
pandas : 1.2.0
numpy : 1.19.5
pytz : 2020.5
dateutil : 2.8.1
pip : 20.3.3
setuptools : 49.6.0.post20210108
Cython : 0.29.21
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.6.2
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.19.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : None
fsspec : 0.8.5
fastparquet : None
gcsfs : None
matplotlib : 3.3.3
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 2.0.0
pyxlsb : None
s3fs : None
scipy : 1.6.0
sqlalchemy : None
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.16.2
xlrd : None
xlwt : None
numba : 0.52.0
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39050/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39050/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39051
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39051/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39051/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39051/events
|
https://github.com/pandas-dev/pandas/pull/39051
| 782,561,585
|
MDExOlB1bGxSZXF1ZXN0NTUyMDk3Mzky
| 39,051
|
ENH: try to preserve the dtype on combine_first for the case where the two DataFrame objects have the same columns
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/20952040?v=4",
"events_url": "https://api.github.com/users/danielhrisca/events{/privacy}",
"followers_url": "https://api.github.com/users/danielhrisca/followers",
"following_url": "https://api.github.com/users/danielhrisca/following{/other_user}",
"gists_url": "https://api.github.com/users/danielhrisca/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/danielhrisca",
"id": 20952040,
"login": "danielhrisca",
"node_id": "MDQ6VXNlcjIwOTUyMDQw",
"organizations_url": "https://api.github.com/users/danielhrisca/orgs",
"received_events_url": "https://api.github.com/users/danielhrisca/received_events",
"repos_url": "https://api.github.com/users/danielhrisca/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/danielhrisca/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/danielhrisca/subscriptions",
"type": "User",
"url": "https://api.github.com/users/danielhrisca"
}
|
[
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 6
| 2021-01-09T08:27:59Z
| 2021-01-15T16:30:28Z
| 2021-01-15T16:30:23Z
|
CONTRIBUTOR
| null |
…e two DataFrame objects have the same columns
- [ ] closes #7509
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39051/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39051/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39051.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39051",
"merged_at": "2021-01-15T16:30:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39051.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39051"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39052
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39052/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39052/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39052/events
|
https://github.com/pandas-dev/pandas/pull/39052
| 782,588,096
|
MDExOlB1bGxSZXF1ZXN0NTUyMTE2ODc2
| 39,052
|
TYP: remove ignores from set_testing_mode and reset_testing_mode
|
{
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-01-09T11:29:12Z
| 2021-01-10T09:26:01Z
| 2021-01-09T21:17:46Z
|
MEMBER
| null |
xref #37715
The error message is self-explanatory although the original code passing a tuple seemed to work also, although not documented.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39052/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39052/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39052.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39052",
"merged_at": "2021-01-09T21:17:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39052.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39052"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39053
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39053/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39053/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39053/events
|
https://github.com/pandas-dev/pandas/issues/39053
| 782,594,598
|
MDU6SXNzdWU3ODI1OTQ1OTg=
| 39,053
|
ENH: Please provide "universal2" wheels for macOS
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/713966?v=4",
"events_url": "https://api.github.com/users/ronaldoussoren/events{/privacy}",
"followers_url": "https://api.github.com/users/ronaldoussoren/followers",
"following_url": "https://api.github.com/users/ronaldoussoren/following{/other_user}",
"gists_url": "https://api.github.com/users/ronaldoussoren/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ronaldoussoren",
"id": 713966,
"login": "ronaldoussoren",
"node_id": "MDQ6VXNlcjcxMzk2Ng==",
"organizations_url": "https://api.github.com/users/ronaldoussoren/orgs",
"received_events_url": "https://api.github.com/users/ronaldoussoren/received_events",
"repos_url": "https://api.github.com/users/ronaldoussoren/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ronaldoussoren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ronaldoussoren/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ronaldoussoren"
}
|
[
{
"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": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"color": "c2e0c6",
"default": false,
"description": "aarch64 architecture",
"id": 2628846204,
"name": "ARM",
"node_id": "MDU6TGFiZWwyNjI4ODQ2MjA0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ARM"
},
{
"color": "0DF09E",
"default": false,
"description": "Related to Mac OS & hardware issues (M1)",
"id": 3260433562,
"name": "OS X",
"node_id": "MDU6TGFiZWwzMjYwNDMzNTYy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/OS%20X"
}
] |
open
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4",
"events_url": "https://api.github.com/users/lithomas1/events{/privacy}",
"followers_url": "https://api.github.com/users/lithomas1/followers",
"following_url": "https://api.github.com/users/lithomas1/following{/other_user}",
"gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lithomas1",
"id": 47963215,
"login": "lithomas1",
"node_id": "MDQ6VXNlcjQ3OTYzMjE1",
"organizations_url": "https://api.github.com/users/lithomas1/orgs",
"received_events_url": "https://api.github.com/users/lithomas1/received_events",
"repos_url": "https://api.github.com/users/lithomas1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lithomas1"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4",
"events_url": "https://api.github.com/users/lithomas1/events{/privacy}",
"followers_url": "https://api.github.com/users/lithomas1/followers",
"following_url": "https://api.github.com/users/lithomas1/following{/other_user}",
"gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lithomas1",
"id": 47963215,
"login": "lithomas1",
"node_id": "MDQ6VXNlcjQ3OTYzMjE1",
"organizations_url": "https://api.github.com/users/lithomas1/orgs",
"received_events_url": "https://api.github.com/users/lithomas1/received_events",
"repos_url": "https://api.github.com/users/lithomas1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lithomas1"
}
] |
{
"closed_at": 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
| 2021-01-09T12:08:52Z
| 2021-08-15T02:44:11Z
| null |
NONE
| null |
#### Is your feature request related to a problem?
There is a, currently formally experimental, "universal2" installer for Python on www.python.org. This natively supports both x86_64 (macOS 10.9 or later) and arm64 (macOS 11.0 or later). Using pandas with this installer currently requires building pandas from source, not from a binary wheel.
#### Describe the solution you'd like
A binary wheel on PyPI for the "universal2" installer, next to the "x86_64" wheel there already is.
In the longer run I'd love to see only "universal2" wheels and no "x86_64" wheels, but that at the very least requires time for support in the packaging system to further mature (support for "universal2" in pip and wheel is pretty new at this point).
|
{
"+1": 5,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 5,
"hooray": 1,
"laugh": 0,
"rocket": 0,
"total_count": 11,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39053/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39053/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39054
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39054/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39054/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39054/events
|
https://github.com/pandas-dev/pandas/pull/39054
| 782,604,417
|
MDExOlB1bGxSZXF1ZXN0NTUyMTI4NDY3
| 39,054
|
TYP: remove ignore from all_timeseries_index_generator
|
{
"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": "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"
}
| 2
| 2021-01-09T13:06:04Z
| 2021-01-10T12:34:34Z
| 2021-01-10T12:34:13Z
|
MEMBER
| null |
xref #37715
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39054/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39054/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39054.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39054",
"merged_at": "2021-01-10T12:34:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39054.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39054"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39055
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39055/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39055/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39055/events
|
https://github.com/pandas-dev/pandas/issues/39055
| 782,610,951
|
MDU6SXNzdWU3ODI2MTA5NTE=
| 39,055
|
QST: How to print specific element from dataframe?
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/65125182?v=4",
"events_url": "https://api.github.com/users/debasisc-opa/events{/privacy}",
"followers_url": "https://api.github.com/users/debasisc-opa/followers",
"following_url": "https://api.github.com/users/debasisc-opa/following{/other_user}",
"gists_url": "https://api.github.com/users/debasisc-opa/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/debasisc-opa",
"id": 65125182,
"login": "debasisc-opa",
"node_id": "MDQ6VXNlcjY1MTI1MTgy",
"organizations_url": "https://api.github.com/users/debasisc-opa/orgs",
"received_events_url": "https://api.github.com/users/debasisc-opa/received_events",
"repos_url": "https://api.github.com/users/debasisc-opa/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/debasisc-opa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/debasisc-opa/subscriptions",
"type": "User",
"url": "https://api.github.com/users/debasisc-opa"
}
|
[
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] |
closed
| false
| null |
[] | null | 2
| 2021-01-09T13:46:14Z
| 2021-01-09T22:58:38Z
| 2021-01-09T14:00:57Z
|
NONE
| null |
- [ ] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions.
- [ ] I have asked my usage related question on [StackOverflow](https://stackoverflow.com).
---
#### Question about pandas
**Note**: If you'd still like to submit a question, 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 question.
```python
# Your code here, if applicable
https://pandas.pydata.org/pandas-docs/stable/user_guide/10min.html
```
df = pd.DataFrame(np.random.randn(6, 4), index=dates, columns=list("ABCD"))
print("Print the dataframe which is like a matrix")
print(df)
```
This works. But how do I print specific element of the dataframe? What is the syntax?
print(df[0:1] prints one row
print(df[0:2] prints two rows.
How do I print exact element (ex: row1, value of column A)?
Also length of a dataframe. Here, we know length=6 because we have created.
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39055/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39055/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39056
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39056/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39056/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39056/events
|
https://github.com/pandas-dev/pandas/pull/39056
| 782,613,649
|
MDExOlB1bGxSZXF1ZXN0NTUyMTM1MjMy
| 39,056
|
TYP: remove ignore from makeMissingDataframe
|
{
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-01-09T14:01:40Z
| 2021-01-10T09:24:15Z
| 2021-01-09T21:18:17Z
|
MEMBER
| null |
xref #37715
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39056/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39056/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39056.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39056",
"merged_at": "2021-01-09T21:18:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39056.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39056"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39057
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39057/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39057/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39057/events
|
https://github.com/pandas-dev/pandas/pull/39057
| 782,614,217
|
MDExOlB1bGxSZXF1ZXN0NTUyMTM1NjEx
| 39,057
|
TYP: remove ignore from makeCustomIndex
|
{
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-01-09T14:04:45Z
| 2021-01-10T09:25:27Z
| 2021-01-09T21:16:56Z
|
MEMBER
| null |
xref #37715
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39057/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39057/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39057.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39057",
"merged_at": "2021-01-09T21:16:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39057.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39057"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39058
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39058/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39058/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39058/events
|
https://github.com/pandas-dev/pandas/pull/39058
| 782,615,608
|
MDExOlB1bGxSZXF1ZXN0NTUyMTM2NDk0
| 39,058
|
TYP: series apply method adds type hints
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/40813941?v=4",
"events_url": "https://api.github.com/users/aniaan/events{/privacy}",
"followers_url": "https://api.github.com/users/aniaan/followers",
"following_url": "https://api.github.com/users/aniaan/following{/other_user}",
"gists_url": "https://api.github.com/users/aniaan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/aniaan",
"id": 40813941,
"login": "aniaan",
"node_id": "MDQ6VXNlcjQwODEzOTQx",
"organizations_url": "https://api.github.com/users/aniaan/orgs",
"received_events_url": "https://api.github.com/users/aniaan/received_events",
"repos_url": "https://api.github.com/users/aniaan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/aniaan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aniaan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/aniaan"
}
|
[
{
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 6
| 2021-01-09T14:13:02Z
| 2021-01-11T12:21:21Z
| 2021-01-11T12:21:21Z
|
CONTRIBUTOR
| null |
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39058/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39058/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39058.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39058",
"merged_at": "2021-01-11T12:21:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39058.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39058"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39059
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39059/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39059/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39059/events
|
https://github.com/pandas-dev/pandas/pull/39059
| 782,617,816
|
MDExOlB1bGxSZXF1ZXN0NTUyMTM3OTk3
| 39,059
|
TYP: remove ignore in optional_args
|
{
"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": "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"
}
| 2
| 2021-01-09T14:25:09Z
| 2021-02-02T09:01:04Z
| 2021-02-02T09:01:04Z
|
MEMBER
| null |
xref #37715
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39059/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39059/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39059.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39059",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39059.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39059"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39060
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39060/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39060/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39060/events
|
https://github.com/pandas-dev/pandas/pull/39060
| 782,627,057
|
MDExOlB1bGxSZXF1ZXN0NTUyMTQ0Njk4
| 39,060
|
BUG: in network decorator
|
{
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] | null | 1
| 2021-01-09T15:18:04Z
| 2021-01-11T20:45:34Z
| 2021-01-11T20:45:34Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39060/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39060/timeline
| null | 1
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39060.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39060",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39060.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39060"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/39061
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39061/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39061/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39061/events
|
https://github.com/pandas-dev/pandas/pull/39061
| 782,627,913
|
MDExOlB1bGxSZXF1ZXN0NTUyMTQ1MzM1
| 39,061
|
REF: Move Series.apply/agg into apply
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-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"
}
| 1
| 2021-01-09T15:22:44Z
| 2021-01-09T21:25:23Z
| 2021-01-09T21:24:43Z
|
MEMBER
| null |
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
Will do follow up to share list/dict/str code in Apply for how=apply; they are essentially identical.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39061/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39061/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39061.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39061",
"merged_at": "2021-01-09T21:24:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39061.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39061"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39062
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39062/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39062/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39062/events
|
https://github.com/pandas-dev/pandas/pull/39062
| 782,639,465
|
MDExOlB1bGxSZXF1ZXN0NTUyMTUzNDcy
| 39,062
|
TST: skips in extension.test_categorical
|
{
"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": "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": "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": "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"
}
| 1
| 2021-01-09T16:25:36Z
| 2021-01-12T01:28:00Z
| 2021-01-12T01:17:22Z
|
MEMBER
| null |
- [x] closes #38904
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
cc @simonjayhawkins
For the searchsorted test, the categorical data starts off ordered as "C" < "A" < "B" but then gets reordered in the test by these lines:
> b, c, a = data_for_sorting
arr = type(data_for_sorting)._from_sequence([a, b, c])
so the ordering becomes "A" < "B" < "C". This causes failure when "C" is said to be inserted at index 3 (new order) to preserve order rather than the expected 0 (original order).
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39062/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39062/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39062.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39062",
"merged_at": "2021-01-12T01:17:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39062.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39062"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39063
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39063/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39063/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39063/events
|
https://github.com/pandas-dev/pandas/issues/39063
| 782,643,464
|
MDU6SXNzdWU3ODI2NDM0NjQ=
| 39,063
|
ENH: rolling for periodic data
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/36071676?v=4",
"events_url": "https://api.github.com/users/McToel/events{/privacy}",
"followers_url": "https://api.github.com/users/McToel/followers",
"following_url": "https://api.github.com/users/McToel/following{/other_user}",
"gists_url": "https://api.github.com/users/McToel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/McToel",
"id": 36071676,
"login": "McToel",
"node_id": "MDQ6VXNlcjM2MDcxNjc2",
"organizations_url": "https://api.github.com/users/McToel/orgs",
"received_events_url": "https://api.github.com/users/McToel/received_events",
"repos_url": "https://api.github.com/users/McToel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/McToel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/McToel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/McToel"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] |
open
| false
| null |
[] | null | 8
| 2021-01-09T16:48:26Z
| 2021-08-11T20:25:59Z
| null |
NONE
| null |
#### Is your feature request related to a problem?
I have a periodic DataFrame and I would like to compute a rolling mean. However, I struggled to do this with pandas nicely. What I ended up dooing was to copy the tail of the DataFrame to the top and the head to the bottom, and than used DataFrame.rolling().
#### Describe the solution you'd like
It would be nice to have somthing like `DataFrame.rolling(how='periodic')`
#### Describe alternatives you've considered
I am not sure how many users need this feature, so it might not be worth adding it for the few needing it.
|
{
"+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/39063/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39063/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39064
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39064/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39064/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39064/events
|
https://github.com/pandas-dev/pandas/pull/39064
| 782,662,176
|
MDExOlB1bGxSZXF1ZXN0NTUyMTY5OTg3
| 39,064
|
Added docs for the change of behavior of isin
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/48727083?v=4",
"events_url": "https://api.github.com/users/omarafifii/events{/privacy}",
"followers_url": "https://api.github.com/users/omarafifii/followers",
"following_url": "https://api.github.com/users/omarafifii/following{/other_user}",
"gists_url": "https://api.github.com/users/omarafifii/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/omarafifii",
"id": 48727083,
"login": "omarafifii",
"node_id": "MDQ6VXNlcjQ4NzI3MDgz",
"organizations_url": "https://api.github.com/users/omarafifii/orgs",
"received_events_url": "https://api.github.com/users/omarafifii/received_events",
"repos_url": "https://api.github.com/users/omarafifii/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/omarafifii/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/omarafifii/subscriptions",
"type": "User",
"url": "https://api.github.com/users/omarafifii"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-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"
}
| 6
| 2021-01-09T18:35:05Z
| 2021-01-17T15:37:27Z
| 2021-01-17T15:36:02Z
|
CONTRIBUTOR
| null |
This is to close issue #38781, I added documentation to explain the change of behavior of the isin function.
- [x] closes #38781
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [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/39064/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39064/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39064.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39064",
"merged_at": "2021-01-17T15:36:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39064.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39064"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39065
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39065/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39065/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39065/events
|
https://github.com/pandas-dev/pandas/pull/39065
| 782,672,773
|
MDExOlB1bGxSZXF1ZXN0NTUyMTc3NTk3
| 39,065
|
Regression in replace raising ValueError for bytes object
|
{
"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": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
},
{
"color": "01a886",
"default": false,
"description": "replace method",
"id": 1652721180,
"name": "replace",
"node_id": "MDU6TGFiZWwxNjUyNzIxMTgw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/replace"
}
] |
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"
}
| 2
| 2021-01-09T19:42:51Z
| 2021-01-09T22:23:17Z
| 2021-01-09T22:05:14Z
|
MEMBER
| null |
- [x] closes #38900
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39065/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39065/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39065.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39065",
"merged_at": "2021-01-09T22:05:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39065.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39065"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39066
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39066/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39066/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39066/events
|
https://github.com/pandas-dev/pandas/pull/39066
| 782,675,966
|
MDExOlB1bGxSZXF1ZXN0NTUyMTc5OTA3
| 39,066
|
TYP: ALL_NUMPY_DTYPES mypy errors with numpy-1.20
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-01-09T20:03:59Z
| 2021-01-10T09:23:31Z
| 2021-01-09T21:34:55Z
|
MEMBER
| null |
prevents mypy errors
pandas/_testing/__init__.py:122: error: Unsupported operand types for + ("List[Union[ExtensionDtype, Union[str, dtype[Any]], Type[str], Type[float], Type[int], Type[complex], Type[bool], Type[object]]]" and "List[object]") [operator]
pandas/_testing/__init__.py:123: error: Unsupported operand types for + ("List[Union[ExtensionDtype, Union[str, dtype[Any]], Type[str], Type[float], Type[int], Type[complex], Type[bool], Type[object]]]" and "List[object]") [operator]
pandas/_testing/__init__.py:124: error: Unsupported operand types for + ("List[Union[ExtensionDtype, Union[str, dtype[Any]], Type[str], Type[float], Type[int], Type[complex], Type[bool], Type[object]]]" and "List[object]") [operator]
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39066/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39066/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39066.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39066",
"merged_at": "2021-01-09T21:34:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39066.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39066"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39067
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39067/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39067/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39067/events
|
https://github.com/pandas-dev/pandas/pull/39067
| 782,679,850
|
MDExOlB1bGxSZXF1ZXN0NTUyMTgyNjg3
| 39,067
|
TYP: prep _generate_range_overflow_safe for numpy 1.20
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "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": "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"
}
| 1
| 2021-01-09T20:30:00Z
| 2021-02-02T09:00:19Z
| 2021-02-02T09:00:19Z
|
MEMBER
| null |
difficult call, will replace
pandas/core/arrays/_ranges.py:153: error: Incompatible return value type (got "signedinteger[_64Bit]", expected "int") [return-value]
pandas/core/arrays/_ranges.py:171: error: Incompatible return value type (got "unsignedinteger[_64Bit]", expected "int") [return-value]
with
pandas/core/arrays/_ranges.py:129: error: Argument 1 to "_generate_range_overflow_safe" has incompatible type "Union[int, number[Any]]"; expected "Union[int, integer[Any]]" [arg-type]
pandas/core/arrays/_ranges.py:129: error: Argument 2 to "_generate_range_overflow_safe" has incompatible type "Union[int, number[Any]]"; expected "Union[int, integer[Any]]" [arg-type]
pandas/core/arrays/_ranges.py:137: error: Argument 2 to "_generate_range_overflow_safe" has incompatible type "Union[int, number[Any]]"; expected "Union[int, integer[Any]]" [arg-type]
pandas/core/arrays/_ranges.py:138: error: Argument 2 to "_generate_range_overflow_safe" has incompatible type "Union[int, number[Any]]"; expected "Union[int, integer[Any]]" [arg-type]
these are from arithmetic operations on np.integer (including floordiv) which AFAICT should return np.integer and not np.number
can't add the ignores yet, since we will get unused ignore mypy messages - active branch with fixes https://github.com/pandas-dev/pandas/compare/master...simonjayhawkins:numpy-fixes?expand=1
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39067/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39067/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39067.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39067",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39067.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39067"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39068
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39068/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39068/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39068/events
|
https://github.com/pandas-dev/pandas/pull/39068
| 782,680,133
|
MDExOlB1bGxSZXF1ZXN0NTUyMTgyODky
| 39,068
|
BUG/API: DTI/TDI/PI.insert cast to object on failure
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 8
| 2021-01-09T20:31:41Z
| 2021-01-22T00:07:29Z
| 2021-01-21T23:58:35Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
ATM DTI/TDI/PI/insert are pretty idiosyncratic. This changes them to match the base Index.insert by a) always trying _validate_fill_value (this changes the behavior for strings that can be parsed to datetime/timedelta/period) and b) always fall back to object in cases where this validation fails (this changes behavior for non-strings where the validation fails).
AFAICT the current behavior was implemented in #5819 and the only discussion I see about castable strings or non-castable non-strings is this [comment](https://github.com/pandas-dev/pandas/pull/5819#issuecomment-31454545), which I don't think is relevant any longer.
One corner case is mismatched tzs, which raise in master. In the PR they cast to object. They could also reasonably cast to the index's tz (xref #37605)
cc @rhshadrach IIRC you had a question about the insert tests in test_coercion. I think this addresses what you were asking about. Let me know if I missed something.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39068/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39068/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39068.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39068",
"merged_at": "2021-01-21T23:58:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39068.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39068"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39069
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39069/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39069/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39069/events
|
https://github.com/pandas-dev/pandas/pull/39069
| 782,680,314
|
MDExOlB1bGxSZXF1ZXN0NTUyMTgzMDMx
| 39,069
|
REGR: diff_2d raising for int8, int16
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4",
"events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}",
"followers_url": "https://api.github.com/users/mzeitlin11/followers",
"following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mzeitlin11",
"id": 37011898,
"login": "mzeitlin11",
"node_id": "MDQ6VXNlcjM3MDExODk4",
"organizations_url": "https://api.github.com/users/mzeitlin11/orgs",
"received_events_url": "https://api.github.com/users/mzeitlin11/received_events",
"repos_url": "https://api.github.com/users/mzeitlin11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mzeitlin11"
}
|
[
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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"
}
| 4
| 2021-01-09T20:32:57Z
| 2021-01-11T13:44:50Z
| 2021-01-10T00:42:30Z
|
MEMBER
| null |
- [x] closes #39050
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39069/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39069/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39069.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39069",
"merged_at": "2021-01-10T00:42:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39069.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39069"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39070
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39070/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39070/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39070/events
|
https://github.com/pandas-dev/pandas/pull/39070
| 782,684,671
|
MDExOlB1bGxSZXF1ZXN0NTUyMTg2MjE1
| 39,070
|
TYP: PeriodArray._unbox_scalar
|
{
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-01-09T21:02:08Z
| 2021-01-10T09:32:13Z
| 2021-01-09T22:06:02Z
|
MEMBER
| null |
mypy errors with numpy 1.20
pandas/core/arrays/period.py:273: error: Return type "int" of "_unbox_scalar" incompatible with return type "Union[signedinteger[_64Bit], datetime64, timedelta64]" in supertype "DatetimeLikeArrayMixin" [override]
pandas/core/arrays/period.py:277: error: Incompatible return value type (got "signedinteger[_64Bit]", expected "int") [return-value]
pandas/core/arrays/period.py:280: error: Incompatible return value type (got "signedinteger[_64Bit]", expected "int") [return-value]
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39070/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39070/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39070.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39070",
"merged_at": "2021-01-09T22:06:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39070.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39070"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39071
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39071/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39071/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39071/events
|
https://github.com/pandas-dev/pandas/pull/39071
| 782,686,356
|
MDExOlB1bGxSZXF1ZXN0NTUyMTg3NDgz
| 39,071
|
Regression in loc.setitem raising ValueError with unordered MultiIndex columns and scalar 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"
},
{
"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": "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"
}
| 10
| 2021-01-09T21:13:36Z
| 2021-01-11T17:06:34Z
| 2021-01-10T03:59:07Z
|
MEMBER
| null |
- [x] closes #38601
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
@jbrockmendel Would it be faster to use arange too in the line above of my fix instead of Index?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39071/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39071/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39071.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39071",
"merged_at": "2021-01-10T03:59:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39071.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39071"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39072
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39072/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39072/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39072/events
|
https://github.com/pandas-dev/pandas/pull/39072
| 782,686,910
|
MDExOlB1bGxSZXF1ZXN0NTUyMTg3OTA4
| 39,072
|
TST GH26807 Break up pandas/tests/io/pytables/test_store.py
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1084147?v=4",
"events_url": "https://api.github.com/users/moink/events{/privacy}",
"followers_url": "https://api.github.com/users/moink/followers",
"following_url": "https://api.github.com/users/moink/following{/other_user}",
"gists_url": "https://api.github.com/users/moink/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/moink",
"id": 1084147,
"login": "moink",
"node_id": "MDQ6VXNlcjEwODQxNDc=",
"organizations_url": "https://api.github.com/users/moink/orgs",
"received_events_url": "https://api.github.com/users/moink/received_events",
"repos_url": "https://api.github.com/users/moink/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/moink/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/moink/subscriptions",
"type": "User",
"url": "https://api.github.com/users/moink"
}
|
[
{
"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": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 6
| 2021-01-09T21:17:33Z
| 2021-01-13T18:04:39Z
| 2021-01-13T18:04:33Z
|
MEMBER
| null |
This PR addresses xref #26807 for pandas/tests/io/pytables/test_store.py, which was more than 5000 lines before this attempt. I made a new directory pandas/tests/io/pytables/store/ to put all the new modules in. I tried to 1) get all the new modules below 1000 lines and 2) break it up in a somewhat logical way, but let's see if I succeeded in the opinion of the reviewer.
There were 194 tests in pandas/tests/io/pytables/test_store.py, and now there are 194 tests in pandas/tests/io/pytables/store so I haven't gained or lost any. One is skipped on my dev machine.
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39072/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39072/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39072.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39072",
"merged_at": "2021-01-13T18:04:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39072.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39072"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39073
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39073/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39073/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39073/events
|
https://github.com/pandas-dev/pandas/issues/39073
| 782,692,077
|
MDU6SXNzdWU3ODI2OTIwNzc=
| 39,073
|
DOC: Add STUMPY to pandas ecosystem
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7473521?v=4",
"events_url": "https://api.github.com/users/seanlaw/events{/privacy}",
"followers_url": "https://api.github.com/users/seanlaw/followers",
"following_url": "https://api.github.com/users/seanlaw/following{/other_user}",
"gists_url": "https://api.github.com/users/seanlaw/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/seanlaw",
"id": 7473521,
"login": "seanlaw",
"node_id": "MDQ6VXNlcjc0NzM1MjE=",
"organizations_url": "https://api.github.com/users/seanlaw/orgs",
"received_events_url": "https://api.github.com/users/seanlaw/received_events",
"repos_url": "https://api.github.com/users/seanlaw/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/seanlaw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/seanlaw/subscriptions",
"type": "User",
"url": "https://api.github.com/users/seanlaw"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-01-09T21:54:13Z
| 2021-01-10T20:25:46Z
| 2021-01-10T02:39:04Z
|
CONTRIBUTOR
| null |
#### Location of the documentation
[Pandas Ecosystem - Stats & ML](https://pandas.pydata.org/docs/ecosystem.html#statistics-and-machine-learning)
#### Documentation problem
This isn't a problem, just an addition to the current ecosystem listing.
#### Suggested fix for documentation
This is a simple addition to the `ecosystem.rst` file for adding [STUMPY](https://github.com/TDAmeritrade/stumpy) to the existing docs
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39073/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39073/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39074
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39074/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39074/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39074/events
|
https://github.com/pandas-dev/pandas/pull/39074
| 782,692,427
|
MDExOlB1bGxSZXF1ZXN0NTUyMTkxODU5
| 39,074
|
Fixed #39073 Add STUMPY to Pandas ecosystem docs
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7473521?v=4",
"events_url": "https://api.github.com/users/seanlaw/events{/privacy}",
"followers_url": "https://api.github.com/users/seanlaw/followers",
"following_url": "https://api.github.com/users/seanlaw/following{/other_user}",
"gists_url": "https://api.github.com/users/seanlaw/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/seanlaw",
"id": 7473521,
"login": "seanlaw",
"node_id": "MDQ6VXNlcjc0NzM1MjE=",
"organizations_url": "https://api.github.com/users/seanlaw/orgs",
"received_events_url": "https://api.github.com/users/seanlaw/received_events",
"repos_url": "https://api.github.com/users/seanlaw/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/seanlaw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/seanlaw/subscriptions",
"type": "User",
"url": "https://api.github.com/users/seanlaw"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 4
| 2021-01-09T21:56:28Z
| 2021-01-10T02:39:08Z
| 2021-01-10T02:39:04Z
|
CONTRIBUTOR
| null |
- [ ] closes #39073
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39074/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39074/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39074.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39074",
"merged_at": "2021-01-10T02:39:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39074.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39074"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39075
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39075/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39075/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39075/events
|
https://github.com/pandas-dev/pandas/pull/39075
| 782,694,002
|
MDExOlB1bGxSZXF1ZXN0NTUyMTkyODc4
| 39,075
|
Backport PR #39065 on branch 1.2.x (Regression in replace raising ValueError for bytes object)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] |
closed
| false
| null |
[] |
{
"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"
}
| 2
| 2021-01-09T22:06:34Z
| 2021-01-10T02:32:32Z
| 2021-01-10T02:32:32Z
|
NONE
| null |
Backport PR #39065: Regression in replace raising ValueError for bytes 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/39075/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39075/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39075.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39075",
"merged_at": "2021-01-10T02:32:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39075.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39075"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39076
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39076/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39076/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39076/events
|
https://github.com/pandas-dev/pandas/issues/39076
| 782,695,414
|
MDU6SXNzdWU3ODI2OTU0MTQ=
| 39,076
|
CI: Benchmarks in CI are failing because xlrd was updated to 2.0.1
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
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"
}
| 0
| 2021-01-09T22:16:05Z
| 2021-01-10T00:41:50Z
| 2021-01-10T00:41:50Z
|
MEMBER
| null |
Raises in Benchmark run (for example https://github.com/pandas-dev/pandas/runs/1674714425) because it seems xlrd was updated on conda-forge
https://anaconda.org/conda-forge/xlrd
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39076/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39076/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39077
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39077/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39077/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39077/events
|
https://github.com/pandas-dev/pandas/pull/39077
| 782,695,921
|
MDExOlB1bGxSZXF1ZXN0NTUyMTk0MjA4
| 39,077
|
Remove xlrd benchmark after xlrd was updated to 2.0.1 on conda-forge
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "ae68cc",
"default": false,
"description": "Performance (ASV) benchmarks",
"id": 732775912,
"name": "Benchmark",
"node_id": "MDU6TGFiZWw3MzI3NzU5MTI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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"
}
| 7
| 2021-01-09T22:19:47Z
| 2021-01-10T20:27:25Z
| 2021-01-10T00:41:50Z
|
MEMBER
| null |
- [x] closes #39076
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
Is pinning here the right thing to do in environment.yml?
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/39077/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39077/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39077.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39077",
"merged_at": "2021-01-10T00:41:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39077.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39077"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39078
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39078/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39078/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39078/events
|
https://github.com/pandas-dev/pandas/pull/39078
| 782,714,746
|
MDExOlB1bGxSZXF1ZXN0NTUyMjA3MzY1
| 39,078
|
Backport PR #39077 on branch 1.2.x (Remove xlrd benchmark after xlrd was updated to 2.0.1 on conda-forge)
|
{
"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": "ae68cc",
"default": false,
"description": "Performance (ASV) benchmarks",
"id": 732775912,
"name": "Benchmark",
"node_id": "MDU6TGFiZWw3MzI3NzU5MTI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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"
}
| 0
| 2021-01-10T00:42:17Z
| 2021-01-10T02:32:08Z
| 2021-01-10T02:32:08Z
|
NONE
| null |
Backport PR #39077: Remove xlrd benchmark after xlrd was updated to 2.0.1 on conda-forge
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39078/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39078/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39078.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39078",
"merged_at": "2021-01-10T02:32:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39078.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39078"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39079
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39079/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39079/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39079/events
|
https://github.com/pandas-dev/pandas/pull/39079
| 782,714,993
|
MDExOlB1bGxSZXF1ZXN0NTUyMjA3NTU0
| 39,079
|
BUG: read_csv with custom date parser and na_filter=True results in ValueError
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/24451137?v=4",
"events_url": "https://api.github.com/users/ftrihardjo/events{/privacy}",
"followers_url": "https://api.github.com/users/ftrihardjo/followers",
"following_url": "https://api.github.com/users/ftrihardjo/following{/other_user}",
"gists_url": "https://api.github.com/users/ftrihardjo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ftrihardjo",
"id": 24451137,
"login": "ftrihardjo",
"node_id": "MDQ6VXNlcjI0NDUxMTM3",
"organizations_url": "https://api.github.com/users/ftrihardjo/orgs",
"received_events_url": "https://api.github.com/users/ftrihardjo/received_events",
"repos_url": "https://api.github.com/users/ftrihardjo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ftrihardjo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ftrihardjo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ftrihardjo"
}
|
[
{
"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": "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": "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": "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"
}
| 2
| 2021-01-10T00:44:25Z
| 2021-02-01T10:00:48Z
| 2021-01-31T00:11:56Z
|
CONTRIBUTOR
| null |
- [ ] closes #36111
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39079/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39079/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39079.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39079",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39079.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39079"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39080
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39080/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39080/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39080/events
|
https://github.com/pandas-dev/pandas/pull/39080
| 782,716,287
|
MDExOlB1bGxSZXF1ZXN0NTUyMjA4NTQx
| 39,080
|
Auto backport of pr 39069 on 1.2.x
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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"
}
| 0
| 2021-01-10T00:56:13Z
| 2021-01-10T00:56:31Z
| 2021-01-10T00:56:31Z
|
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/39080/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39080/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39080.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39080",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39080.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39080"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/39081
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39081/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39081/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39081/events
|
https://github.com/pandas-dev/pandas/pull/39081
| 782,716,452
|
MDExOlB1bGxSZXF1ZXN0NTUyMjA4NjYz
| 39,081
|
Backport PR #39069: REGR: diff_2d raising for int8, int16
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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"
}
| 1
| 2021-01-10T00:57:30Z
| 2021-01-10T02:37:20Z
| 2021-01-10T02:37:20Z
|
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/39081/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39081/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39081.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39081",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39081.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39081"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/39082
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39082/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39082/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39082/events
|
https://github.com/pandas-dev/pandas/pull/39082
| 782,724,490
|
MDExOlB1bGxSZXF1ZXN0NTUyMjE0NTI0
| 39,082
|
REF: Remove Apply.get_result
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-01-10T02:05:25Z
| 2021-01-11T14:32:14Z
| 2021-01-11T14:27:04Z
|
MEMBER
| null |
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
Slightly simpler and allows typing of the result that we get out of Apply. Having both apply and agg go through get_result would mean typing the result as `Union[FrameOrSeriesUnion, Tuple[bool, Optional[FrameOrSeriesUnion]]]`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39082/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39082/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39082.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39082",
"merged_at": "2021-01-11T14:27:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39082.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39082"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39083
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39083/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39083/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39083/events
|
https://github.com/pandas-dev/pandas/pull/39083
| 782,731,363
|
MDExOlB1bGxSZXF1ZXN0NTUyMjE5MzY5
| 39,083
|
CLN: Simplify optional dependency
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4",
"events_url": "https://api.github.com/users/lithomas1/events{/privacy}",
"followers_url": "https://api.github.com/users/lithomas1/followers",
"following_url": "https://api.github.com/users/lithomas1/following{/other_user}",
"gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lithomas1",
"id": 47963215,
"login": "lithomas1",
"node_id": "MDQ6VXNlcjQ3OTYzMjE1",
"organizations_url": "https://api.github.com/users/lithomas1/orgs",
"received_events_url": "https://api.github.com/users/lithomas1/received_events",
"repos_url": "https://api.github.com/users/lithomas1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lithomas1"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
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"
}
| 1
| 2021-01-10T03:06:44Z
| 2021-01-11T18:08:54Z
| 2021-01-11T13:59:41Z
|
MEMBER
| null |
- [x] closes #38936
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39083/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39083/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39083.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39083",
"merged_at": "2021-01-11T13:59:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39083.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39083"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39084
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39084/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39084/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39084/events
|
https://github.com/pandas-dev/pandas/pull/39084
| 782,737,321
|
MDExOlB1bGxSZXF1ZXN0NTUyMjIzNjUw
| 39,084
|
Backport PR #39071 on branch 1.2.x (Regression in loc.setitem raising ValueError with unordered MultiIndex columns and scalar indexer)
|
{
"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": "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": "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"
}
| 0
| 2021-01-10T04:01:18Z
| 2021-01-11T13:18:58Z
| 2021-01-11T13:15:03Z
|
NONE
| null |
Backport PR #39071: Regression in loc.setitem raising ValueError with unordered MultiIndex columns and scalar indexer
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39084/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39084/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39084.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39084",
"merged_at": "2021-01-11T13:15:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39084.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39084"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39085
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39085/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39085/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39085/events
|
https://github.com/pandas-dev/pandas/pull/39085
| 782,752,976
|
MDExOlB1bGxSZXF1ZXN0NTUyMjM1MzM2
| 39,085
|
IntervalIndex/IntervalArray __repr__ remove redundant closed
|
{
"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": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "009800",
"default": false,
"description": "Interval data type",
"id": 150096370,
"name": "Interval",
"node_id": "MDU6TGFiZWwxNTAwOTYzNzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-01-10T06:16:13Z
| 2021-01-11T16:12:58Z
| 2021-01-11T14:01:47Z
|
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/39085/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39085/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39085.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39085",
"merged_at": "2021-01-11T14:01:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39085.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39085"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/39086
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39086/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39086/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39086/events
|
https://github.com/pandas-dev/pandas/pull/39086
| 782,760,440
|
MDExOlB1bGxSZXF1ZXN0NTUyMjQwOTIx
| 39,086
|
BUG: setting td64 value into Series[numeric]
|
{
"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": "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": "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"
}
| 1
| 2021-01-10T07:19:15Z
| 2021-01-11T17:22:34Z
| 2021-01-11T17:06:30Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] 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/39086/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39086/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39086.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39086",
"merged_at": "2021-01-11T17:06:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39086.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39086"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39087
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39087/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39087/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39087/events
|
https://github.com/pandas-dev/pandas/issues/39087
| 782,781,118
|
MDU6SXNzdWU3ODI3ODExMTg=
| 39,087
|
BUG:
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/21053847?v=4",
"events_url": "https://api.github.com/users/quanbingDG/events{/privacy}",
"followers_url": "https://api.github.com/users/quanbingDG/followers",
"following_url": "https://api.github.com/users/quanbingDG/following{/other_user}",
"gists_url": "https://api.github.com/users/quanbingDG/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/quanbingDG",
"id": 21053847,
"login": "quanbingDG",
"node_id": "MDQ6VXNlcjIxMDUzODQ3",
"organizations_url": "https://api.github.com/users/quanbingDG/orgs",
"received_events_url": "https://api.github.com/users/quanbingDG/received_events",
"repos_url": "https://api.github.com/users/quanbingDG/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/quanbingDG/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/quanbingDG/subscriptions",
"type": "User",
"url": "https://api.github.com/users/quanbingDG"
}
|
[
{
"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"
}
] |
closed
| false
| null |
[] | null | 1
| 2021-01-10T09:42:48Z
| 2021-01-22T14:23:45Z
| 2021-01-22T14:23:45Z
|
NONE
| null |
- [ ] I have checked that this issue has not already been reported.
- [ ] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
# Your code here
```
#### Problem description
[this should explain **why** the current behaviour is a problem and why the expected output is a better solution]
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag]
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39087/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39087/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39088
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39088/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39088/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39088/events
|
https://github.com/pandas-dev/pandas/issues/39088
| 782,782,854
|
MDU6SXNzdWU3ODI3ODI4NTQ=
| 39,088
|
BUG:Dataframe assignment failure
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/21053847?v=4",
"events_url": "https://api.github.com/users/quanbingDG/events{/privacy}",
"followers_url": "https://api.github.com/users/quanbingDG/followers",
"following_url": "https://api.github.com/users/quanbingDG/following{/other_user}",
"gists_url": "https://api.github.com/users/quanbingDG/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/quanbingDG",
"id": 21053847,
"login": "quanbingDG",
"node_id": "MDQ6VXNlcjIxMDUzODQ3",
"organizations_url": "https://api.github.com/users/quanbingDG/orgs",
"received_events_url": "https://api.github.com/users/quanbingDG/received_events",
"repos_url": "https://api.github.com/users/quanbingDG/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/quanbingDG/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/quanbingDG/subscriptions",
"type": "User",
"url": "https://api.github.com/users/quanbingDG"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 3
| 2021-01-10T09:52:37Z
| 2021-01-10T20:25:42Z
| 2021-01-10T11:17:08Z
|
NONE
| null |
- [ ] I have checked that this issue has not already been reported.
- [ ] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
# Your code here
import pandas as pd
data = pd.DataFrame(np.array(range(12)).reshape(3,4))
data['1_xxx'] = 2
```
#### Problem description
When a column name consists of a number and a string. that triggers the bug.
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : d9fff2792bf16178d4e450fe7384244e50635733
python : 3.7.9.final.0
python-bits : 64
OS : Darwin
OS-release : 20.2.0
Version : Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : zh_CN.UTF-8
LOCALE : zh_CN.UTF-8
pandas : 1.2.0
numpy : 1.19.2
pytz : 2020.5
dateutil : 2.8.1
pip : 20.3.3
setuptools : 51.0.0.post20201207
Cython : 0.29.21
pytest : 6.2.1
hypothesis : None
sphinx : 3.4.2
blosc : None
feather : None
xlsxwriter : 1.3.7
lxml.etree : 4.6.2
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.19.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 0.8.3
fastparquet : None
gcsfs : None
matplotlib : 3.3.2
numexpr : 2.7.2
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : 1.3.21
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 2.0.1
xlwt : 1.3.0
numba : 0.51.2
[paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag]
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39088/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39088/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39089
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39089/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39089/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39089/events
|
https://github.com/pandas-dev/pandas/issues/39089
| 782,809,496
|
MDU6SXNzdWU3ODI4MDk0OTY=
| 39,089
|
CI: Numpy changed dtype inference
|
{
"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": "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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "0052cc",
"default": false,
"description": "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 | 8
| 2021-01-10T12:37:38Z
| 2021-01-17T14:17:38Z
| 2021-01-17T14:17:38Z
|
MEMBER
| null |
Numpy changed the dtype inference (https://github.com/numpy/numpy/pull/17863), which causes tests to fail. Problem description as follows:
```
other = [pd.Interval(0, 1, closed="right"), 0, "foo"]
arr = np.asarray(other)
result = pd.array(arr)
```
On a regular Numpy version the numpy array has dtype object and this returns
```
<PandasArray>
[Interval(0, 1, closed='right'), 0, 'foo']
Length: 3, dtype: object
```
while on numpy dev the numpy array has dtype ``<U64`` and this returns
```
<StringArray>
['(0, 1]', '0', 'foo']
Length: 3, dtype: string
```
This leads to a different evaluation of ``is_object_dtype(other_dtype)``
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39089/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39089/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39090
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39090/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39090/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39090/events
|
https://github.com/pandas-dev/pandas/pull/39090
| 782,817,840
|
MDExOlB1bGxSZXF1ZXN0NTUyMjgyODQx
| 39,090
|
CI: Skip numpy dev failing 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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 3
| 2021-01-10T13:23:02Z
| 2021-01-10T20:12:33Z
| 2021-01-10T19:00:37Z
|
MEMBER
| null |
- [x] xref #39089
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39090/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39090/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39090.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39090",
"merged_at": "2021-01-10T19:00:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39090.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39090"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39091
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39091/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39091/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39091/events
|
https://github.com/pandas-dev/pandas/pull/39091
| 782,842,119
|
MDExOlB1bGxSZXF1ZXN0NTUyMzAxMTQ2
| 39,091
|
DOC: Added reverse rolling window examples
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/71941335?v=4",
"events_url": "https://api.github.com/users/vangorade/events{/privacy}",
"followers_url": "https://api.github.com/users/vangorade/followers",
"following_url": "https://api.github.com/users/vangorade/following{/other_user}",
"gists_url": "https://api.github.com/users/vangorade/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vangorade",
"id": 71941335,
"login": "vangorade",
"node_id": "MDQ6VXNlcjcxOTQxMzM1",
"organizations_url": "https://api.github.com/users/vangorade/orgs",
"received_events_url": "https://api.github.com/users/vangorade/received_events",
"repos_url": "https://api.github.com/users/vangorade/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vangorade/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vangorade/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vangorade"
}
|
[
{
"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": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
},
{
"color": "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 | 4
| 2021-01-10T15:29:50Z
| 2021-03-14T03:57:55Z
| 2021-03-14T03:57:55Z
|
CONTRIBUTOR
| null |
- [x] closes #38627
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39091/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39091/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39091.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39091",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39091.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39091"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39092
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39092/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39092/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39092/events
|
https://github.com/pandas-dev/pandas/pull/39092
| 782,870,090
|
MDExOlB1bGxSZXF1ZXN0NTUyMzIxMDcz
| 39,092
|
CLN: Numpy compat functions namespace
|
{
"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 |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 6
| 2021-01-10T17:49:13Z
| 2021-01-21T20:18:17Z
| 2021-01-21T18:11:23Z
|
MEMBER
| null |
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
Should we do something about the private variables ``_np_version_under1p19`` and ``_np_version_under1p20`` too?
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/39092/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39092/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39092.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39092",
"merged_at": "2021-01-21T18:11:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39092.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39092"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39093
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39093/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39093/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39093/events
|
https://github.com/pandas-dev/pandas/pull/39093
| 782,874,163
|
MDExOlB1bGxSZXF1ZXN0NTUyMzIzOTk4
| 39,093
|
TYP: NDFrame.pipe, GroupBy.pipe etc.
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4",
"events_url": "https://api.github.com/users/topper-123/events{/privacy}",
"followers_url": "https://api.github.com/users/topper-123/followers",
"following_url": "https://api.github.com/users/topper-123/following{/other_user}",
"gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/topper-123",
"id": 26364415,
"login": "topper-123",
"node_id": "MDQ6VXNlcjI2MzY0NDE1",
"organizations_url": "https://api.github.com/users/topper-123/orgs",
"received_events_url": "https://api.github.com/users/topper-123/received_events",
"repos_url": "https://api.github.com/users/topper-123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/topper-123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/topper-123"
}
|
[
{
"color": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 9
| 2021-01-10T18:10:43Z
| 2021-01-15T14:05:49Z
| 2021-01-15T10:55:45Z
|
CONTRIBUTOR
| null |
Type up `pipe` function and methods. This allows type checkers to understand the return value type from pipes, which is nice.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39093/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39093/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39093.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39093",
"merged_at": "2021-01-15T10:55:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39093.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39093"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39094
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39094/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39094/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39094/events
|
https://github.com/pandas-dev/pandas/pull/39094
| 782,900,078
|
MDExOlB1bGxSZXF1ZXN0NTUyMzQyNzUy
| 39,094
|
REF: implement dtypes.cast.can_hold_element
|
{
"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"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 3
| 2021-01-10T20:24:47Z
| 2021-01-11T21:52:28Z
| 2021-01-11T19:59:08Z
|
MEMBER
| null |
Passes the tests added by #39086, gets us close to collapsing the NumericBlock subclasses and just using NumericBlock directly.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39094/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39094/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39094.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39094",
"merged_at": "2021-01-11T19:59:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39094.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39094"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39095
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39095/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39095/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39095/events
|
https://github.com/pandas-dev/pandas/pull/39095
| 782,921,632
|
MDExOlB1bGxSZXF1ZXN0NTUyMzU4NDQ5
| 39,095
|
BUG: reindex raising TypeError with timezone aware index and tolerance for ffill and bfill
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
closed
| false
| null |
[] |
{
"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"
}
| 1
| 2021-01-10T22:20:57Z
| 2021-01-12T21:54:49Z
| 2021-01-11T14:00:35Z
|
MEMBER
| null |
- [x] closes #38566
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
Is there a better place for these tests?
EDIT: Technically a regression, but since it persists since 1.0.0 is it worth backporting?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39095/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39095/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39095.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39095",
"merged_at": "2021-01-11T14:00:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39095.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39095"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39096
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39096/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39096/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39096/events
|
https://github.com/pandas-dev/pandas/issues/39096
| 782,922,944
|
MDU6SXNzdWU3ODI5MjI5NDQ=
| 39,096
|
TST/COMPAT: test memory usage failed on macOS after change pytest-xdist -dist to `no`
|
{
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
open
| false
| null |
[] | null | 1
| 2021-01-10T22:28:36Z
| 2021-08-15T02:46:02Z
| null |
MEMBER
| null |
In #38905, I changed the distribution algorithm of pytest-xdist to `no` from `loadfile`. And the test `pandas/tests/base/test_misc.py:test_memory_usage` failed on macOS.
```bash
index_or_series_obj = Series([], Name: a, dtype: float64)
@pytest.mark.skipif(PYPY, reason="not relevant for PyPy")
def test_memory_usage(index_or_series_obj):
obj = index_or_series_obj
res = obj.memory_usage()
res_deep = obj.memory_usage(deep=True)
is_object = is_object_dtype(obj) or (
isinstance(obj, Series) and is_object_dtype(obj.index)
)
is_categorical = is_categorical_dtype(obj.dtype) or (
isinstance(obj, Series) and is_categorical_dtype(obj.index.dtype)
)
if len(obj) == 0:
if isinstance(obj, Index):
expected = 0
else:
expected = 108 if IS64 else 64
> assert res_deep == res == expected
E assert 0 == 108
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39096/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39096/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39097
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39097/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39097/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39097/events
|
https://github.com/pandas-dev/pandas/issues/39097
| 782,938,704
|
MDU6SXNzdWU3ODI5Mzg3MDQ=
| 39,097
|
BUG: DateOffset applied to DatetimeIndex losing freq starting in v1.1.0
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2894002?v=4",
"events_url": "https://api.github.com/users/bexer/events{/privacy}",
"followers_url": "https://api.github.com/users/bexer/followers",
"following_url": "https://api.github.com/users/bexer/following{/other_user}",
"gists_url": "https://api.github.com/users/bexer/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bexer",
"id": 2894002,
"login": "bexer",
"node_id": "MDQ6VXNlcjI4OTQwMDI=",
"organizations_url": "https://api.github.com/users/bexer/orgs",
"received_events_url": "https://api.github.com/users/bexer/received_events",
"repos_url": "https://api.github.com/users/bexer/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bexer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bexer/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bexer"
}
|
[
{
"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": "be21f2",
"default": false,
"description": "May be closeable, needs more eyeballs",
"id": 2365504893,
"name": "Closing Candidate",
"node_id": "MDU6TGFiZWwyMzY1NTA0ODkz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 3
| 2021-01-11T00:01:58Z
| 2021-01-11T22:02:27Z
| 2021-01-11T22:02:19Z
|
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
dtsa = pd.date_range('1998', periods = 3, freq = 'A')
s1 = pd.Series([4,5,6], index=dtsa)
s1.index
# DatetimeIndex(['1998-12-31', '1999-12-31', '2000-12-31'], dtype='datetime64[ns]', freq='A-DEC')
i1 = s1.index + pd.DateOffset(years=-1, days=1)
i1
# DatetimeIndex(['1998-01-01', '1999-01-01', '2000-01-01'], dtype='datetime64[ns]', freq=None)
```
#### Problem description
I expected **i1** to have the frequency "AS-JAN" instead of None. This behavior existed prior to version 1.1.0. For example, in 1.0.5 the output of the same commands is:
```python
> DatetimeIndex(['1998-01-01', '1999-01-01', '2000-01-01'], dtype='datetime64[ns]', freq='AS-JAN')
```
#### Expected Output
```python
> DatetimeIndex(['1998-01-01', '1999-01-01', '2000-01-01'], dtype='datetime64[ns]', freq='AS-JAN')
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : d9fff2792bf16178d4e450fe7384244e50635733
python : 3.8.0.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.17134
machine : AMD64
processor : Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United States.1252
pandas : 1.1.0
numpy : 1.19.2
pytz : 2020.5
dateutil : 2.8.1
pip : 20.3.3
setuptools : 51.0.0.post20201207
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.19.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39097/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39097/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39098
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39098/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39098/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39098/events
|
https://github.com/pandas-dev/pandas/issues/39098
| 783,076,118
|
MDU6SXNzdWU3ODMwNzYxMTg=
| 39,098
|
BUG: Groupby agg on decimal,json extension arrays changes dtype to object
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/4534389?v=4",
"events_url": "https://api.github.com/users/BryanCutler/events{/privacy}",
"followers_url": "https://api.github.com/users/BryanCutler/followers",
"following_url": "https://api.github.com/users/BryanCutler/following{/other_user}",
"gists_url": "https://api.github.com/users/BryanCutler/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/BryanCutler",
"id": 4534389,
"login": "BryanCutler",
"node_id": "MDQ6VXNlcjQ1MzQzODk=",
"organizations_url": "https://api.github.com/users/BryanCutler/orgs",
"received_events_url": "https://api.github.com/users/BryanCutler/received_events",
"repos_url": "https://api.github.com/users/BryanCutler/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/BryanCutler/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/BryanCutler/subscriptions",
"type": "User",
"url": "https://api.github.com/users/BryanCutler"
}
|
[
{
"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": "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"
}
] |
open
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 5
| 2021-01-11T05:30:39Z
| 2021-08-15T02:47:50Z
| null |
CONTRIBUTOR
| null |
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the latest version of pandas.
- [X] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import decimal
from pandas.tests.extension.decimal import DecimalArray
import pandas as pd
b = decimal.Decimal("1.0")
a = decimal.Decimal("0.0")
c = decimal.Decimal("2.0")
na = decimal.Decimal("NaN")
df = pd.DataFrame({
'key': [1, 1, 2, 2, 3, 3, 1, 4],
'val': DecimalArray([b, b, na, na, a, a, b, c])
})
result = df.groupby("key").agg({'val': 'first'})
print(result['val').dtype)
# object
```
#### Problem description
When performing a `groupby().agg()` on extension arrays `DecimalArray` or `JsonArray`, if a NULL value is present, the resulting aggregation will be converted to an `object` dtype.
#### Expected Output
Resulting series should be the same dtype as the input array, and any NULL values should be as defined in the extension dtype.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 1c296b20f7ab9822dacaa894afecd960bb43fc47
python : 3.8.6.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-58-generic
Version : #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : C.UTF-8
LANG : C.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.3.0.dev0+357.g1c296b20f.dirty
numpy : 1.19.4
pytz : 2020.4
dateutil : 2.8.1
pip : 20.0.2
setuptools : 49.6.0.post20201009
Cython : 0.29.21
pytest : 6.1.2
hypothesis : 5.41.5
sphinx : 3.3.1
blosc : None
feather : None
xlsxwriter : 1.3.7
lxml.etree : 4.6.2
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.19.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 0.8.4
fastparquet : 0.4.1
gcsfs : 0.7.1
matplotlib : 3.3.3
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : 2.0.0
pyxlsb : None
s3fs : 0.4.2
scipy : 1.5.3
sqlalchemy : 1.3.20
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.16.2
xlrd : 1.2.0
xlwt : 1.3.0
numba : 0.52.0
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39098/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39098/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39099
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39099/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39099/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39099/events
|
https://github.com/pandas-dev/pandas/issues/39099
| 783,181,277
|
MDU6SXNzdWU3ODMxODEyNzc=
| 39,099
|
BUG: DataFrame.to_csv with compression method xz does not consider compresslevel
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2393560?v=4",
"events_url": "https://api.github.com/users/jor-/events{/privacy}",
"followers_url": "https://api.github.com/users/jor-/followers",
"following_url": "https://api.github.com/users/jor-/following{/other_user}",
"gists_url": "https://api.github.com/users/jor-/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jor-",
"id": 2393560,
"login": "jor-",
"node_id": "MDQ6VXNlcjIzOTM1NjA=",
"organizations_url": "https://api.github.com/users/jor-/orgs",
"received_events_url": "https://api.github.com/users/jor-/received_events",
"repos_url": "https://api.github.com/users/jor-/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jor-/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jor-/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jor-"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] |
closed
| false
| null |
[] | null | 2
| 2021-01-11T08:46:48Z
| 2021-01-11T13:03:02Z
| 2021-01-11T13:03:02Z
|
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 pdv
df = pd.DataFrame(np.random.randint(100,size=(10**5, 3)),columns=['A','B','C'])
for compresslevel in range(1, 10):
df.to_csv(f'/tmp/test.csv.{compresslevel}.xz', compression={'method': 'xz', 'compresslevel': compresslevel})
```
#### Output of checking file size
```
jore@mac /tmp % ls -l /tmp/test.csv.*
-rw-r--r-- 1 jore wheel 419804 11 Jan 09:29 /tmp/test.csv.1.xz
-rw-r--r-- 1 jore wheel 419804 11 Jan 09:29 /tmp/test.csv.2.xz
-rw-r--r-- 1 jore wheel 419804 11 Jan 09:29 /tmp/test.csv.3.xz
-rw-r--r-- 1 jore wheel 419804 11 Jan 09:29 /tmp/test.csv.4.xz
-rw-r--r-- 1 jore wheel 419804 11 Jan 09:29 /tmp/test.csv.5.xz
-rw-r--r-- 1 jore wheel 419804 11 Jan 09:29 /tmp/test.csv.6.xz
-rw-r--r-- 1 jore wheel 419804 11 Jan 09:29 /tmp/test.csv.7.xz
-rw-r--r-- 1 jore wheel 419804 11 Jan 09:29 /tmp/test.csv.8.xz
-rw-r--r-- 1 jore wheel 419804 11 Jan 09:30 /tmp/test.csv.9.xz
```
#### Problem description
The `compresslevel` is not considered during the compression with `xz`. However for `gzip`and `bz2` the `compresslevel` is correctly considered during compression.
#### Expected Output
The file size should decrease when the compresslevel is increased.
#### Output of ``pd.show_versions()``
<details>
```
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.9.1.final.0
python-bits : 64
OS : Darwin
OS-release : 20.2.0
Version : Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : de_DE.UTF-8
LANG : de_DE.UTF-8
LOCALE : de_DE.UTF-8
pandas : 1.2.0
numpy : 1.19.5
pytz : 2020.5
dateutil : 2.8.1
pip : 20.3.3
setuptools : 49.6.0.post20201009
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.19.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : Nonev
```
</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/39099/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39099/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39100
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39100/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39100/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39100/events
|
https://github.com/pandas-dev/pandas/issues/39100
| 783,325,788
|
MDU6SXNzdWU3ODMzMjU3ODg=
| 39,100
|
BUG: merge by MultiIndex containing tuples doesn't work correctly
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/4868370?v=4",
"events_url": "https://api.github.com/users/pgagarinov/events{/privacy}",
"followers_url": "https://api.github.com/users/pgagarinov/followers",
"following_url": "https://api.github.com/users/pgagarinov/following{/other_user}",
"gists_url": "https://api.github.com/users/pgagarinov/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pgagarinov",
"id": 4868370,
"login": "pgagarinov",
"node_id": "MDQ6VXNlcjQ4NjgzNzA=",
"organizations_url": "https://api.github.com/users/pgagarinov/orgs",
"received_events_url": "https://api.github.com/users/pgagarinov/received_events",
"repos_url": "https://api.github.com/users/pgagarinov/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pgagarinov/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pgagarinov/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pgagarinov"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"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 |
[] |
{
"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
| 2021-01-11T12:20:29Z
| 2021-01-22T14:14:28Z
| 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.
- [ ] (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
a_dict = {'val-single-trial-LitPrettyBoringMNIST_f1': {(0,
'Train/Val',
('train', 'val')): 0.1189,
(1, 'Train/Val', ('train', 'val')): 0.1373,
(2, 'Train/Val', ('train', 'val')): 0.3173,
(2, 'Reval', ('reval',)): 0.3173,
(2, 'Test', ('test',)): 0.3173}}
a_df = pd.DataFrame(a_dict)
a_df.index = a_df.index.set_names(['epoch', 'stage', 'stage-list'])
a_df = a_df.iloc[[0,1,4,2, 3],:]
b_dict = {'reval-hyper-opt-LitPrettyBoringMNIST_f1': {(0, 'Reval', ('reval',)): 0.0317,
(0, 'Test', ('test',)): np.nan}}
b_df = pd.DataFrame(b_dict)
b_df.index = b_df.index.set_names(['epoch', 'stage', 'stage-list'])
bad_merge_df = a_df.merge(b_df, how='outer', left_index=True, right_index=True)
good_merge_df = a_df.merge(b_df, how='outer', on=['epoch', 'stage', 'stage-list'])
```
Same example on Colab
https://colab.research.google.com/drive/1kz2ddulSuC4o3w580wk1iiiU8KJPll1U#scrollTo=2ZCn944CXDRG
#### Problem description
bad_merge_df contains a lot of nans:
<img width="810" alt="image" src="https://user-images.githubusercontent.com/4868370/104181719-5368dd00-5420-11eb-8fdd-6de500c02d25.png">
#### Expected Output
<img width="840" alt="image" src="https://user-images.githubusercontent.com/4868370/104181775-68457080-5420-11eb-9c34-45af8797f218.png">
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.8.5.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.85-1-MANJARO
Version : #1 SMP PREEMPT Mon Dec 21 21:38:53 UTC 2020
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : en.UTF-8
LOCALE : None.None
pandas : 1.2.0
numpy : 1.19.5
pytz : 2020.5
dateutil : 2.8.1
pip : 20.3.3
setuptools : 49.6.0.post20210108
Cython : None
pytest : 6.2.1
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 : 0.8.5
fastparquet : None
gcsfs : None
matplotlib : 3.3.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 2.0.0
pyxlsb : None
s3fs : None
scipy : 1.6.0
sqlalchemy : 1.3.22
tables : None
tabulate : 0.8.7
xarray : None
xlrd : None
xlwt : None
numba : 0.52.0
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39100/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39100/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39101
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39101/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39101/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39101/events
|
https://github.com/pandas-dev/pandas/pull/39101
| 783,334,334
|
MDExOlB1bGxSZXF1ZXN0NTUyNzEwNzcz
| 39,101
|
TST: add test for describe include/exclude
|
{
"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": "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": "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"
}
| 1
| 2021-01-11T12:33:50Z
| 2021-01-11T14:15:30Z
| 2021-01-11T14:15:27Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
Added test for checking that if include is 'all' then setting exclude will raise ValueError.
This case was not covered.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39101/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39101/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39101.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39101",
"merged_at": "2021-01-11T14:15:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39101.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39101"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39102
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39102/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39102/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39102/events
|
https://github.com/pandas-dev/pandas/pull/39102
| 783,352,257
|
MDExOlB1bGxSZXF1ZXN0NTUyNzI1ODU5
| 39,102
|
MOVE: describe to pandas/core/describe.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": "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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 4
| 2021-01-11T13:01:20Z
| 2021-01-12T06:26:12Z
| 2021-01-11T19:58:28Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
Move ``describe`` functionality to a separate module and prepare for the further refactor/simplification (xref #36833).
- Created new module ``pandas/core/describe.py``
- Delegate the functionality of ``NDFrame.describe`` to function ``describe_ndframe`` in the new module
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39102/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39102/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39102.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39102",
"merged_at": "2021-01-11T19:58:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39102.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39102"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39103
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39103/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39103/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39103/events
|
https://github.com/pandas-dev/pandas/issues/39103
| 783,355,986
|
MDU6SXNzdWU3ODMzNTU5ODY=
| 39,103
|
BUG: GroupBy dictionary aggregation raises ValueError when 'as_index=False'
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/62142979?v=4",
"events_url": "https://api.github.com/users/dchigarev/events{/privacy}",
"followers_url": "https://api.github.com/users/dchigarev/followers",
"following_url": "https://api.github.com/users/dchigarev/following{/other_user}",
"gists_url": "https://api.github.com/users/dchigarev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dchigarev",
"id": 62142979,
"login": "dchigarev",
"node_id": "MDQ6VXNlcjYyMTQyOTc5",
"organizations_url": "https://api.github.com/users/dchigarev/orgs",
"received_events_url": "https://api.github.com/users/dchigarev/received_events",
"repos_url": "https://api.github.com/users/dchigarev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dchigarev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dchigarev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dchigarev"
}
|
[
{
"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"
}
] |
open
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 0
| 2021-01-11T13:06:46Z
| 2021-08-15T02:50:42Z
| 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.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import numpy as np
import pandas
# Could be any data with MultiIndex columns
data = {(f"col{i}", f"level-{i % 2}"): np.arange(5) for i in range(5)}
df = pandas.DataFrame(data)
by = df.columns[0]
agg_col = df.columns[1]
agg_dict = {agg_col: ["min", "max"]}
df.groupby(by, as_index=False).agg(func=agg_dict) # ValueError
```
<details><summary>Traceback</summary>
```
Traceback (most recent call last):
File "../exp.py", line 12, in <module>
df.groupby(by, as_index=False).agg(func=agg_dict) # ValueError
File "/localdisk/dchigare/miniconda3/envs/modin_tests/lib/python3.7/site-packages/pandas/core/groupby/generic.py", line 990, in aggregate
self._insert_inaxis_grouper_inplace(result)
File "/localdisk/dchigare/miniconda3/envs/modin_tests/lib/python3.7/site-packages/pandas/core/groupby/generic.py", line 1614, in _insert_inaxis_grouper_inplace
result.insert(0, name, lev)
File "/localdisk/dchigare/miniconda3/envs/modin_tests/lib/python3.7/site-packages/pandas/core/frame.py", line 3760, in insert
self._mgr.insert(loc, column, value, allow_duplicates=allow_duplicates)
File "/localdisk/dchigare/miniconda3/envs/modin_tests/lib/python3.7/site-packages/pandas/core/internals/managers.py", line 1197, in insert
new_axis = self.items.insert(loc, item)
File "/localdisk/dchigare/miniconda3/envs/modin_tests/lib/python3.7/site-packages/pandas/core/indexes/multi.py", line 3801, in insert
item = self._validate_fill_value(item)
File "/localdisk/dchigare/miniconda3/envs/modin_tests/lib/python3.7/site-packages/pandas/core/indexes/multi.py", line 3784, in _validate_fill_value
raise ValueError("Item must have length equal to number of levels.")
ValueError: Item must have length equal to number of levels.
```
</details>
#### Problem description
When we specify an aggregation function via list, pandas adds a new level with function name to the columns of the resulted frame:
```python
>>> df
col0 col1
0 0 0
>>> df.groupby("col0").agg({"col1": ["max"]})
col1
max
col0
0 0
```
In the result, the number of levels in the index which represents grouper and columns is different, which causes some problems in [`_insert_inaxis_grouper_inplace`](https://github.com/pandas-dev/pandas/blob/3bd3d1ec253a8a18ac951511820eb970f62baaed/pandas/core/groupby/generic.py#L1610-L1621). When we're trying to insert MultiIndex grouper inside the resulted frame, but their `nlevels` is different, `pandas.DataFrame.insert` raises a `ValueError` because of it.
Filling mismatched levels with an empty string (like pandas already does when inserted value don't have MultiIndex columns) will probably solve this issue
```python
>>> df.groupby("col0", as_index=False).agg({"col1": ["max"]}).columns
MultiIndex([('col0', ''),
('col1', 'max')],
)
```
#### Output of ``pd.show_versions()``
<details>
```
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.7.7.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-50-generic
Version : #54-Ubuntu SMP Mon May 6 18:46:08 UTC 2019
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.2.0
numpy : 1.19.0
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 47.3.1.post20200622
Cython : None
pytest : 6.0.2
hypothesis : None
sphinx : None
blosc : None
feather : 0.4.1
xlsxwriter : None
lxml.etree : 4.5.1
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : None
pandas_datareader: None
bs4 : 4.9.1
bottleneck : None
fsspec : 0.7.4
fastparquet : None
gcsfs : None
matplotlib : 3.2.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.4
pandas_gbq : 0.13.2
pyarrow : 1.0.1
pyxlsb : None
s3fs : 0.4.2
scipy : 1.5.1
sqlalchemy : 1.3.18
tables : 3.6.1
tabulate : None
xarray : 0.15.1
xlrd : 1.2.0
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/39103/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39103/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39104
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39104/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39104/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39104/events
|
https://github.com/pandas-dev/pandas/pull/39104
| 783,371,878
|
MDExOlB1bGxSZXF1ZXN0NTUyNzQyMzA1
| 39,104
|
TYP: fix mypy errors in pandas/core/arraylike.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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 5
| 2021-01-11T13:29:06Z
| 2021-02-15T16:43:22Z
| 2021-02-15T16:43:18Z
|
MEMBER
| null |
- [ ] xref #37715
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
Handle ignored mypy errors in ``pandas/core/arraylike.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/39104/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39104/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39104.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39104",
"merged_at": "2021-02-15T16:43:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39104.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39104"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39105
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39105/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39105/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39105/events
|
https://github.com/pandas-dev/pandas/pull/39105
| 783,381,295
|
MDExOlB1bGxSZXF1ZXN0NTUyNzUwMTM1
| 39,105
|
sync release notes on 1.2.x from master
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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"
}
| 1
| 2021-01-11T13:42:27Z
| 2021-01-11T14:56:25Z
| 2021-01-11T14:56:20Z
|
MEMBER
| null |
PR direct against 1.2.x
syncing release notes between 1.2.x and 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/39105/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39105/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39105.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39105",
"merged_at": "2021-01-11T14:56:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39105.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39105"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39106
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39106/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39106/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39106/events
|
https://github.com/pandas-dev/pandas/pull/39106
| 783,382,795
|
MDExOlB1bGxSZXF1ZXN0NTUyNzUxMzc2
| 39,106
|
TYP: fix mypy error in pandas/core/common.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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-01-11T13:44:27Z
| 2021-01-11T14:52:28Z
| 2021-01-11T14:52:28Z
|
MEMBER
| null |
- [ ] xref #37715
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
Handle ignored mypy error in ``pandas/core/common.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/39106/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39106/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39106.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39106",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39106.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39106"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39107
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39107/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39107/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39107/events
|
https://github.com/pandas-dev/pandas/pull/39107
| 783,404,734
|
MDExOlB1bGxSZXF1ZXN0NTUyNzY5NjIz
| 39,107
|
TYP: replace Label alias from pandas._typing with Hashable
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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"
}
| 1
| 2021-01-11T14:13:46Z
| 2021-01-11T18:12:15Z
| 2021-01-11T17:07:01Z
|
MEMBER
| null |
- [ ] closes #37134
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39107/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39107/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39107.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39107",
"merged_at": "2021-01-11T17:07:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39107.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39107"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39108
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39108/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39108/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39108/events
|
https://github.com/pandas-dev/pandas/issues/39108
| 783,413,847
|
MDU6SXNzdWU3ODM0MTM4NDc=
| 39,108
|
TYP: clean notations in the wrong place
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
}
|
[
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
open
| false
| null |
[] | null | 9
| 2021-01-11T14:25:42Z
| 2021-06-08T18:12:07Z
| null |
CONTRIBUTOR
| null |
https://github.com/pandas-dev/pandas/blob/master/pandas/core/groupby/groupby.py#L1294
```
# To track operations that expand dimensions, like ohlc
OutputFrameOrSeries = TypeVar("OutputFrameOrSeries", bound=NDFrame)
```
at the very least this should be in `pandas._typing`. puzzled why we need this at *all*, as this is the same as `FrameOrSeries`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39108/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39108/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39109
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39109/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39109/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39109/events
|
https://github.com/pandas-dev/pandas/pull/39109
| 783,486,912
|
MDExOlB1bGxSZXF1ZXN0NTUyODM4OTU1
| 39,109
|
DOC: NDFrame fillna method add use case
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/40813941?v=4",
"events_url": "https://api.github.com/users/aniaan/events{/privacy}",
"followers_url": "https://api.github.com/users/aniaan/followers",
"following_url": "https://api.github.com/users/aniaan/following{/other_user}",
"gists_url": "https://api.github.com/users/aniaan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/aniaan",
"id": 40813941,
"login": "aniaan",
"node_id": "MDQ6VXNlcjQwODEzOTQx",
"organizations_url": "https://api.github.com/users/aniaan/orgs",
"received_events_url": "https://api.github.com/users/aniaan/received_events",
"repos_url": "https://api.github.com/users/aniaan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/aniaan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aniaan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/aniaan"
}
|
[
{
"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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-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"
}
| 1
| 2021-01-11T15:49:45Z
| 2021-01-25T16:40:42Z
| 2021-01-25T16:40:38Z
|
CONTRIBUTOR
| null |
- [x] closes #38917
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
cc @MarcoGorelli
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39109/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39109/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39109.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39109",
"merged_at": "2021-01-25T16:40:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39109.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39109"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39110
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39110/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39110/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39110/events
|
https://github.com/pandas-dev/pandas/issues/39110
| 783,533,318
|
MDU6SXNzdWU3ODM1MzMzMTg=
| 39,110
|
BUG: `get_dummies` works on a single integer value column, but fails silently when applied to multiple columns.
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/54779308?v=4",
"events_url": "https://api.github.com/users/wcneill/events{/privacy}",
"followers_url": "https://api.github.com/users/wcneill/followers",
"following_url": "https://api.github.com/users/wcneill/following{/other_user}",
"gists_url": "https://api.github.com/users/wcneill/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wcneill",
"id": 54779308,
"login": "wcneill",
"node_id": "MDQ6VXNlcjU0Nzc5MzA4",
"organizations_url": "https://api.github.com/users/wcneill/orgs",
"received_events_url": "https://api.github.com/users/wcneill/received_events",
"repos_url": "https://api.github.com/users/wcneill/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wcneill/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wcneill/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wcneill"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] |
closed
| false
| null |
[] | null | 4
| 2021-01-11T16:50:00Z
| 2021-01-22T12:49:10Z
| 2021-01-22T12:34:10Z
|
NONE
| null |
- [x] I could not find this issue under open issues when searching: "bug get_dummies"
- [X] I have confirmed this bug exists on the latest version of pandas (1.2.0)
---
#### Code Sample, a copy-pastable example
```python
# A sample dataframe. Last column has integer values.
df = pd.DataFrame({'A': ['a', 'b', 'c'], 'B': ['1', '2', '3'], 'C': [1, 2, 3]})
# Encoding the integer values fine.
df2 = pd.get_dummies(df['C'], prefix='C')
# Encoding the string values works fine.:
df3 = pd.get_dummies(df[['A', 'B']], prefix=['a', 'b'])
# Encoding both this fails silently:
df4 = pd.get_dummies(df)
# Supplying prefixes makes the issue apparent:
df5 = pd.get_dummies(df, prefix=['A', 'B', 'C'])
```
#### Problem description
Pandas `get_dummies` will one-hot encode a single integer valued categorical column. **However, it silently ignores any further columns containing numeric categories.**
The last line of the minimal working example (with prefix list argument) results in:
```
ValueError: Length of 'prefix' (3) did not match the length of the columns being encoded (2).
```
#### Why the current behavior a problem and why the expected output is a better solution:
The expected output matches what the documentation advertises.
#### Expected Output
All columns passed to `get_dummies` should be considered categorical and encoded, including those containing integers.
**or**
No integer columns should be allowed. Produce a warning/error/update the docs.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 3e89b4c4b1580aa890023fc550774e63d499da25
python : 3.8.5.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19041
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United States.1252
pandas : 1.2.0
numpy : 1.19.2
pytz : 2020.5
dateutil : 2.8.1
pip : 20.3.3
setuptools : 51.1.2.post20210110
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.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 : 0.15.1
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39110/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39110/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39111
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39111/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39111/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39111/events
|
https://github.com/pandas-dev/pandas/issues/39111
| 783,539,531
|
MDU6SXNzdWU3ODM1Mzk1MzE=
| 39,111
|
BUG: pd.apply returns a dataframe when empty dataframe instead of a series
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8825870?v=4",
"events_url": "https://api.github.com/users/skarchmit/events{/privacy}",
"followers_url": "https://api.github.com/users/skarchmit/followers",
"following_url": "https://api.github.com/users/skarchmit/following{/other_user}",
"gists_url": "https://api.github.com/users/skarchmit/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/skarchmit",
"id": 8825870,
"login": "skarchmit",
"node_id": "MDQ6VXNlcjg4MjU4NzA=",
"organizations_url": "https://api.github.com/users/skarchmit/orgs",
"received_events_url": "https://api.github.com/users/skarchmit/received_events",
"repos_url": "https://api.github.com/users/skarchmit/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/skarchmit/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/skarchmit/subscriptions",
"type": "User",
"url": "https://api.github.com/users/skarchmit"
}
|
[
{
"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": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
open
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 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
| 2021-01-11T16:58:17Z
| 2021-01-19T10:59:55Z
| 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.
- [ ] (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
>>> pd.DataFrame({'a': [1,2], 'b': [3, 0]})
a b
0 1 3
1 2 0
>>> df = pd.DataFrame({'a': [1,2], 'b': [3, 0]})
>>> df
a b
0 1 3
1 2 0
>>> df.apply(lambda x: max(x['a'], x['b']), axis = 1)
0 3
1 2
dtype: int64
>>> df.head(0).apply(lambda x: max(x['a'], x['b']), axis = 1)
Empty DataFrame
Columns: [a, b]
Index: []
>>>
```
#### Problem description
When running `.apply()` to a dataframe, I'm expecting to get a pd.Series back to add as an additional column. If the dataframe is empty and I run `.apply()` on it, it will return a dataframe and I cannot add it as a column
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
```python
>>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit : d9fff2792bf16178d4e450fe7384244e50635733
python : 3.8.5.final.0
python-bits : 64
OS : Darwin
OS-release : 20.2.0
Version : Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.0
numpy : 1.19.1
pytz : 2020.5
dateutil : 2.8.1
pip : 20.2.2
setuptools : 49.6.0.post20201009
Cython : None
pytest : 6.2.1
hypothesis : None
sphinx : None
blosc : None
feather : 0.4.1
xlsxwriter : 1.3.7
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.19.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 0.8.5
fastparquet : None
gcsfs : None
matplotlib : 3.3.0
numexpr : None
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : 2.0.0
pytables : None
pyxlsb : None
s3fs : 0.5.1
scipy : 1.5.2
sqlalchemy : 1.3.19
tables : None
tabulate : 0.8.7
xarray : None
xlrd : 1.2.0
xlwt : None
numba : 0.50.1
>>>
```
[paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag]
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39111/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39111/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39112
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39112/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39112/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39112/events
|
https://github.com/pandas-dev/pandas/pull/39112
| 783,604,444
|
MDExOlB1bGxSZXF1ZXN0NTUyOTM2MDYx
| 39,112
|
DOC: minor cleanup of 1.2.1 release notes
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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"
}
| 2
| 2021-01-11T18:36:11Z
| 2021-01-11T20:03:50Z
| 2021-01-11T19:59: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/39112/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39112/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39112.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39112",
"merged_at": "2021-01-11T19:59:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39112.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39112"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/39113
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39113/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39113/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39113/events
|
https://github.com/pandas-dev/pandas/issues/39113
| 783,609,754
|
MDU6SXNzdWU3ODM2MDk3NTQ=
| 39,113
|
BUILD: openSUSE: Can't import IncompatibleFrequency in Pandas
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/14142455?v=4",
"events_url": "https://api.github.com/users/lukaszpiwowarek/events{/privacy}",
"followers_url": "https://api.github.com/users/lukaszpiwowarek/followers",
"following_url": "https://api.github.com/users/lukaszpiwowarek/following{/other_user}",
"gists_url": "https://api.github.com/users/lukaszpiwowarek/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lukaszpiwowarek",
"id": 14142455,
"login": "lukaszpiwowarek",
"node_id": "MDQ6VXNlcjE0MTQyNDU1",
"organizations_url": "https://api.github.com/users/lukaszpiwowarek/orgs",
"received_events_url": "https://api.github.com/users/lukaszpiwowarek/received_events",
"repos_url": "https://api.github.com/users/lukaszpiwowarek/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lukaszpiwowarek/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lukaszpiwowarek/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lukaszpiwowarek"
}
|
[
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"color": "f9c1b1",
"default": false,
"description": "Linux OS",
"id": 1233745380,
"name": "Linux",
"node_id": "MDU6TGFiZWwxMjMzNzQ1Mzgw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Linux"
}
] |
open
| false
| null |
[] | null | 4
| 2021-01-11T18:45:03Z
| 2021-08-15T02:59:04Z
| null |
NONE
| null |
Hi, I am trying to install Pandas for a project for our Devs. After installing Pandas with pip3 and trying to run the project, we get this stack trace:
```Traceback (most recent call last):
File "src/bin/app.py", line 17, in <module>
from bin.generator_dispatcher import GeneratorDispatcher
File "/opt/yana/python/report-engine-dev/src/bin/generator_dispatcher.py", line 13, in <module>
from athlete_baseline_report.bin.athlete_baseline_report import (
File "/opt/yana/python/report-engine-dev/src/athlete_baseline_report/bin/athlete_baseline_report.py", line 3, in <module>
from athlete_baseline_report.data_builder.data_builder import DataBuilder
File "/opt/yana/python/report-engine-dev/src/athlete_baseline_report/data_builder/data_builder.py", line 12, in <module>
from shared.algorithm.cc.cc_calculation import CcCalculation
File "/opt/yana/python/report-engine-dev/src/shared/algorithm/cc/cc_calculation.py", line 9, in <module>
from shared.algorithm.cc.CalculateCC import calculateCC_list
File "/opt/yana/python/report-engine-dev/src/shared/algorithm/cc/CalculateCC.py", line 16, in <module>
import pandas as pd
File "/home/hzhang/.local/lib/python3.6/site-packages/pandas/__init__.py", line 42, in <module>
from pandas.core.api import *
File "/home/hzhang/.local/lib/python3.6/site-packages/pandas/core/api.py", line 10, in <module>
from pandas.core.groupby.groupby import Grouper
File "/home/hzhang/.local/lib/python3.6/site-packages/pandas/core/groupby/__init__.py", line 2, in <module>
from pandas.core.groupby.groupby import (
File "/home/hzhang/.local/lib/python3.6/site-packages/pandas/core/groupby/groupby.py", line 46, in <module>
from pandas.core.index import (Index, MultiIndex,
File "/home/hzhang/.local/lib/python3.6/site-packages/pandas/core/index.py", line 2, in <module>
from pandas.core.indexes.api import *
File "/home/hzhang/.local/lib/python3.6/site-packages/pandas/core/indexes/api.py", line 4, in <module>
from pandas.core.indexes.base import (Index,
File "/home/hzhang/.local/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 53, in <module>
from pandas.core import ops
File "/home/hzhang/.local/lib/python3.6/site-packages/pandas/core/ops/__init__.py", line 21, in <module>
from pandas.core.construction import extract_array
File "/home/hzhang/.local/lib/python3.6/site-packages/pandas/core/construction.py", line 15, in <module>
from pandas._libs.tslibs import IncompatibleFrequency, OutOfBoundsDatetime
ImportError: cannot import name 'IncompatibleFrequency'
```
Does Pandas require something else to be installed? The project uses Pandas 0.23.4. I get the same error if I install latest version.
Pandas was installed with pip3 like this:
`sudo -H pip3 install pandas==0.23.4`
The host is Ubuntu 18.04.5 LTS with all installed packages completely up to date.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39113/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39113/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39114
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39114/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39114/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39114/events
|
https://github.com/pandas-dev/pandas/pull/39114
| 783,665,532
|
MDExOlB1bGxSZXF1ZXN0NTUyOTg3NDY0
| 39,114
|
Backport PR #39112 on branch 1.2.x (DOC: minor cleanup of 1.2.1 release notes)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-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"
}
| 0
| 2021-01-11T20:02:12Z
| 2021-01-12T00:00:27Z
| 2021-01-12T00:00:27Z
|
NONE
| null |
Backport PR #39112: DOC: minor cleanup of 1.2.1 release notes
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39114/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39114/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39114.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39114",
"merged_at": "2021-01-12T00:00:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39114.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39114"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39115
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39115/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39115/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39115/events
|
https://github.com/pandas-dev/pandas/issues/39115
| 783,666,485
|
MDU6SXNzdWU3ODM2NjY0ODU=
| 39,115
|
Documentation showing placeholders instead of text
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/19514231?v=4",
"events_url": "https://api.github.com/users/MicaelJarniac/events{/privacy}",
"followers_url": "https://api.github.com/users/MicaelJarniac/followers",
"following_url": "https://api.github.com/users/MicaelJarniac/following{/other_user}",
"gists_url": "https://api.github.com/users/MicaelJarniac/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MicaelJarniac",
"id": 19514231,
"login": "MicaelJarniac",
"node_id": "MDQ6VXNlcjE5NTE0MjMx",
"organizations_url": "https://api.github.com/users/MicaelJarniac/orgs",
"received_events_url": "https://api.github.com/users/MicaelJarniac/received_events",
"repos_url": "https://api.github.com/users/MicaelJarniac/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MicaelJarniac/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MicaelJarniac/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MicaelJarniac"
}
|
[
{
"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": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/19514231?v=4",
"events_url": "https://api.github.com/users/MicaelJarniac/events{/privacy}",
"followers_url": "https://api.github.com/users/MicaelJarniac/followers",
"following_url": "https://api.github.com/users/MicaelJarniac/following{/other_user}",
"gists_url": "https://api.github.com/users/MicaelJarniac/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MicaelJarniac",
"id": 19514231,
"login": "MicaelJarniac",
"node_id": "MDQ6VXNlcjE5NTE0MjMx",
"organizations_url": "https://api.github.com/users/MicaelJarniac/orgs",
"received_events_url": "https://api.github.com/users/MicaelJarniac/received_events",
"repos_url": "https://api.github.com/users/MicaelJarniac/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MicaelJarniac/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MicaelJarniac/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MicaelJarniac"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/19514231?v=4",
"events_url": "https://api.github.com/users/MicaelJarniac/events{/privacy}",
"followers_url": "https://api.github.com/users/MicaelJarniac/followers",
"following_url": "https://api.github.com/users/MicaelJarniac/following{/other_user}",
"gists_url": "https://api.github.com/users/MicaelJarniac/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MicaelJarniac",
"id": 19514231,
"login": "MicaelJarniac",
"node_id": "MDQ6VXNlcjE5NTE0MjMx",
"organizations_url": "https://api.github.com/users/MicaelJarniac/orgs",
"received_events_url": "https://api.github.com/users/MicaelJarniac/received_events",
"repos_url": "https://api.github.com/users/MicaelJarniac/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MicaelJarniac/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MicaelJarniac/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MicaelJarniac"
}
] |
{
"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"
}
| 7
| 2021-01-11T20:03:48Z
| 2021-01-17T15:59:39Z
| 2021-01-17T15:59:39Z
|
CONTRIBUTOR
| null |
#### Location of the documentation
[pandas.DataFrame.mad](https://pandas.pydata.org/docs/dev/reference/api/pandas.DataFrame.mad.html)
#### Documentation problem
The documentation is showing placeholders instead of the actual text.

`{desc}`, `{axis_descr}`, `{name1}`, `{name2}`, `{see_also}`, `{examples}`
https://github.com/pandas-dev/pandas/blob/3e89b4c4b1580aa890023fc550774e63d499da25/pandas/core/generic.py#L10890-L10901
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39115/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39115/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39116
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39116/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39116/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39116/events
|
https://github.com/pandas-dev/pandas/issues/39116
| 783,753,148
|
MDU6SXNzdWU3ODM3NTMxNDg=
| 39,116
|
DataFrame.apply doesn't handle numpy ops or DataFrame properties
|
{
"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": "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": "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
|
{
"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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-01-11T22:30:14Z
| 2021-01-12T01:15:07Z
| 2021-01-12T01:15:07Z
|
MEMBER
| null |
```
s = pd.Series([1, 2])
df = pd.DataFrame([1, 2])
print(s.agg("sqrt"))
print(df.agg("sqrt"))
print(s.apply("sqrt"))
print(df.apply("sqrt"))
print(s.agg("size"))
print(df.agg("size"))
print(s.apply("size"))
print(df.apply("size"))
```
In each of the two blocks, first three lines all give the expected output and the last raises.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39116/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39116/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39117
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39117/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39117/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39117/events
|
https://github.com/pandas-dev/pandas/issues/39117
| 783,766,634
|
MDU6SXNzdWU3ODM3NjY2MzQ=
| 39,117
|
API: pd.array(index_or_series[object]) should infer like Series and Index constructors
|
{
"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": "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"
},
{
"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"
}
] |
open
| false
| null |
[] | null | 11
| 2021-01-11T22:57:12Z
| 2021-01-19T11:01:19Z
| null |
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/39117/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39117/timeline
| null | null | null |
|
https://api.github.com/repos/pandas-dev/pandas/issues/39118
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39118/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39118/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39118/events
|
https://github.com/pandas-dev/pandas/pull/39118
| 783,783,393
|
MDExOlB1bGxSZXF1ZXN0NTUzMDg0Njkx
| 39,118
|
ENH: Allow numpy ops and DataFrame properties as str arguments to DataFrame.apply
|
{
"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": "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": "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": "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"
}
| 1
| 2021-01-11T23:35:03Z
| 2021-01-12T01:27:48Z
| 2021-01-12T01:15:07Z
|
MEMBER
| null |
- [x] closes #39116
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39118/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39118/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39118.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39118",
"merged_at": "2021-01-12T01:15:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39118.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39118"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.