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/37419
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37419/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37419/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37419/events
https://github.com/pandas-dev/pandas/pull/37419
729,652,188
MDExOlB1bGxSZXF1ZXN0NTEwMTAxNjQx
37,419
fix windows issue pre-commit
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "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": "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": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-10-26T15:13:43Z
2020-10-26T17:17:23Z
2020-10-26T17:17:19Z
MEMBER
null
By not explicitly using `python` in the entry, we would get ``` Executable `python3` not found ``` on Windows xref https://github.com/pandas-dev/pandas/pull/37023#issuecomment-716607730
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37419/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37419/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37419.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37419", "merged_at": "2020-10-26T17:17:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37419.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37419" }
https://api.github.com/repos/pandas-dev/pandas/issues/37420
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37420/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37420/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37420/events
https://github.com/pandas-dev/pandas/pull/37420
729,662,691
MDExOlB1bGxSZXF1ZXN0NTEwMTEwMTc4
37,420
TST/REF: collect tests by method from tests.internals
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-26T15:25:27Z
2020-10-26T19:09:10Z
2020-10-26T18:52:23Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37420/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37420/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37420.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37420", "merged_at": "2020-10-26T18:52:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37420.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37420" }
https://api.github.com/repos/pandas-dev/pandas/issues/37421
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37421/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37421/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37421/events
https://github.com/pandas-dev/pandas/pull/37421
729,663,683
MDExOlB1bGxSZXF1ZXN0NTEwMTExMDA0
37,421
TST/REF: collect tests by method from generic
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-26T15:26:37Z
2020-11-05T18:33:32Z
2020-10-27T13:26:02Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37421/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37421/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37421.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37421", "merged_at": "2020-10-27T13:26:02Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37421.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37421" }
https://api.github.com/repos/pandas-dev/pandas/issues/37422
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37422/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37422/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37422/events
https://github.com/pandas-dev/pandas/pull/37422
729,675,617
MDExOlB1bGxSZXF1ZXN0NTEwMTIwNjQ1
37,422
REF: avoid special-casing inside DTA/TDA.mean, flesh out 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": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-26T15:40:02Z
2020-10-26T20:54:54Z
2020-10-26T20:13:48Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37422/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37422/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37422.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37422", "merged_at": "2020-10-26T20:13:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37422.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37422" }
https://api.github.com/repos/pandas-dev/pandas/issues/37423
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37423/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37423/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37423/events
https://github.com/pandas-dev/pandas/pull/37423
729,764,272
MDExOlB1bGxSZXF1ZXN0NTEwMTkyMjQ5
37,423
REF: avoid special case in DTA/TDA.median, flesh out 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": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
3
2020-10-26T17:30:04Z
2020-10-31T20:53:18Z
2020-10-31T18:57:37Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Also fixes currently-incorrect empty case.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37423/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37423/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37423.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37423", "merged_at": "2020-10-31T18:57:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37423.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37423" }
https://api.github.com/repos/pandas-dev/pandas/issues/37424
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37424/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37424/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37424/events
https://github.com/pandas-dev/pandas/pull/37424
729,776,161
MDExOlB1bGxSZXF1ZXN0NTEwMjAxOTAx
37,424
TST/REF: misplaced tests in frame.test_dtypes
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-26T17:46:38Z
2020-10-26T22:07:47Z
2020-10-26T22:05:21Z
MEMBER
null
After moving them, test_dtypes is specific to DataFrame.dtypes, so move that file to tests/frame/methods/test_dtypes.py
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37424/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37424/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37424.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37424", "merged_at": "2020-10-26T22:05:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37424.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37424" }
https://api.github.com/repos/pandas-dev/pandas/issues/37425
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37425/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37425/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37425/events
https://github.com/pandas-dev/pandas/pull/37425
729,779,959
MDExOlB1bGxSZXF1ZXN0NTEwMjA0ODUy
37,425
BUG: DataFrame.min/max dt64 with skipna=False
{ "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": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-26T17:52:06Z
2020-10-29T01:59:05Z
2020-10-29T01:06:26Z
MEMBER
null
- [x] closes #36907 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37425/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37425/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37425.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37425", "merged_at": "2020-10-29T01:06:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37425.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37425" }
https://api.github.com/repos/pandas-dev/pandas/issues/37426
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37426/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37426/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37426/events
https://github.com/pandas-dev/pandas/pull/37426
729,832,460
MDExOlB1bGxSZXF1ZXN0NTEwMjQ3NDgw
37,426
PERF: reverted change from commit 7d257c69 to solve issue #37081
{ "avatar_url": "https://avatars.githubusercontent.com/u/7524704?v=4", "events_url": "https://api.github.com/users/ukarroum/events{/privacy}", "followers_url": "https://api.github.com/users/ukarroum/followers", "following_url": "https://api.github.com/users/ukarroum/following{/other_user}", "gists_url": "https://api.github.com/users/ukarroum/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ukarroum", "id": 7524704, "login": "ukarroum", "node_id": "MDQ6VXNlcjc1MjQ3MDQ=", "organizations_url": "https://api.github.com/users/ukarroum/orgs", "received_events_url": "https://api.github.com/users/ukarroum/received_events", "repos_url": "https://api.github.com/users/ukarroum/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ukarroum/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ukarroum/subscriptions", "type": "User", "url": "https://api.github.com/users/ukarroum" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
7
2020-10-26T19:10:02Z
2020-11-08T03:01:32Z
2020-11-08T03:01:28Z
CONTRIBUTOR
null
reverted change from commit 7d257c697 to solve issue #37081 - [x] closes #37081 - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37426/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37426/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37426.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37426", "merged_at": "2020-11-08T03:01:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37426.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37426" }
https://api.github.com/repos/pandas-dev/pandas/issues/37427
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37427/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37427/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37427/events
https://github.com/pandas-dev/pandas/issues/37427
729,847,323
MDU6SXNzdWU3Mjk4NDczMjM=
37,427
BUG: NBC change in reindexing logic of Series.__setitem__ in pandas=1.1.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/52973316?v=4", "events_url": "https://api.github.com/users/kozlov-alexey/events{/privacy}", "followers_url": "https://api.github.com/users/kozlov-alexey/followers", "following_url": "https://api.github.com/users/kozlov-alexey/following{/other_user}", "gists_url": "https://api.github.com/users/kozlov-alexey/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kozlov-alexey", "id": 52973316, "login": "kozlov-alexey", "node_id": "MDQ6VXNlcjUyOTczMzE2", "organizations_url": "https://api.github.com/users/kozlov-alexey/orgs", "received_events_url": "https://api.github.com/users/kozlov-alexey/received_events", "repos_url": "https://api.github.com/users/kozlov-alexey/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kozlov-alexey/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kozlov-alexey/subscriptions", "type": "User", "url": "https://api.github.com/users/kozlov-alexey" }
[ { "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": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
9
2020-10-26T19:33:28Z
2020-12-11T12:51:07Z
2020-10-30T08:14:54Z
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. Hi, The following example of using `Series.__setitem__` shows different results on **pandas=1.0.5** and **pandas=1.1.3**: ``` import pandas as pd import numpy as np S1 = pd.Series([0, 1, -12, 3, -10, 5, 6, 7, 8, -11, -13], dtype=np.int32) idx = pd.Series([4, 9, 2, 10], dtype=np.int64) value = pd.Series([-10, -11, -12, -13], dtype=np.int32) S1[idx] = value S1 ``` It looks like [#33643](https://github.com/pandas-dev/pandas/pull/33643) changed the semantics of setitem operation when assigned values are `pandas.Series`, i.e. the old-behavior was to first align value with idx and then assign value items to S1 basing on idx.values as index labels, so result was: ``` >>> S1 0 0 1 1 2 -12 3 3 4 -10 5 5 6 6 7 7 8 8 9 -11 10 -13 dtype: int32 ``` And now the result is as if `S1[idx]` took precedence before the actual assignment, so that labels in `idx.values` which are absent in `value.index` are assigned NaNs: ``` >>> S1 0 0.0 1 1.0 2 -12.0 3 3.0 4 NaN 5 5.0 6 6.0 7 7.0 8 8.0 9 NaN 10 NaN dtype: float64 ``` Can you please confirm this was intentional change (as I don't see any tests updated to reflect that, nor there are mentions in "What’s new in 1.1.0" section of the documentation)? From the user perspective it looks like with new implementation, user will have to ensure that `value.index == idx.values` to achieve the same result, which is not a big deal of course, but still it's some additional code. First version where the issue appears: ``` INSTALLED VERSIONS ------------------ commit : 4071c3b872e4ef98a2a2d7c752dd5d2030c4df6e python : 3.7.7.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18362 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.1.0.dev0+1307.g4071c3b87 ``` Kind Regards, Alexey.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37427/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37427/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37428
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37428/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37428/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37428/events
https://github.com/pandas-dev/pandas/pull/37428
729,861,556
MDExOlB1bGxSZXF1ZXN0NTEwMjcxNDAz
37,428
Failing test_missing_required_dependency in pandas-wheels
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
1
2020-10-26T19:57:06Z
2020-10-27T12:57:40Z
2020-10-27T12:49:45Z
MEMBER
null
- [ ] closes #33999 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry tested at https://github.com/simonjayhawkins/pandas-release/actions/runs/329803554 ( patched from Gist https://gist.github.com/simonjayhawkins/f26d3e26fd55159299b38204f7f3295c and skips for test_missing_required_dependencies removed for conda and pip tests) following merge can also remove from https://github.com/MacPython/pandas-wheels/blob/5543626b261f5cb55cebfb300c156718c1796ce3/config.sh#L34
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37428/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37428/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37428.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37428", "merged_at": "2020-10-27T12:49:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37428.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37428" }
https://api.github.com/repos/pandas-dev/pandas/issues/37429
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37429/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37429/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37429/events
https://github.com/pandas-dev/pandas/issues/37429
729,916,930
MDU6SXNzdWU3Mjk5MTY5MzA=
37,429
BUG: cannot safely cast non-equivalent float64 to Int64
{ "avatar_url": "https://avatars.githubusercontent.com/u/30844937?v=4", "events_url": "https://api.github.com/users/aeslava97/events{/privacy}", "followers_url": "https://api.github.com/users/aeslava97/followers", "following_url": "https://api.github.com/users/aeslava97/following{/other_user}", "gists_url": "https://api.github.com/users/aeslava97/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aeslava97", "id": 30844937, "login": "aeslava97", "node_id": "MDQ6VXNlcjMwODQ0OTM3", "organizations_url": "https://api.github.com/users/aeslava97/orgs", "received_events_url": "https://api.github.com/users/aeslava97/received_events", "repos_url": "https://api.github.com/users/aeslava97/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aeslava97/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aeslava97/subscriptions", "type": "User", "url": "https://api.github.com/users/aeslava97" }
[ { "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
7
2020-10-26T21:21:09Z
2021-08-13T14:43:50Z
2021-08-13T05:27:03Z
NONE
null
```python import pandas as pd import numpy as np df = pd.DataFrame(np.random.rand(3,4), columns= list('ABCD')) df_int = pd.to_numeric(df['A'], errors='coerce').astype('Int64') ``` #### Problem description cannot safely cast non-equivalent float64 to Int64, it should happen like when you convert from float64 to int64, which is rounding down the number #### Expected Output 0 0 1 0 2 0 Name: A, dtype: Int64 #### Output of ``pd.show_versions()`` pandas : 1.0.1 You can pass to Int64 safely by doing: ```python df_int = np.floor(pd.to_numeric(df['A'], errors='coerce')).astype('Int64') ``` <details> --------------------------------------------------------------------------- TypeError Traceback (most recent call last) ~\anaconda3\lib\site-packages\pandas\core\arrays\integer.py in safe_cast(values, dtype, copy) 143 try: --> 144 return values.astype(dtype, casting="safe", copy=copy) 145 except TypeError: TypeError: Cannot cast array from dtype('float64') to dtype('int64') according to the rule 'safe' During handling of the above exception, another exception occurred: TypeError Traceback (most recent call last) <ipython-input-14-8151dc1b5846> in <module> ----> 1 df_int = pd.to_numeric(df['A'], errors='coerce').astype('Int64') 2 df_int ~\anaconda3\lib\site-packages\pandas\core\generic.py in astype(self, dtype, copy, errors) 5696 else: 5697 # else, only a single dtype is given -> 5698 new_data = self._data.astype(dtype=dtype, copy=copy, errors=errors) 5699 return self._constructor(new_data).__finalize__(self) 5700 ~\anaconda3\lib\site-packages\pandas\core\internals\managers.py in astype(self, dtype, copy, errors) 580 581 def astype(self, dtype, copy: bool = False, errors: str = "raise"): --> 582 return self.apply("astype", dtype=dtype, copy=copy, errors=errors) 583 584 def convert(self, **kwargs): ~\anaconda3\lib\site-packages\pandas\core\internals\managers.py in apply(self, f, filter, **kwargs) 440 applied = b.apply(f, **kwargs) 441 else: --> 442 applied = getattr(b, f)(**kwargs) 443 result_blocks = _extend_blocks(applied, result_blocks) 444 ~\anaconda3\lib\site-packages\pandas\core\internals\blocks.py in astype(self, dtype, copy, errors) 623 vals1d = values.ravel() 624 try: --> 625 values = astype_nansafe(vals1d, dtype, copy=True) 626 except (ValueError, TypeError): 627 # e.g. astype_nansafe can fail on object-dtype of strings ~\anaconda3\lib\site-packages\pandas\core\dtypes\cast.py in astype_nansafe(arr, dtype, copy, skipna) 819 # dispatch on extension dtype if needed 820 if is_extension_array_dtype(dtype): --> 821 return dtype.construct_array_type()._from_sequence(arr, dtype=dtype, copy=copy) 822 823 if not isinstance(dtype, np.dtype): ~\anaconda3\lib\site-packages\pandas\core\arrays\integer.py in _from_sequence(cls, scalars, dtype, copy) 348 @classmethod 349 def _from_sequence(cls, scalars, dtype=None, copy=False): --> 350 return integer_array(scalars, dtype=dtype, copy=copy) 351 352 @classmethod ~\anaconda3\lib\site-packages\pandas\core\arrays\integer.py in integer_array(values, dtype, copy) 129 TypeError if incompatible types 130 """ --> 131 values, mask = coerce_to_array(values, dtype=dtype, copy=copy) 132 return IntegerArray(values, mask) 133 ~\anaconda3\lib\site-packages\pandas\core\arrays\integer.py in coerce_to_array(values, dtype, mask, copy) 245 values = safe_cast(values, dtype, copy=False) 246 else: --> 247 values = safe_cast(values, dtype, copy=False) 248 249 return values, mask ~\anaconda3\lib\site-packages\pandas\core\arrays\integer.py in safe_cast(values, dtype, copy) 150 151 raise TypeError( --> 152 f"cannot safely cast non-equivalent {values.dtype} to {np.dtype(dtype)}" 153 ) 154 TypeError: cannot safely cast non-equivalent float64 to int64 </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/37429/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37429/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37430
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37430/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37430/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37430/events
https://github.com/pandas-dev/pandas/pull/37430
729,924,255
MDExOlB1bGxSZXF1ZXN0NTEwMzIxMDk2
37,430
TST/REF: collect tests by method
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-26T21:33:45Z
2020-10-27T15:06:46Z
2020-10-27T12:53:31Z
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/37430/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37430/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37430.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37430", "merged_at": "2020-10-27T12:53:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37430.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37430" }
https://api.github.com/repos/pandas-dev/pandas/issues/37431
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37431/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37431/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37431/events
https://github.com/pandas-dev/pandas/pull/37431
729,928,532
MDExOlB1bGxSZXF1ZXN0NTEwMzI0NTU4
37,431
TST/REF: collect multilevel tests by method
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-26T21:41:28Z
2020-10-28T00:36:58Z
2020-10-28T00:23:09Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37431/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37431/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37431.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37431", "merged_at": "2020-10-28T00:23:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37431.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37431" }
https://api.github.com/repos/pandas-dev/pandas/issues/37432
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37432/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37432/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37432/events
https://github.com/pandas-dev/pandas/pull/37432
729,932,318
MDExOlB1bGxSZXF1ZXN0NTEwMzI3NjI4
37,432
Fix regression in iloc with boolean list
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "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": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
8
2020-10-26T21:48:22Z
2020-10-28T09:26:50Z
2020-10-28T00:22:30Z
MEMBER
null
- [x] closes #36741 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Run tests in ``indexes`` and ``indexing`` locally without failure.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37432/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37432/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37432.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37432", "merged_at": "2020-10-28T00:22:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37432.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37432" }
https://api.github.com/repos/pandas-dev/pandas/issues/37433
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37433/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37433/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37433/events
https://github.com/pandas-dev/pandas/pull/37433
729,936,441
MDExOlB1bGxSZXF1ZXN0NTEwMzMwOTYw
37,433
REGR: fix groupby std() with nullable dtypes
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
6
2020-10-26T21:56:27Z
2020-10-29T19:31:00Z
2020-10-27T12:38:15Z
MEMBER
null
Fixes #37415
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37433/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37433/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37433.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37433", "merged_at": "2020-10-27T12:38:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37433.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37433" }
https://api.github.com/repos/pandas-dev/pandas/issues/37434
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37434/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37434/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37434/events
https://github.com/pandas-dev/pandas/pull/37434
729,950,603
MDExOlB1bGxSZXF1ZXN0NTEwMzQyNjU2
37,434
TST/REF: collect tests by method
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-26T22:25:19Z
2020-10-27T02:44:59Z
2020-10-27T02:43:17Z
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/37434/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37434/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37434.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37434", "merged_at": "2020-10-27T02:43:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37434.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37434" }
https://api.github.com/repos/pandas-dev/pandas/issues/37435
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37435/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37435/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37435/events
https://github.com/pandas-dev/pandas/pull/37435
729,980,946
MDExOlB1bGxSZXF1ZXN0NTEwMzY4MDY4
37,435
CI: xfail windows numexpr test
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-26T23:34:39Z
2020-10-27T02:57:54Z
2020-10-27T02:57:28Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37435/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37435/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37435.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37435", "merged_at": "2020-10-27T02:57:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37435.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37435" }
https://api.github.com/repos/pandas-dev/pandas/issues/37436
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37436/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37436/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37436/events
https://github.com/pandas-dev/pandas/pull/37436
730,022,904
MDExOlB1bGxSZXF1ZXN0NTEwNDAyMTgy
37,436
ENH: std for dt64 dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-27T01:25:48Z
2020-10-30T17:00:08Z
2020-10-30T16:26:35Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37436/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37436/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37436.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37436", "merged_at": "2020-10-30T16:26:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37436.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37436" }
https://api.github.com/repos/pandas-dev/pandas/issues/37437
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37437/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37437/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37437/events
https://github.com/pandas-dev/pandas/pull/37437
730,142,221
MDExOlB1bGxSZXF1ZXN0NTEwNDk3MjI3
37,437
CLN: Clean DirNameMixin
{ "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" }
[]
closed
false
null
[]
null
1
2020-10-27T06:08:52Z
2021-06-13T10:09:02Z
2020-10-27T07:37:49Z
CONTRIBUTOR
null
The available accessors are already supplied by the `__dir__` method's `super().__dir__()` call, so simplifications are possible.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37437/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37437/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37437.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37437", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/37437.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37437" }
https://api.github.com/repos/pandas-dev/pandas/issues/37438
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37438/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37438/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37438/events
https://github.com/pandas-dev/pandas/issues/37438
730,212,114
MDU6SXNzdWU3MzAyMTIxMTQ=
37,438
xlrd is required for handle excel in pandas but it is EOL and yield warnings on py37
{ "avatar_url": "https://avatars.githubusercontent.com/u/10364941?v=4", "events_url": "https://api.github.com/users/MikHulk/events{/privacy}", "followers_url": "https://api.github.com/users/MikHulk/followers", "following_url": "https://api.github.com/users/MikHulk/following{/other_user}", "gists_url": "https://api.github.com/users/MikHulk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MikHulk", "id": 10364941, "login": "MikHulk", "node_id": "MDQ6VXNlcjEwMzY0OTQx", "organizations_url": "https://api.github.com/users/MikHulk/orgs", "received_events_url": "https://api.github.com/users/MikHulk/received_events", "repos_url": "https://api.github.com/users/MikHulk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MikHulk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MikHulk/subscriptions", "type": "User", "url": "https://api.github.com/users/MikHulk" }
[]
closed
false
null
[]
null
2
2020-10-27T08:00:06Z
2020-10-27T08:51:50Z
2020-10-27T08:18:44Z
NONE
null
Hello, To use `pandas.read_excel` and `pandas.DataFrame.to_excel` we need xlrd. xlrd is EOL, and can be replaced with OpenPyXL Do you plan this migration ? Moreover, now xlrd yield warnings with python 3.7 ``` xlrd/xlsx.py:266: PendingDeprecationWarning: This method will be removed in future versions. Use 'tree.iter()' or 'list(tree.iter())' instead. for elem in self.tree.iter() if Element_has_iter else self.tree.getiterator(): ``` ``` xlrd/xlsx.py:312: PendingDeprecationWarning: This method will be removed in future versions. Use 'tree.iter()' or 'list(tree.iter())' instead. for elem in self.tree.iter() if Element_has_iter else self.tree.getiterator() ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37438/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37438/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37439
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37439/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37439/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37439/events
https://github.com/pandas-dev/pandas/pull/37439
730,215,998
MDExOlB1bGxSZXF1ZXN0NTEwNTU4MTc2
37,439
REGR: fix rank algo for read-only data
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
5
2020-10-27T08:05:41Z
2020-10-28T07:23:30Z
2020-10-27T22:09:06Z
MEMBER
null
Closes #37290
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37439/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37439/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37439.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37439", "merged_at": "2020-10-27T22:09:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37439.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37439" }
https://api.github.com/repos/pandas-dev/pandas/issues/37440
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37440/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37440/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37440/events
https://github.com/pandas-dev/pandas/pull/37440
730,242,522
MDExOlB1bGxSZXF1ZXN0NTEwNTc5NDkx
37,440
Upgrade pygrep, use in-built rst-directive-colons
{ "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": "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": "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": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-27T08:47:40Z
2020-10-27T13:28:49Z
2020-10-27T12:52:15Z
MEMBER
null
I got a PR in to pre-commit/pygrep-hooks to make the "incorrect-sphinx-directives" hook a built-in one (as it's not specific to pandas) :tada: So, let's use it? They also have another useful hook (`rst-inline-touching-normal`), which caught a couple of errors which I've fixed below. The reason why I've kept `rst-backticks` to just `rst` files (as opposed to `types: [text]` like the other two) is that in docstrings, the numpy guide instructs to use single backticks for variable (though if it was ever desirable to change that, then this hook would make it pretty easy to check for consistency)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37440/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37440/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37440.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37440", "merged_at": "2020-10-27T12:52:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37440.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37440" }
https://api.github.com/repos/pandas-dev/pandas/issues/37441
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37441/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37441/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37441/events
https://github.com/pandas-dev/pandas/issues/37441
730,286,461
MDU6SXNzdWU3MzAyODY0NjE=
37,441
BUG: Excessive memory usage loading Dataframe with mixed data types from HDF5 file saved in "table" format
{ "avatar_url": "https://avatars.githubusercontent.com/u/2268615?v=4", "events_url": "https://api.github.com/users/capslockwizard/events{/privacy}", "followers_url": "https://api.github.com/users/capslockwizard/followers", "following_url": "https://api.github.com/users/capslockwizard/following{/other_user}", "gists_url": "https://api.github.com/users/capslockwizard/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/capslockwizard", "id": 2268615, "login": "capslockwizard", "node_id": "MDQ6VXNlcjIyNjg2MTU=", "organizations_url": "https://api.github.com/users/capslockwizard/orgs", "received_events_url": "https://api.github.com/users/capslockwizard/received_events", "repos_url": "https://api.github.com/users/capslockwizard/repos", "site_admin": false, "starred_url": "https://api.github.com/users/capslockwizard/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/capslockwizard/subscriptions", "type": "User", "url": "https://api.github.com/users/capslockwizard" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "5319e7", "default": 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" } ]
open
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/86092192?v=4", "events_url": "https://api.github.com/users/trevorkask/events{/privacy}", "followers_url": "https://api.github.com/users/trevorkask/followers", "following_url": "https://api.github.com/users/trevorkask/following{/other_user}", "gists_url": "https://api.github.com/users/trevorkask/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/trevorkask", "id": 86092192, "login": "trevorkask", "node_id": "MDQ6VXNlcjg2MDkyMTky", "organizations_url": "https://api.github.com/users/trevorkask/orgs", "received_events_url": "https://api.github.com/users/trevorkask/received_events", "repos_url": "https://api.github.com/users/trevorkask/repos", "site_admin": false, "starred_url": "https://api.github.com/users/trevorkask/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/trevorkask/subscriptions", "type": "User", "url": "https://api.github.com/users/trevorkask" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/86092192?v=4", "events_url": "https://api.github.com/users/trevorkask/events{/privacy}", "followers_url": "https://api.github.com/users/trevorkask/followers", "following_url": "https://api.github.com/users/trevorkask/following{/other_user}", "gists_url": "https://api.github.com/users/trevorkask/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/trevorkask", "id": 86092192, "login": "trevorkask", "node_id": "MDQ6VXNlcjg2MDkyMTky", "organizations_url": "https://api.github.com/users/trevorkask/orgs", "received_events_url": "https://api.github.com/users/trevorkask/received_events", "repos_url": "https://api.github.com/users/trevorkask/repos", "site_admin": false, "starred_url": "https://api.github.com/users/trevorkask/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/trevorkask/subscriptions", "type": "User", "url": "https://api.github.com/users/trevorkask" } ]
null
1
2020-10-27T09:47:48Z
2021-08-18T23:02:14Z
null
NONE
null
#### Code Sample Environment setup: ``` conda create -n bug_test python=3.8 pandas pytables numpy psutil conda activate bug_test ``` Test code: ```python import psutil import numpy as np import pandas as pd import os import gc random_np = np.random.randint(0, 1e16, size=(25000000,4)) random_df = pd.DataFrame(random_np) random_df['Test'] = np.random.rand(25000000,1) random_df.set_index(0, inplace=True) random_df.sort_index(inplace=True) random_df.to_hdf('test.h5', key='random_df', mode='w', format='table') del random_np del random_df gc.collect() initial_memory_usage = psutil.Process(os.getpid()).memory_info().rss random_df = pd.read_hdf('test.h5') print(f'Memory Usage According to Pandas: {random_df.__sizeof__()/1000000000:.2f}GB') print(f'Real Memory Usage: {(psutil.Process(os.getpid()).memory_info().rss - initial_memory_usage)/1000000000:.2f}GB') random_df.index = random_df.index.copy(deep=True) print(f'Memory Usage After Temp Fix: {(psutil.Process(os.getpid()).memory_info().rss - initial_memory_usage)/1000000000:.2f}GB') del random_df gc.collect() print(f'Memory Usage After Deleting Table: {(psutil.Process(os.getpid()).memory_info().rss - initial_memory_usage)/1000000000:.2f}GB') ``` #### Problem description The above code generates a 1GB df table with mixed data types and saves it to a HDF5 file in "table" format. Loading the HDF5 file back, we expect it to use 1GB of memory instead it uses 1.8GB of memory. I have found that the issue is with the index of the df. If I do a deep copy and replace it with the copy, the excessive memory usage goes away and memory usage is 1GB as expected. I have initially encountered this issue when using Pandas 1.0.5 but I have tested this on Pandas 1.1.3 and the issue still exists. When I was investigating the bug by going through the code of Pandas 1.0.5, I noticed that PyTables was used to read the HDF5 file and returns a NumPy structured array. Dataframes were created using this NumPy array and pd.concat was used to combine them into a single df. The pd.concat makes a copy of the original data instead of just pointing to the NumPy array. However, the index of the combined table still points to the original NumPy array. I think this explains the excessive memory usage because GC cannot collect the NumPy array since there still a reference to it. Due to significant code changes to the read_hdf in Pandas 1.13, I did not have time to find out if this is still the same problem or another problem. #### Expected Output 1GB df table should use 1GB of memory instead of 1.8GB #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 4.19.104-microsoft-standard Version : #1 SMP Wed Feb 19 06:37:35 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : C.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.3 numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.4 setuptools : 50.3.0.post20201006 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 : 2.7.1 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : 3.6.1 tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37441/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37441/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37442
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37442/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37442/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37442/events
https://github.com/pandas-dev/pandas/issues/37442
730,330,788
MDU6SXNzdWU3MzAzMzA3ODg=
37,442
BUG: read csv with enclosed double quotes
{ "avatar_url": "https://avatars.githubusercontent.com/u/7539963?v=4", "events_url": "https://api.github.com/users/zer0link/events{/privacy}", "followers_url": "https://api.github.com/users/zer0link/followers", "following_url": "https://api.github.com/users/zer0link/following{/other_user}", "gists_url": "https://api.github.com/users/zer0link/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/zer0link", "id": 7539963, "login": "zer0link", "node_id": "MDQ6VXNlcjc1Mzk5NjM=", "organizations_url": "https://api.github.com/users/zer0link/orgs", "received_events_url": "https://api.github.com/users/zer0link/received_events", "repos_url": "https://api.github.com/users/zer0link/repos", "site_admin": false, "starred_url": "https://api.github.com/users/zer0link/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zer0link/subscriptions", "type": "User", "url": "https://api.github.com/users/zer0link" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
1
2020-10-27T10:42:48Z
2020-11-04T09:50:28Z
2020-11-04T09:50:28Z
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 def read_as_df(self, file_path): return pd.read_csv( file_path, sep='|', quoting=csv.QUOTE_ALL, encoding='utf-16' ) ``` #### Problem description I have a csv with some data with separator "|" and all columns are enclosed with double quotes: ``` "Code"|"Owner"|"OwnerName"|"Age"|"Description"|"AdditionalRemarks" "122"|"100"|"Random owner 1"|"52"|"’Some random description""|"Some addtitional remarks" "123"|"101"|"Owner 2"|"32"|"Data1 | Data2 | Data3"|"Addtitional remarks ++" ``` When I read the csv using the code above: I got this result: #### Shown Output: ![image](https://user-images.githubusercontent.com/7539963/97289933-29077a80-1848-11eb-9de2-73dc221c0787.png) #### Expected Output For data row 1: the addtional remarks column is read as part of the description column For data row 2: the data looks fine #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag] INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.7.4.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.17763 machine : AMD64 processor : Intel64 Family 6 Model 94 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : None.None pandas : 1.1.3 numpy : 1.19.2 pytz : 2019.2 dateutil : 2.8.0 pip : 20.2.3 setuptools : 40.8.0 Cython : None pytest : 5.3.1 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : 1.0.1 pymysql : 0.10.1 psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 2.11.1 IPython : 6.3.1 pandas_datareader: None bs4 : None bottleneck : None fsspec : 0.8.4 fastparquet : 0.3.2 gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 1.0.1 pytables : None pyxlsb : None s3fs : 0.3.4 scipy : None sqlalchemy : 1.3.20 tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : 0.45.1 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37442/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37442/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37443
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37443/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37443/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37443/events
https://github.com/pandas-dev/pandas/issues/37443
730,336,461
MDU6SXNzdWU3MzAzMzY0NjE=
37,443
ENH: to_latex(): add posibility to define the latex environment (instead of table)
{ "avatar_url": "https://avatars.githubusercontent.com/u/31111509?v=4", "events_url": "https://api.github.com/users/horror-vacui/events{/privacy}", "followers_url": "https://api.github.com/users/horror-vacui/followers", "following_url": "https://api.github.com/users/horror-vacui/following{/other_user}", "gists_url": "https://api.github.com/users/horror-vacui/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/horror-vacui", "id": 31111509, "login": "horror-vacui", "node_id": "MDQ6VXNlcjMxMTExNTA5", "organizations_url": "https://api.github.com/users/horror-vacui/orgs", "received_events_url": "https://api.github.com/users/horror-vacui/received_events", "repos_url": "https://api.github.com/users/horror-vacui/repos", "site_admin": false, "starred_url": "https://api.github.com/users/horror-vacui/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/horror-vacui/subscriptions", "type": "User", "url": "https://api.github.com/users/horror-vacui" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "006b75", "default": false, "description": "to_latex", "id": 251382258, "name": "IO LaTeX", "node_id": "MDU6TGFiZWwyNTEzODIyNTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" }, { "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": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
5
2020-10-27T10:51:00Z
2021-07-29T04:37:39Z
2021-07-28T01:15:43Z
NONE
null
#### Is your feature request related to a problem? I wish pandas's to_latex() function could create table* environment instead of table for wide tables. The generated table sometimes does not fit into one column of a two column document. #### Describe the solution you'd like A parameter where one can define the name of the environment. E.g. `df.to_latex(env="foobar*")` to generate: `\begin{foobar*} table stuff here \end{foobar*}`. #### API breaking implications One more parameter. #### Describe alternatives you've considered Write a code, which replaces begin{table} and end{table} to the desired environment. (table* in most of the cases)
{ "+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/37443/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37443/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37444
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37444/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37444/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37444/events
https://github.com/pandas-dev/pandas/pull/37444
730,422,462
MDExOlB1bGxSZXF1ZXN0NTEwNzI5NTk3
37,444
Backport PR #37433 on branch 1.1.x (REGR: fix groupby std() with nullable dtypes)
{ "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
0
2020-10-27T12:51:22Z
2020-10-27T14:49:09Z
2020-10-27T14:49:09Z
NONE
null
Backport PR #37433: REGR: fix groupby std() with nullable dtypes
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37444/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37444/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37444.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37444", "merged_at": "2020-10-27T14:49:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37444.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37444" }
https://api.github.com/repos/pandas-dev/pandas/issues/37445
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37445/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37445/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37445/events
https://github.com/pandas-dev/pandas/pull/37445
730,427,107
MDExOlB1bGxSZXF1ZXN0NTEwNzMzNDI3
37,445
Backport PR #37428 on branch 1.1.x (Failing test_missing_required_dependency in pandas-wheels)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
0
2020-10-27T12:57:46Z
2020-10-27T14:30:04Z
2020-10-27T14:30:04Z
NONE
null
Backport PR #37428: Failing test_missing_required_dependency in pandas-wheels
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37445/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37445/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37445.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37445", "merged_at": "2020-10-27T14:30:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37445.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37445" }
https://api.github.com/repos/pandas-dev/pandas/issues/37446
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37446/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37446/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37446/events
https://github.com/pandas-dev/pandas/pull/37446
730,430,281
MDExOlB1bGxSZXF1ZXN0NTEwNzM2MDYz
37,446
Backport PR #37221 on branch 1.1.x (Fix regression for is_monotonic_increasing with nan in MultiIndex)
{ "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": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
0
2020-10-27T13:01:56Z
2020-10-27T14:30:47Z
2020-10-27T14:30:47Z
NONE
null
Backport PR #37221: Fix regression for is_monotonic_increasing with nan in MultiIndex
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37446/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37446/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37446.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37446", "merged_at": "2020-10-27T14:30:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37446.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37446" }
https://api.github.com/repos/pandas-dev/pandas/issues/37447
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37447/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37447/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37447/events
https://github.com/pandas-dev/pandas/issues/37447
730,435,543
MDU6SXNzdWU3MzA0MzU1NDM=
37,447
DataFrame.to_csv() behaves differently when passing compression parameter
{ "avatar_url": "https://avatars.githubusercontent.com/u/8301643?v=4", "events_url": "https://api.github.com/users/tonhui/events{/privacy}", "followers_url": "https://api.github.com/users/tonhui/followers", "following_url": "https://api.github.com/users/tonhui/following{/other_user}", "gists_url": "https://api.github.com/users/tonhui/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tonhui", "id": 8301643, "login": "tonhui", "node_id": "MDQ6VXNlcjgzMDE2NDM=", "organizations_url": "https://api.github.com/users/tonhui/orgs", "received_events_url": "https://api.github.com/users/tonhui/received_events", "repos_url": "https://api.github.com/users/tonhui/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tonhui/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tonhui/subscriptions", "type": "User", "url": "https://api.github.com/users/tonhui" }
[ { "color": "06909A", "default": false, "description": "IO issues that don't fit into a more specific label", "id": 2301354, "name": "IO Data", "node_id": "MDU6TGFiZWwyMzAxMzU0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data" }, { "color": "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
[]
null
3
2020-10-27T13:08:40Z
2020-10-28T15:43:56Z
2020-10-28T15:38:22Z
NONE
null
If i use: df.to_csv('dir1/dir2/test.csv.zip') or df.to_csv('dir1/dir2/test.csv', compression='zip') to save a csv file, i found that 1. the path name no matter reletive or absolute will be included in the zip archive 2. the extension name of the actual file in the zip archive will be kept the same with the one you passed in which means if you pass in 'zip' you get a 'zip' in the archive. None of the above are true if extension name is one of [‘.gz’, ‘.bz2’, or ‘.xz’] or compression mode is one of [‘gzip’, ‘bz2’], are those desirable behavior rather than keep them all the same? Additionly if you set compression mode with one of ['gzip', 'bz2'] and passin the file name with extension 'csv' you get the compressed archive end with '.csv' which is confusing because you will get all hex code if you open it with a text editor. pd.show_version() output INSTALLED VERSIONS ------------------ commit : d9fff2792bf16178d4e450fe7384244e50635733 python : 3.8.5.final.0 python-bits : 64 OS : Darwin OS-release : 19.6.0 Version : Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : None.UTF-8 pandas : 1.1.0 numpy : 1.19.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.2 setuptools : 49.3.1.post20200810 Cython : None pytest : None hypothesis : None sphinx : 3.2.1 blosc : None feather : 0.4.1 xlsxwriter : None lxml.etree : 4.5.2 html5lib : 1.1 pymysql : 0.10.0 psycopg2 : None jinja2 : 2.11.2 IPython : 7.17.0 pandas_datareader: None bs4 : 4.9.1 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.0 numexpr : None odfpy : None openpyxl : 3.0.4 pandas_gbq : None pyarrow : 1.0.0 pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : 1.3.18 tables : None tabulate : 0.8.7 xarray : None xlrd : 1.2.0 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/37447/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37447/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37448
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37448/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37448/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37448/events
https://github.com/pandas-dev/pandas/issues/37448
730,447,263
MDU6SXNzdWU3MzA0NDcyNjM=
37,448
BUG: Inconsistent correlation between constant series (varies with number of rows)
{ "avatar_url": "https://avatars.githubusercontent.com/u/31612826?v=4", "events_url": "https://api.github.com/users/anders-kiaer/events{/privacy}", "followers_url": "https://api.github.com/users/anders-kiaer/followers", "following_url": "https://api.github.com/users/anders-kiaer/following{/other_user}", "gists_url": "https://api.github.com/users/anders-kiaer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/anders-kiaer", "id": 31612826, "login": "anders-kiaer", "node_id": "MDQ6VXNlcjMxNjEyODI2", "organizations_url": "https://api.github.com/users/anders-kiaer/orgs", "received_events_url": "https://api.github.com/users/anders-kiaer/received_events", "repos_url": "https://api.github.com/users/anders-kiaer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/anders-kiaer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/anders-kiaer/subscriptions", "type": "User", "url": "https://api.github.com/users/anders-kiaer" }
[ { "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": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
3
2020-10-27T13:23:34Z
2020-10-30T19:57:22Z
2020-10-30T19:57:22Z
NONE
null
- [X] I have checked that this issue has not already been reported (might be another variant of #20954). - [X] I have confirmed this bug exists on the latest version of pandas (`1.1.3`). - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import pandas as pd for length in [2, 3, 5, 10, 20]: print(pd.DataFrame(length*[[0.42, 0.1]], columns=["A", "B"]).corr()) ``` gives ``` A B A NaN NaN B NaN NaN A B A NaN NaN B NaN 1.0 A B A 1.0 NaN B NaN NaN A B A 1.0 -1.0 B -1.0 1.0 A B A 1.0 1.0 B 1.0 1.0 ``` #### Problem description Inconsistent output with slightly varying number of rows. Would expect correlation between series where at least one of them is constant, to be `NaN`. This makes e.g. code dependent on `dropna()` usage after calculating `corr()` difficult/error prone, as behaviour is inconsistent. #### Expected Output Either consistent `NaN` output when calculating correlation with constant data, or a warning in [`pandas.DataFrame.corr` documentation](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.corr.html) stating that returned correlation between constant series can be anything from `[1.0, -1.0, NaN]`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37448/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37448/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37449
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37449/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37449/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37449/events
https://github.com/pandas-dev/pandas/pull/37449
730,704,904
MDExOlB1bGxSZXF1ZXN0NTEwOTY1NDg0
37,449
TST/REF: collect tests by method
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-27T18:25:18Z
2020-10-29T01:59:54Z
2020-10-29T00:59:20Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37449/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37449/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37449.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37449", "merged_at": "2020-10-29T00:59:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37449.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37449" }
https://api.github.com/repos/pandas-dev/pandas/issues/37450
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37450/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37450/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37450/events
https://github.com/pandas-dev/pandas/pull/37450
730,706,437
MDExOlB1bGxSZXF1ZXN0NTEwOTY2Nzg5
37,450
PERF: faster dir() calls
{ "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": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-27T18:27:26Z
2020-10-29T14:01:01Z
2020-10-29T01:17:55Z
CONTRIBUTOR
null
I experience slow tab-completion in iPython, so I've optimized `dir` calls in pandas, e.g. ```python >>> n = 100_000 >>> ser = pd.Series(['a'] * n] >>> %timeit dir(ser) 3.73 ms ± 34.7 µs per loop # master 253 µs ± 4.3 µs per loop # this PR ``` It does this by caching the output for the info axis, when the info axis may have string, and returning an empty set for info axes that cannot have strings (numeric indexes etc.) The above didn't actually improve the subjective speed of tab completion for me, so the problem there probably is in Ipython, but the change in this PR can't hurt either.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37450/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37450/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37450.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37450", "merged_at": "2020-10-29T01:17:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37450.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37450" }
https://api.github.com/repos/pandas-dev/pandas/issues/37451
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37451/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37451/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37451/events
https://github.com/pandas-dev/pandas/pull/37451
730,718,129
MDExOlB1bGxSZXF1ZXN0NTEwOTc2NjI0
37,451
TST/REF: collect tests by method from test_io
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-27T18:44:32Z
2020-10-29T02:02:20Z
2020-10-29T01:00:05Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37451/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37451/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37451.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37451", "merged_at": "2020-10-29T01:00:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37451.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37451" }
https://api.github.com/repos/pandas-dev/pandas/issues/37452
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37452/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37452/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37452/events
https://github.com/pandas-dev/pandas/pull/37452
730,890,608
MDExOlB1bGxSZXF1ZXN0NTExMTI2NjQ5
37,452
CLN: Breakup agg
{ "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": "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": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
3
2020-10-27T22:15:30Z
2020-10-31T02:28:57Z
2020-10-30T21:55:04Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Extracted dictionary parts to `agg_dict_like`, and changed from `isinstance(arg, dict)` to `is_dict_like(arg)`. Also renamed `aggregate_multiple_funcs` to `agg_list_like`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37452/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37452/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37452.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37452", "merged_at": "2020-10-30T21:55:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37452.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37452" }
https://api.github.com/repos/pandas-dev/pandas/issues/37453
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37453/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37453/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37453/events
https://github.com/pandas-dev/pandas/pull/37453
730,894,507
MDExOlB1bGxSZXF1ZXN0NTExMTMwMjIy
37,453
ENH: Improve numerical stability for Pearson corr() and cov()
{ "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": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
6
2020-10-27T22:19:44Z
2020-10-30T20:03:38Z
2020-10-30T19:57:22Z
MEMBER
null
- [x] closes #37448 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Floating number issues when summing the same number often enough...
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37453/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37453/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37453.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37453", "merged_at": "2020-10-30T19:57:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37453.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37453" }
https://api.github.com/repos/pandas-dev/pandas/issues/37454
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37454/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37454/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37454/events
https://github.com/pandas-dev/pandas/issues/37454
730,918,989
MDU6SXNzdWU3MzA5MTg5ODk=
37,454
ValueError raised when plottting reversed fixed-frequency TimedeltaIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/8083606?v=4", "events_url": "https://api.github.com/users/theavey/events{/privacy}", "followers_url": "https://api.github.com/users/theavey/followers", "following_url": "https://api.github.com/users/theavey/following{/other_user}", "gists_url": "https://api.github.com/users/theavey/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/theavey", "id": 8083606, "login": "theavey", "node_id": "MDQ6VXNlcjgwODM2MDY=", "organizations_url": "https://api.github.com/users/theavey/orgs", "received_events_url": "https://api.github.com/users/theavey/received_events", "repos_url": "https://api.github.com/users/theavey/repos", "site_admin": false, "starred_url": "https://api.github.com/users/theavey/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/theavey/subscriptions", "type": "User", "url": "https://api.github.com/users/theavey" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-27T22:43:56Z
2020-11-18T00:55:36Z
2020-11-18T00:55:36Z
CONTRIBUTOR
null
When plotting with a `TimedeltaIndex` with a fixed frequency and `xmin > xmax`, a ValueError gets raised. ```python >>> pd.Series([1,2], index=pd.timedelta_range(start=0, periods=2, freq='D')).plot(xlim=(3, 1)) ``` > C:\ProgramData\Miniconda3\envs\env_name\lib\site-packages\pandas\plotting\_matplotlib\converter.py in __call__(self, x, pos) > 1066 def __call__(self, x, pos=0) -> str: > 1067 (vmin, vmax) = tuple(self.axis.get_view_interval()) >-> 1068 n_decimals = int(np.ceil(np.log10(100 * 1e9 / (vmax - vmin)))) > 1069 if n_decimals > 9: > 1070 n_decimals = 9 > > ValueError: cannot convert float NaN to integer Seems that there should just be an `abs` in [this line](https://github.com/pandas-dev/pandas/blob/master/pandas/plotting/_matplotlib/converter.py#L1075). I would expect this to be able to output a plot successfully. Works fine with a `TimedeltaIndex` with `freq=None`: ```python pd.Series([1,2], index=[pd.Timedelta(days=1), pd.Timedelta(days=2)]).plot(xlim=(3, 1)) ``` INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.8.6.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18362 machine : AMD64 processor : Intel64 Family 6 Model 94 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_United States.1252 pandas : 1.1.3 numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.3 setuptools : 49.6.0.post20201009 Cython : None pytest : 6.1.1 hypothesis : None sphinx : 3.2.1 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 2.11.2 IPython : 7.18.1 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.2 numexpr : 2.7.1 odfpy : None openpyxl : None pandas_gbq : None pyarrow : 1.0.1 pytables : None pyxlsb : None s3fs : None scipy : 1.5.0 sqlalchemy : 1.3.20 tables : 3.6.1 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/37454/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37454/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37455
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37455/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37455/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37455/events
https://github.com/pandas-dev/pandas/pull/37455
730,937,391
MDExOlB1bGxSZXF1ZXN0NTExMTY5MTc1
37,455
CI: Troubleshoot PY38 windows build
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
8
2020-10-27T23:07:06Z
2020-10-31T15:20:28Z
2020-10-31T14:19:49Z
MEMBER
null
Some of the error messages look like a OOM, so this is just trying cutting down the number of tests collected/run by ~40%
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37455/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37455/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37455.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37455", "merged_at": "2020-10-31T14:19:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37455.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37455" }
https://api.github.com/repos/pandas-dev/pandas/issues/37456
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37456/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37456/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37456/events
https://github.com/pandas-dev/pandas/pull/37456
730,979,041
MDExOlB1bGxSZXF1ZXN0NTExMTk5MDc2
37,456
TST/REF: misplaced .xs tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-28T00:39:50Z
2020-10-29T01:59:36Z
2020-10-29T01:01:03Z
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/37456/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37456/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37456.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37456", "merged_at": "2020-10-29T01:01:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37456.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37456" }
https://api.github.com/repos/pandas-dev/pandas/issues/37457
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37457/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37457/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37457/events
https://github.com/pandas-dev/pandas/pull/37457
730,990,457
MDExOlB1bGxSZXF1ZXN0NTExMjA2MzQ4
37,457
BUG: BusinessDay.apply_index with offset
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
3
2020-10-28T01:05:48Z
2020-11-01T02:16:39Z
2020-11-01T01:50:41Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37457/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37457/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37457.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37457", "merged_at": "2020-11-01T01:50:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37457.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37457" }
https://api.github.com/repos/pandas-dev/pandas/issues/37458
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37458/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37458/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37458/events
https://github.com/pandas-dev/pandas/pull/37458
731,024,393
MDExOlB1bGxSZXF1ZXN0NTExMjI4MjE0
37,458
CLN: de-duplicate validator
{ "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": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-28T02:21:57Z
2020-10-30T17:02:31Z
2020-10-30T16:07:45Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37458/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37458/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37458.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37458", "merged_at": "2020-10-30T16:07:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37458.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37458" }
https://api.github.com/repos/pandas-dev/pandas/issues/37459
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37459/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37459/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37459/events
https://github.com/pandas-dev/pandas/pull/37459
731,025,275
MDExOlB1bGxSZXF1ZXN0NTExMjI4ODEy
37,459
Backport PR #37439 on branch 1.1.x (REGR: fix rank algo for read-only data)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
0
2020-10-28T02:23:41Z
2020-10-28T07:24:13Z
2020-10-28T07:24:12Z
NONE
null
Backport PR #37439: REGR: fix rank algo for read-only data
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37459/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37459/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37459.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37459", "merged_at": "2020-10-28T07:24:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37459.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37459" }
https://api.github.com/repos/pandas-dev/pandas/issues/37460
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37460/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37460/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37460/events
https://github.com/pandas-dev/pandas/issues/37460
731,119,888
MDU6SXNzdWU3MzExMTk4ODg=
37,460
ENH: support casting Int arrays with nulls to np.float?
{ "avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4", "events_url": "https://api.github.com/users/arw2019/events{/privacy}", "followers_url": "https://api.github.com/users/arw2019/followers", "following_url": "https://api.github.com/users/arw2019/following{/other_user}", "gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arw2019", "id": 48889395, "login": "arw2019", "node_id": "MDQ6VXNlcjQ4ODg5Mzk1", "organizations_url": "https://api.github.com/users/arw2019/orgs", "received_events_url": "https://api.github.com/users/arw2019/received_events", "repos_url": "https://api.github.com/users/arw2019/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arw2019/subscriptions", "type": "User", "url": "https://api.github.com/users/arw2019" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "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": "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" } ]
open
false
null
[]
null
2
2020-10-28T05:42:47Z
2021-08-13T05:27:37Z
null
MEMBER
null
xref https://github.com/numpy/numpy/issues/17659 > I would expect numpy to automatically convert such arrays into a float type and fill with np.nan. However, for some reason it converts it to object: > > `pd.DataFrame({'col': [1, np.nan, 3]}).astype('UInt8').values.dtype` > > which leads to errors like this one > > `np.nanmax(pd.DataFrame({'col': [1, np.nan, 3]}).astype('UInt8').values)` > > returns "TypeError: boolean value of NA is ambiguous" > > Is that expected ? Personally I don't have a strong opinion re: whether it's a good idea to support this
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37460/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37460/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37461
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37461/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37461/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37461/events
https://github.com/pandas-dev/pandas/pull/37461
731,183,629
MDExOlB1bGxSZXF1ZXN0NTExMzQyODM4
37,461
BUG: Metadata propagation for groupby iterator
{ "avatar_url": "https://avatars.githubusercontent.com/u/468400?v=4", "events_url": "https://api.github.com/users/Japanuspus/events{/privacy}", "followers_url": "https://api.github.com/users/Japanuspus/followers", "following_url": "https://api.github.com/users/Japanuspus/following{/other_user}", "gists_url": "https://api.github.com/users/Japanuspus/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Japanuspus", "id": 468400, "login": "Japanuspus", "node_id": "MDQ6VXNlcjQ2ODQwMA==", "organizations_url": "https://api.github.com/users/Japanuspus/orgs", "received_events_url": "https://api.github.com/users/Japanuspus/received_events", "repos_url": "https://api.github.com/users/Japanuspus/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Japanuspus/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Japanuspus/subscriptions", "type": "User", "url": "https://api.github.com/users/Japanuspus" }
[ { "color": "56efc9", "default": false, "description": "_metadata, .attrs", "id": 1539579994, "name": "metadata", "node_id": "MDU6TGFiZWwxNTM5NTc5OTk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/metadata" } ]
closed
false
null
[]
{ "closed_at": "2020-12-08T12:11:38Z", "closed_issues": 81, "created_at": "2020-10-29T13:43:23Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-12-07T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/79", "id": 6047124, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels", "node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==", "number": 79, "open_issues": 0, "state": "closed", "title": "1.1.5", "updated_at": "2020-12-08T12:11:38Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79" }
12
2020-10-28T07:30:05Z
2020-11-04T14:19:10Z
2020-11-04T13:22:55Z
CONTRIBUTOR
null
Addresses part of #28283 This PR ensures that `__finalize__` is called for objects returned by iterator over `.groupby`-results. Based on the discussion and benchmarks in PR #35688 (see https://github.com/pandas-dev/pandas/pull/35688#issuecomment-675367517), `__finalize__` is _not_ called for intermediate objects used by `.apply` (and maybe other code paths). The implemented solution is the safe choice with regard to performance: An alternative solution would be to call `__finalize__` immediately after initialization (in `DataSplitter._chop()`). The downside to doing so would be the performance hit due to the overhead of finalizing intermediate objects in `.apply` (and maybe other code paths). In the benchmarks referenced above, this amounted to around 4%. The upside of finalizing immediately after initialization would be reduced complexity and that it would allow `.apply` (and any other code paths using `DataSplitter._chop` to access metadata).. - [x] closes #37343 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37461/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37461/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37461.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37461", "merged_at": "2020-11-04T13:22:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37461.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37461" }
https://api.github.com/repos/pandas-dev/pandas/issues/37462
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37462/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37462/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37462/events
https://github.com/pandas-dev/pandas/issues/37462
731,193,131
MDU6SXNzdWU3MzExOTMxMzE=
37,462
PERF: performance regression in timeseries/timestamp comparison (ASV)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "e11d21", "default": 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": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-28T07:46:09Z
2020-12-03T14:19:35Z
2020-12-03T14:19:35Z
MEMBER
null
See https://pandas.pydata.org/speed/pandas/#arithmetic.Timeseries.time_series_timestamp_compare?python=3.8&Cython=0.29.21&p-tz=None&commits=ac7ca239-038aab96 This seems to be caused by https://github.com/pandas-dev/pandas/pull/37313 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/37462/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37462/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37463
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37463/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37463/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37463/events
https://github.com/pandas-dev/pandas/pull/37463
731,220,185
MDExOlB1bGxSZXF1ZXN0NTExMzY5MzQy
37,463
Backport PR #37432 on branch 1.1.x
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
1
2020-10-28T08:27:23Z
2020-10-28T09:32:25Z
2020-10-28T09:27:50Z
MEMBER
null
(cherry picked from commit 52925335fe6d5f1ea6c79bb03da70654d9be9668) Tried to merge it. Hopefully nothing was broken in the process. Run the indexing tests locally, but have to wait for ci cc @simonjayhawkins
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37463/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37463/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37463.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37463", "merged_at": "2020-10-28T09:27:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37463.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37463" }
https://api.github.com/repos/pandas-dev/pandas/issues/37464
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37464/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37464/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37464/events
https://github.com/pandas-dev/pandas/issues/37464
731,297,991
MDU6SXNzdWU3MzEyOTc5OTE=
37,464
BUG: `pd.concat(..., axis="columns")` inconsistently keeps/drops index name
{ "avatar_url": "https://avatars.githubusercontent.com/u/41120183?v=4", "events_url": "https://api.github.com/users/DanielFEvans/events{/privacy}", "followers_url": "https://api.github.com/users/DanielFEvans/followers", "following_url": "https://api.github.com/users/DanielFEvans/following{/other_user}", "gists_url": "https://api.github.com/users/DanielFEvans/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DanielFEvans", "id": 41120183, "login": "DanielFEvans", "node_id": "MDQ6VXNlcjQxMTIwMTgz", "organizations_url": "https://api.github.com/users/DanielFEvans/orgs", "received_events_url": "https://api.github.com/users/DanielFEvans/received_events", "repos_url": "https://api.github.com/users/DanielFEvans/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DanielFEvans/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DanielFEvans/subscriptions", "type": "User", "url": "https://api.github.com/users/DanielFEvans" }
[ { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
null
3
2020-10-28T10:06:04Z
2020-10-28T16:50:46Z
2020-10-28T16:48:46Z
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import pandas as pd df1 = pd.DataFrame({"IndexColumn": [1, 2, 3], "DataColumn1": ["x", "y", "z"]}) df2 = pd.DataFrame({"IndexColumn": [4, 1, 3], "DataColumn2": ["j", "k", "l"]}) df3 = pd.DataFrame({"IndexColumn": ["a", "b", "c"], "DataColumn1": ["x", "y", "z"]}) df4 = pd.DataFrame({"IndexColumn": ["d", "a", "c"], "DataColumn2": ["j", "k", "l"]}) df1_2_merged = pd.concat([df1.set_index("IndexColumn"), df2.set_index("IndexColumn")], axis="columns") print("Integer index retained name:", df1_2_merged.index.name == "IndexColumn") # True df3_4_merged = pd.concat([df3.set_index("IndexColumn"), df4.set_index("IndexColumn")], axis="columns") print("String index retains name:", df3_4_merged.index.name == "IndexColumn") # False ``` #### Problem description `pd.concat([df, other_df], axis="columns")` with two dataframes with identical index names sometimes retains the index name, but at other times drops it. The index values themselves are kept, and the behaviour is otherwise as expected. It seems logical to always keep the index name if it is the same between both, rather than having inconsistent behaviour. This _may_ be the same as #35847. However, that discusses `Index.union()`, and taking the union of the `df3` and `df4` indices directly results in the name being propagated to the output, unlike the example above: ``` >>> df3_index = df3.set_index("IndexColumn").index >>> df4_index = df4.set_index("IndexColumn").index >>> df3_index.union(df4_index) Index(['a', 'b', 'c', 'd'], dtype='object', name='IndexColumn') ``` (I've not been able to test the master branch as it appears to now require Python 3.7, and I haven't got a Py3.7 environment handy currently) #### Expected Output In the code example above, I'd expect both to output "True", i.e. that the index name is copied through to the output. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.6.8.final.0 python-bits : 64 OS : Linux OS-release : 3.10.0-1127.19.1.el7.x86_64 Version : #1 SMP Thu Aug 20 14:39:03 CDT 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 1.1.3 numpy : 1.18.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.4 setuptools : 45.2.0 Cython : 0.29.21 pytest : 5.4.3 hypothesis : 5.16.0 sphinx : 2.4.0 blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.2 html5lib : None pymysql : None psycopg2 : 2.8.4 (dt dec pq3 ext) jinja2 : 2.11.2 IPython : None pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 0.6.2 fastparquet : None gcsfs : None matplotlib : 3.1.2 numexpr : 2.7.1 odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.15.1 pytables : None pyxlsb : None s3fs : None scipy : 1.2.1 sqlalchemy : None tables : 3.5.2 tabulate : 0.8.6 xarray : None xlrd : 1.2.0 xlwt : None numba : 0.51.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/37464/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37464/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37465
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37465/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37465/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37465/events
https://github.com/pandas-dev/pandas/issues/37465
731,316,291
MDU6SXNzdWU3MzEzMTYyOTE=
37,465
BUG: crosstab fails with categoricals on master
{ "avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4", "events_url": "https://api.github.com/users/bashtage/events{/privacy}", "followers_url": "https://api.github.com/users/bashtage/followers", "following_url": "https://api.github.com/users/bashtage/following{/other_user}", "gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bashtage", "id": 5585221, "login": "bashtage", "node_id": "MDQ6VXNlcjU1ODUyMjE=", "organizations_url": "https://api.github.com/users/bashtage/orgs", "received_events_url": "https://api.github.com/users/bashtage/received_events", "repos_url": "https://api.github.com/users/bashtage/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bashtage/subscriptions", "type": "User", "url": "https://api.github.com/users/bashtage" }
[ { "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": "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": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
6
2020-10-28T10:31:34Z
2020-10-31T15:16:56Z
2020-10-31T15:16:56Z
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. --- crosstab no longer works correctly with categorical inputs. This is a regression from 1.1.x. #### Code Sample, a copy-pastable example ```python import pandas as pd import numpy as np g = np.random.default_rng(840812492384587325982704) a = pd.Series(g.integers(0,3,size=100)).astype("category") b = pd.Series(g.integers(0,2,size=100)).astype("category") pd.crosstab(a,b,margins=True,dropna=False) ``` Produces ``` Traceback (most recent call last): File "C:\git\pandas\pandas\core\indexes\base.py", line 2965, in get_loc return self._engine.get_loc(casted_key) File "pandas\_libs\index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc cpdef get_loc(self, object val): File "pandas\_libs\index.pyx", line 98, in pandas._libs.index.IndexEngine.get_loc self._check_type(val) File "pandas\_libs\index_class_helper.pxi", line 93, in pandas._libs.index.Int64Engine._check_type raise KeyError(val) KeyError: 'All' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "pandas\_libs\index.pyx", line 705, in pandas._libs.index.BaseMultiIndexCodesEngine.get_loc indices = [0 if checknull(v) else lev.get_loc(v) + 1 File "C:\git\pandas\pandas\core\indexes\base.py", line 2963, in get_loc casted_key = self._maybe_cast_indexer(key) File "C:\git\pandas\pandas\core\indexes\category.py", line 527, in _maybe_cast_indexer return self._data._unbox_scalar(key) File "C:\git\pandas\pandas\core\arrays\categorical.py", line 1728, in _unbox_scalar code = self.categories.get_loc(key) File "C:\git\pandas\pandas\core\indexes\base.py", line 2967, in get_loc raise KeyError(key) from err KeyError: 'All' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\git\pandas\pandas\core\generic.py", line 3776, in _set_item loc = self._info_axis.get_loc(key) File "C:\git\pandas\pandas\core\indexes\multi.py", line 2795, in get_loc return self._engine.get_loc(key) File "pandas\_libs\index.pyx", line 708, in pandas._libs.index.BaseMultiIndexCodesEngine.get_loc raise KeyError(key) KeyError: ('__dummy__', 'All') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Anaconda\lib\site-packages\IPython\core\interactiveshell.py", line 3417, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "<ipython-input-3-ba4a70b3d31b>", line 7, in <module> pd.crosstab(a,b,margins=True,dropna=False) File "C:\git\pandas\pandas\core\reshape\pivot.py", line 623, in crosstab **kwargs, File "C:\git\pandas\pandas\core\frame.py", line 6972, in pivot_table observed=observed, File "C:\git\pandas\pandas\core\reshape\pivot.py", line 180, in pivot_table fill_value=fill_value, File "C:\git\pandas\pandas\core\reshape\pivot.py", line 242, in _add_margins table, data, values, rows, cols, aggfunc, observed, margins_name File "C:\git\pandas\pandas\core\reshape\pivot.py", line 331, in _generate_marginal_results piece[all_key] = margin[key] File "C:\git\pandas\pandas\core\frame.py", line 3083, in __setitem__ self._set_item(key, value) File "C:\git\pandas\pandas\core\frame.py", line 3160, in _set_item NDFrame._set_item(self, key, value) File "C:\git\pandas\pandas\core\generic.py", line 3779, in _set_item self._mgr.insert(len(self._info_axis), key, value) File "C:\git\pandas\pandas\core\internals\managers.py", line 1173, in insert new_axis = self.items.insert(loc, item) File "C:\git\pandas\pandas\core\indexes\multi.py", line 3667, in insert level = level.insert(lev_loc, k) File "C:\git\pandas\pandas\core\indexes\category.py", line 695, in insert code = self._data._validate_insert_value(item) File "C:\git\pandas\pandas\core\arrays\categorical.py", line 1186, in _validate_insert_value return self._validate_fill_value(value) File "C:\git\pandas\pandas\core\arrays\categorical.py", line 1222, in _validate_fill_value f"'fill_value={fill_value}' is not present " ValueError: 'fill_value=All' is not present in this Categorical's categories ``` #### Problem description Previously produced the correct output. A simple regression. #### Expected Output #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : d89331b96e919acc2a83f7f6201830d246018e36 python : 3.7.9.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : Intel64 Family 6 Model 94 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.2.0.dev0+948.gd89331b96 numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.4 setuptools : 50.3.0.post20201006 Cython : 0.29.21 pytest : 6.1.1 hypothesis : None sphinx : 3.2.1 blosc : None feather : None xlsxwriter : None lxml.etree : 4.4.0 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.18.1 pandas_datareader: v0.10.0dev0+30.gadb67b2 bs4 : 4.8.0 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.2 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.51.2 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37465/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37465/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37466
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37466/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37466/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37466/events
https://github.com/pandas-dev/pandas/pull/37466
731,326,697
MDExOlB1bGxSZXF1ZXN0NTExNDUxMDYx
37,466
Backport PR #35898 on branch 1.1.x: CI: docker 32-bit linux build
{ "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": "0e8a16", "default": false, "description": "32-bit systems", "id": 563047854, "name": "32bit", "node_id": "MDU6TGFiZWw1NjMwNDc4NTQ=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/32bit" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
1
2020-10-28T10:46:05Z
2020-10-28T12:22:41Z
2020-10-28T12:20:33Z
MEMBER
null
Backport PR #35898
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37466/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37466/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37466.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37466", "merged_at": "2020-10-28T12:20:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37466.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37466" }
https://api.github.com/repos/pandas-dev/pandas/issues/37467
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37467/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37467/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37467/events
https://github.com/pandas-dev/pandas/pull/37467
731,343,707
MDExOlB1bGxSZXF1ZXN0NTExNDY1MTk4
37,467
BUG: Fix .hist and .plot.hist when passing existing figure (#37278)
{ "avatar_url": "https://avatars.githubusercontent.com/u/13034472?v=4", "events_url": "https://api.github.com/users/krsnik93/events{/privacy}", "followers_url": "https://api.github.com/users/krsnik93/followers", "following_url": "https://api.github.com/users/krsnik93/following{/other_user}", "gists_url": "https://api.github.com/users/krsnik93/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/krsnik93", "id": 13034472, "login": "krsnik93", "node_id": "MDQ6VXNlcjEzMDM0NDcy", "organizations_url": "https://api.github.com/users/krsnik93/orgs", "received_events_url": "https://api.github.com/users/krsnik93/received_events", "repos_url": "https://api.github.com/users/krsnik93/repos", "site_admin": false, "starred_url": "https://api.github.com/users/krsnik93/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/krsnik93/subscriptions", "type": "User", "url": "https://api.github.com/users/krsnik93" }
[ { "color": "78bced", "default": false, "description": "Waiting for review/response from a maintainer.", "id": 2324533627, "name": "Needs Review", "node_id": "MDU6TGFiZWwyMzI0NTMzNjI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Review" } ]
closed
false
null
[]
null
3
2020-10-28T11:09:58Z
2021-10-04T00:11:07Z
2021-10-04T00:11:07Z
CONTRIBUTOR
null
- [x] closes #37278 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37467/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37467/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37467.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37467", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/37467.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37467" }
https://api.github.com/repos/pandas-dev/pandas/issues/37468
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37468/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37468/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37468/events
https://github.com/pandas-dev/pandas/pull/37468
731,374,041
MDExOlB1bGxSZXF1ZXN0NTExNDkwMDQz
37,468
BUG: Correct crosstab for categorical inputs
{ "avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4", "events_url": "https://api.github.com/users/bashtage/events{/privacy}", "followers_url": "https://api.github.com/users/bashtage/followers", "following_url": "https://api.github.com/users/bashtage/following{/other_user}", "gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bashtage", "id": 5585221, "login": "bashtage", "node_id": "MDQ6VXNlcjU1ODUyMjE=", "organizations_url": "https://api.github.com/users/bashtage/orgs", "received_events_url": "https://api.github.com/users/bashtage/received_events", "repos_url": "https://api.github.com/users/bashtage/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bashtage/subscriptions", "type": "User", "url": "https://api.github.com/users/bashtage" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
7
2020-10-28T11:53:26Z
2021-09-10T11:18:13Z
2020-10-31T15:16:56Z
CONTRIBUTOR
null
Change catch types to reflect error changes closes #37465 - [X] closes #37465 - [X] tests added / passed - [X] passes `black pandas` - [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry (N/A: Never released, caught in statsmodels pre-release testing)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37468/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37468/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37468.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37468", "merged_at": "2020-10-31T15:16:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37468.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37468" }
https://api.github.com/repos/pandas-dev/pandas/issues/37469
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37469/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37469/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37469/events
https://github.com/pandas-dev/pandas/pull/37469
731,428,675
MDExOlB1bGxSZXF1ZXN0NTExNTM1NTgz
37,469
BUG: Fix for #37454: allow reversed axis when plotting with TimedeltaIndex
{ "avatar_url": "https://avatars.githubusercontent.com/u/8083606?v=4", "events_url": "https://api.github.com/users/theavey/events{/privacy}", "followers_url": "https://api.github.com/users/theavey/followers", "following_url": "https://api.github.com/users/theavey/following{/other_user}", "gists_url": "https://api.github.com/users/theavey/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/theavey", "id": 8083606, "login": "theavey", "node_id": "MDQ6VXNlcjgwODM2MDY=", "organizations_url": "https://api.github.com/users/theavey/orgs", "received_events_url": "https://api.github.com/users/theavey/received_events", "repos_url": "https://api.github.com/users/theavey/repos", "site_admin": false, "starred_url": "https://api.github.com/users/theavey/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/theavey/subscriptions", "type": "User", "url": "https://api.github.com/users/theavey" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
3
2020-10-28T13:11:42Z
2020-11-18T00:55:41Z
2020-11-18T00:55:36Z
CONTRIBUTOR
null
- [x] closes #37454 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37469/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37469/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37469.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37469", "merged_at": "2020-11-18T00:55:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37469.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37469" }
https://api.github.com/repos/pandas-dev/pandas/issues/37470
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37470/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37470/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37470/events
https://github.com/pandas-dev/pandas/pull/37470
731,564,911
MDExOlB1bGxSZXF1ZXN0NTExNjQ4NzA1
37,470
TST/REF: finish collecting sample tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-28T15:46:37Z
2020-10-29T01:58:35Z
2020-10-29T01:02:30Z
MEMBER
null
Parametrizes a few tests from the frame.methods.test_sample file, splits up giant tests from the generic file.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37470/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37470/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37470.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37470", "merged_at": "2020-10-29T01:02:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37470.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37470" }
https://api.github.com/repos/pandas-dev/pandas/issues/37471
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37471/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37471/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37471/events
https://github.com/pandas-dev/pandas/pull/37471
731,574,266
MDExOlB1bGxSZXF1ZXN0NTExNjU2NjM0
37,471
Backport PR #35875 on branch 1.1.x (COMPAT: Ensure rolling indexers return intp during take operations)
{ "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": "0e8a16", "default": false, "description": "32-bit systems", "id": 563047854, "name": "32bit", "node_id": "MDU6TGFiZWw1NjMwNDc4NTQ=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/32bit" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
1
2020-10-28T15:57:14Z
2020-10-28T17:58:00Z
2020-10-28T17:58:00Z
NONE
null
Backport PR #35875: COMPAT: Ensure rolling indexers return intp during take operations
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37471/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37471/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37471.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37471", "merged_at": "2020-10-28T17:58:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37471.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37471" }
https://api.github.com/repos/pandas-dev/pandas/issues/37472
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37472/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37472/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37472/events
https://github.com/pandas-dev/pandas/pull/37472
731,634,500
MDExOlB1bGxSZXF1ZXN0NTExNzA3MTAy
37,472
TST: collect tests by method from test_api
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-28T17:11:17Z
2020-10-29T01:59:23Z
2020-10-29T01:04:18Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37472/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37472/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37472.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37472", "merged_at": "2020-10-29T01:04:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37472.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37472" }
https://api.github.com/repos/pandas-dev/pandas/issues/37473
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37473/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37473/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37473/events
https://github.com/pandas-dev/pandas/pull/37473
731,641,937
MDExOlB1bGxSZXF1ZXN0NTExNzEzMzk4
37,473
CI: 32 bit maybe_indices_to_slice
{ "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": "0e8a16", "default": false, "description": "32-bit systems", "id": 563047854, "name": "32bit", "node_id": "MDU6TGFiZWw1NjMwNDc4NTQ=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/32bit" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
10
2020-10-28T17:21:27Z
2020-10-29T22:03:06Z
2020-10-29T21:46:29Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37473/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37473/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37473.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37473", "merged_at": "2020-10-29T21:46:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37473.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37473" }
https://api.github.com/repos/pandas-dev/pandas/issues/37474
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37474/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37474/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37474/events
https://github.com/pandas-dev/pandas/pull/37474
731,685,295
MDExOlB1bGxSZXF1ZXN0NTExNzQ5NzIz
37,474
CLN: Add init files in test folders
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
null
1
2020-10-28T18:22:07Z
2020-10-28T21:56:29Z
2020-10-28T21:55:53Z
MEMBER
null
was not sure why they were missing there, so I added 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/37474/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37474/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37474.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37474", "merged_at": "2020-10-28T21:55:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37474.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37474" }
https://api.github.com/repos/pandas-dev/pandas/issues/37475
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37475/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37475/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37475/events
https://github.com/pandas-dev/pandas/pull/37475
731,694,819
MDExOlB1bGxSZXF1ZXN0NTExNzU3ODAw
37,475
REF: helper to ensure column indexer is iterable
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-28T18:36:05Z
2020-10-29T02:01:27Z
2020-10-29T01:05:14Z
MEMBER
null
Helper method separated out from upcoming PR to split _setitem_with_indexer into more manageable pieces, which in turn is part of fixing a goes-through-two-separate-paths problem.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37475/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37475/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37475.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37475", "merged_at": "2020-10-29T01:05:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37475.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37475" }
https://api.github.com/repos/pandas-dev/pandas/issues/37476
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37476/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37476/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37476/events
https://github.com/pandas-dev/pandas/pull/37476
731,866,447
MDExOlB1bGxSZXF1ZXN0NTExOTAyMzk4
37,476
CI: troubleshoot ResourceWarnings
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[]
closed
false
null
[]
null
0
2020-10-28T23:28:30Z
2020-10-29T02:53:28Z
2020-10-29T02:53: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/37476/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37476/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37476.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37476", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/37476.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37476" }
https://api.github.com/repos/pandas-dev/pandas/issues/37477
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37477/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37477/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37477/events
https://github.com/pandas-dev/pandas/issues/37477
731,888,165
MDU6SXNzdWU3MzE4ODgxNjU=
37,477
BUG: setting float on integer column with DataFrame.at casts the value to integer.
{ "avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4", "events_url": "https://api.github.com/users/erfannariman/events{/privacy}", "followers_url": "https://api.github.com/users/erfannariman/followers", "following_url": "https://api.github.com/users/erfannariman/following{/other_user}", "gists_url": "https://api.github.com/users/erfannariman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/erfannariman", "id": 34067903, "login": "erfannariman", "node_id": "MDQ6VXNlcjM0MDY3OTAz", "organizations_url": "https://api.github.com/users/erfannariman/orgs", "received_events_url": "https://api.github.com/users/erfannariman/received_events", "repos_url": "https://api.github.com/users/erfannariman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/erfannariman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erfannariman/subscriptions", "type": "User", "url": "https://api.github.com/users/erfannariman" }
[ { "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": "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" } ]
open
false
null
[]
null
1
2020-10-28T23:53:44Z
2021-08-14T04:03:20Z
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 In [5]: df = pd.DataFrame({'A': [1, 2, 3], 'B': [3, 4, 5]}) In [6]: df Out[6]: A B 0 1 3 1 2 4 2 3 5 In [7]: df.at[1, 'B'] = 1.2 In [8]: df Out[8]: A B 0 1 3 1 2 1 2 3 5 ``` #### Problem description `DataFrame.at` sets the new value but casts it to integer. #### Expected output This is not the issue with `loc`: ```python In [9]: df.loc[1, 'B'] = 1.2 In [10]: df Out[10]: A B 0 1 3.0 1 2 1.2 2 3 5.0 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37477/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37477/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37478
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37478/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37478/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37478/events
https://github.com/pandas-dev/pandas/issues/37478
731,904,942
MDU6SXNzdWU3MzE5MDQ5NDI=
37,478
ENH: Unhelpful output from assert_frame_equal when indexes differ and check_like=True
{ "avatar_url": "https://avatars.githubusercontent.com/u/18662115?v=4", "events_url": "https://api.github.com/users/amilbourne/events{/privacy}", "followers_url": "https://api.github.com/users/amilbourne/followers", "following_url": "https://api.github.com/users/amilbourne/following{/other_user}", "gists_url": "https://api.github.com/users/amilbourne/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/amilbourne", "id": 18662115, "login": "amilbourne", "node_id": "MDQ6VXNlcjE4NjYyMTE1", "organizations_url": "https://api.github.com/users/amilbourne/orgs", "received_events_url": "https://api.github.com/users/amilbourne/received_events", "repos_url": "https://api.github.com/users/amilbourne/repos", "site_admin": false, "starred_url": "https://api.github.com/users/amilbourne/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/amilbourne/subscriptions", "type": "User", "url": "https://api.github.com/users/amilbourne" }
[ { "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-29T00:36:41Z
2020-11-02T13:43:42Z
2020-11-02T13:43:42Z
CONTRIBUTOR
null
#### Problem: Calling ```testing.assert_frame_equal``` with mismatched indexes and ```check_like=True``` generates unhelpful output. If you run: ```python import pandas as pd df1 = pd.DataFrame({"A": [1.0, 2.0, 3.0], "B": [4.0, 5.0, 6.0]}, index=["a", "b", "c"]) df2 = pd.DataFrame({"A": [1.0, 2.0, 3.0], "B": [4.0, 5.0, 6.0]}, index=["a", "b", "d"]) pd.testing.assert_frame_equal(df1, df2, check_like=True) ``` The output will be: ``` AssertionError: DataFrame.iloc[:, 0] (column name="A") are different DataFrame.iloc[:, 0] (column name="A") values are different (33.33333 %) [index]: [a, b, d] [left]: [1.0, 2.0, nan] [right]: [1.0, 2.0, 3.0] ``` The data of the input DataFrames are not actually different (there is no nan), but when ```check_like=True``` the code calls ```left.reindex_like(right)``` before comparing indexes (and columns), in order to ensure that both frames are ordered the same. However, if the indexes contain different values (rather than the same values in a different order), the ```reindex_like``` function fills the data values (row or column) for the mismatched index entries with NaNs. This results in the subsequent index checks passing, but the ```assert_frame_equals``` function failing with a data not equal error (as above). Even more confusingly, if the values being compared are not floats then you get a dtype not equal error: ``` AssertionError: Attributes of DataFrame.iloc[:, 0] (column name="A") are different Attribute "dtype" are different [left]: float64 [right]: int64 ``` These messages are quite unhelpful, as the mismatch is in the index, and the error should logically be the same as you would get if you ran with ```check_like=False```. #### Applies to: The code above was run against the latest code from master. ```python >>> print(pd.__version__) 1.2.0.dev0+950.gd321be6 ``` #### Solution: The message for the above assertion failure should be something like: ``` AssertionError: DataFrame.index are different DataFrame.index values are different (33.33333 %) [left]: Index(['a', 'b', 'c'], dtype='object') [right]: Index(['a', 'b', 'd'], dtype='object') ``` Which is what you get if you run with ```check_like=False```.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37478/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37478/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37479
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37479/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37479/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37479/events
https://github.com/pandas-dev/pandas/pull/37479
731,914,224
MDExOlB1bGxSZXF1ZXN0NTExOTQzNzcw
37,479
ENH: Fix output of assert_frame_equal if indexes differ and check_like=True
{ "avatar_url": "https://avatars.githubusercontent.com/u/18662115?v=4", "events_url": "https://api.github.com/users/amilbourne/events{/privacy}", "followers_url": "https://api.github.com/users/amilbourne/followers", "following_url": "https://api.github.com/users/amilbourne/following{/other_user}", "gists_url": "https://api.github.com/users/amilbourne/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/amilbourne", "id": 18662115, "login": "amilbourne", "node_id": "MDQ6VXNlcjE4NjYyMTE1", "organizations_url": "https://api.github.com/users/amilbourne/orgs", "received_events_url": "https://api.github.com/users/amilbourne/received_events", "repos_url": "https://api.github.com/users/amilbourne/repos", "site_admin": false, "starred_url": "https://api.github.com/users/amilbourne/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/amilbourne/subscriptions", "type": "User", "url": "https://api.github.com/users/amilbourne" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
6
2020-10-29T01:04:40Z
2020-11-02T13:43:46Z
2020-11-02T13:43:42Z
CONTRIBUTOR
null
- [x] closes #37478 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry As described in #37478 This PR fixes some very misleading output when ```assert_frame_equal``` is called with differing index values and ```check_like=True``` I have added a ```check_order``` parameter to the ```assert_index_equal``` function. This does essentially the same thing as the ```check_like``` parmeter on ```assert_frame_equal``` (but for indexes). I think ```check_order``` gives a much clearer idea of what the parameter does, but it is a break from the previous naming. I am unsure whether I should have stuck with ```check_like``` for the new parameter.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37479/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37479/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37479.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37479", "merged_at": "2020-11-02T13:43:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37479.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37479" }
https://api.github.com/repos/pandas-dev/pandas/issues/37480
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37480/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37480/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37480/events
https://github.com/pandas-dev/pandas/issues/37480
731,932,877
MDU6SXNzdWU3MzE5MzI4Nzc=
37,480
BUG: category index levels casted to non-category dtype in merge
{ "avatar_url": "https://avatars.githubusercontent.com/u/70167716?v=4", "events_url": "https://api.github.com/users/hliatrussellinvestments/events{/privacy}", "followers_url": "https://api.github.com/users/hliatrussellinvestments/followers", "following_url": "https://api.github.com/users/hliatrussellinvestments/following{/other_user}", "gists_url": "https://api.github.com/users/hliatrussellinvestments/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hliatrussellinvestments", "id": 70167716, "login": "hliatrussellinvestments", "node_id": "MDQ6VXNlcjcwMTY3NzE2", "organizations_url": "https://api.github.com/users/hliatrussellinvestments/orgs", "received_events_url": "https://api.github.com/users/hliatrussellinvestments/received_events", "repos_url": "https://api.github.com/users/hliatrussellinvestments/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hliatrussellinvestments/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hliatrussellinvestments/subscriptions", "type": "User", "url": "https://api.github.com/users/hliatrussellinvestments" }
[ { "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": "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" } ]
open
false
null
[]
null
1
2020-10-29T01:59:25Z
2021-08-14T04:04:45Z
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- **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 df1 = pd.DataFrame({'x': [i for i in range(100)], 'y': [i for i in range(100)], 'z': [i for i in range(100)], 'd': [i for i in range(100)]}) df2 = df1.astype({"x":'category', "y":'category', "z":'category'}) df3 = df2.iloc[:10, :].groupby(['z', 'x'], observed=True).agg({'d': 'sum'}) df4 = df2.iloc[90:, :].groupby(['z', 'x', 'y'], observed=True).agg({'d': 'sum'}) pd.merge(df3, df4, left_index=True, right_index=True, how='outer').index.to_frame().dtypes ``` #### Problem description I have 2 data frames, df3, and df4. Index of df3 is z, x and index of df4 is z, x, y. All x, y, z are categorical, and index x is of the same category-dtype in df3 as in df4, since df3 and df4 are created from groupby on the same data frame df2. For the same reason, index z is of the same category-dtype in df3 as in df4. So, I think after the merge, index x and z should stay as category. But they are not, this is what I get: z int64 x int64 y category dtype: object #### Expected Output z category x category y category dtype: object #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f2ca0a2665b2d169c97de87b8e778dbed86aea07 python : 3.8.5.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18362 machine : AMD64 processor : Intel64 Family 6 Model 94 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_United States.1252 pandas : 1.1.1 numpy : 1.19.0 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.3 setuptools : 47.1.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.1 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.2.2 numexpr : None odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.0 sqlalchemy : 1.3.18 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/37480/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37480/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37481
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37481/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37481/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37481/events
https://github.com/pandas-dev/pandas/pull/37481
731,951,288
MDExOlB1bGxSZXF1ZXN0NTExOTczMjk3
37,481
REF: separate out cases in setitem_with_indexer
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "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": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-29T02:50:57Z
2020-10-30T17:10:45Z
2020-10-30T16:06:06Z
MEMBER
null
Preparatory to fixing a multiple-paths issue in setitem_with_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/37481/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37481/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37481.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37481", "merged_at": "2020-10-30T16:06:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37481.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37481" }
https://api.github.com/repos/pandas-dev/pandas/issues/37482
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37482/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37482/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37482/events
https://github.com/pandas-dev/pandas/issues/37482
732,308,993
MDU6SXNzdWU3MzIzMDg5OTM=
37,482
ENH: Allow tz-aware origin parameter in pandas.to_datetime
{ "avatar_url": "https://avatars.githubusercontent.com/u/51399800?v=4", "events_url": "https://api.github.com/users/venaturum/events{/privacy}", "followers_url": "https://api.github.com/users/venaturum/followers", "following_url": "https://api.github.com/users/venaturum/following{/other_user}", "gists_url": "https://api.github.com/users/venaturum/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/venaturum", "id": 51399800, "login": "venaturum", "node_id": "MDQ6VXNlcjUxMzk5ODAw", "organizations_url": "https://api.github.com/users/venaturum/orgs", "received_events_url": "https://api.github.com/users/venaturum/received_events", "repos_url": "https://api.github.com/users/venaturum/repos", "site_admin": false, "starred_url": "https://api.github.com/users/venaturum/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/venaturum/subscriptions", "type": "User", "url": "https://api.github.com/users/venaturum" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
2
2020-10-29T13:21:15Z
2021-01-05T04:57:34Z
2021-01-05T04:57:34Z
CONTRIBUTOR
null
#### Is your feature request related to a problem? I wish I could use pandas to map back and forth between tz-aware timestamps and floats. This has been raised before [#16842](https://github.com/pandas-dev/pandas/issues/16842) however it was argued that the incumbent behaviour did not need altering, but I'd like to plead my case below. #### Describe the solution you'd like Currently if *origin* parameter in pd.to_datetime is tz-aware an exception is produced; *ValueError: origin offset ..... must be tz-naive* I believe if a tz-aware origin is used then the result of pd.to_datetime should be a tz-aware timestamp. #### API breaking implications I believe an implementation is possible which does not break the api, where the timezone is extracted from the origin parameter (and it could be None) and used to localize other timestamps in the code where necessary. #### Describe alternatives you've considered I have considered writing my own to_datetime to accept timezone aware origins, or perhaps using tz_convert as a mediator between the mapping, however I would still argue the default behaviour of to_datetime is not ideal. #### Additional context Consider the following code, and for context in the Australia/Sydney timezone clocks were wound forward an hour at 2am on the 4th of October 2020. ```python import pandas as pd tz = pytz.timezone('Australia/Sydney') origin = pd.Timestamp('2020-10-04', tz=tz) test_date_1 = pd.Timestamp('2020-10-04 1:00', tz=tz) test_date_2 = pd.Timestamp('2020-10-04 3:00', tz=tz) print(f'There is {(test_date_1 - origin).total_seconds()/3600} hours from origin to {test_date_1}') print(f'There is {(test_date_2 - origin).total_seconds()/3600} hours from origin to {test_date_2}') ``` The code will correctly calculate the time delta, with an origin set to the start of the day: *There is 1.0 hours from origin to 2020-10-04 01:00:00+10:00* *There is 2.0 hours from origin to 2020-10-04 03:00:00+11:00* How can I map the number 2 back to test_date_2? This code ```python pd.to_datetime(2, unit='h', origin=origin) ``` produces *ValueError: origin offset 2020-10-04 00:00:00+10:00 must be tz-naive* This code ```python pd.to_datetime(2, unit='h', origin=origin.tz_localize(None)) ``` produces a tz-naive Timestamp: *Timestamp('2020-10-04 02:00:00')* Trying to localize it of course does not work, and raises an exception ```python pd.to_datetime(2, unit='h', origin=origin.tz_localize(None)).tz_localize(tz) ``` *NonExistentTimeError: 2020-10-04 02:00:00* The answer to "What time is 2hrs past midnight on the 4th of October 2020 in Sydney. Australia" is not ambiguous. It has an answer and I believe pandas should be able to accomodate this.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37482/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37482/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37483
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37483/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37483/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37483/events
https://github.com/pandas-dev/pandas/issues/37483
732,317,408
MDU6SXNzdWU3MzIzMTc0MDg=
37,483
BUG: Rolling calls custom function with wrong index
{ "avatar_url": "https://avatars.githubusercontent.com/u/741955?v=4", "events_url": "https://api.github.com/users/alexeypertcev/events{/privacy}", "followers_url": "https://api.github.com/users/alexeypertcev/followers", "following_url": "https://api.github.com/users/alexeypertcev/following{/other_user}", "gists_url": "https://api.github.com/users/alexeypertcev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alexeypertcev", "id": 741955, "login": "alexeypertcev", "node_id": "MDQ6VXNlcjc0MTk1NQ==", "organizations_url": "https://api.github.com/users/alexeypertcev/orgs", "received_events_url": "https://api.github.com/users/alexeypertcev/received_events", "repos_url": "https://api.github.com/users/alexeypertcev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alexeypertcev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alexeypertcev/subscriptions", "type": "User", "url": "https://api.github.com/users/alexeypertcev" }
[ { "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
4
2020-10-29T13:31:56Z
2021-08-14T04:08:41Z
2021-08-14T04:08:41Z
NONE
null
#### Code Sample, a copy-pastable example ```python def test_count(x): last_index = None count = 0 print(" - test_count") for index, value in x.items(): print(" - - index, value: {}, {}".format(index, value)) last_index = index count += 1 res = pd.Series([count], index=[last_index]) return res def test(): df = pd.DataFrame({'B': [3030, 3030, 1010], 'C': [1, 1, 1]}, index = [ pd.Timestamp('2020-04-13 04:30:30'), pd.Timestamp('2020-04-13 04:30:30'), pd.Timestamp('2020-04-13 05:10:10'),]) print(df) df_grouped_by_B = df.groupby('B') df_tmp = pd.DataFrame(df_grouped_by_B.rolling("1H").B.agg( { "count" : test_count, } )) print(df_tmp) print("pandas {}".format(pd.__version__)) test() ``` #### Problem description The problem in the calling of test_count function with wrong Series objects, the first call of test_count should be with Series (2020-04-13 04:30:30, 1010) as in previous pandas version (1.0.5), but the new version calls function with wrong argument (index, value: 2020-04-13 05:10:10, 1010). This wrong Series object is not possible for above DataFrame. (This is minimal example for repeat the problem. I use more difficult processing in agg function.) #### Expected Output (1.0.5 version works right) ``` pandas 1.0.5 B C 2020-04-13 04:30:30 3030 1 2020-04-13 04:30:30 3030 1 2020-04-13 05:10:10 1010 1 - test_count - - index, value: 2020-04-13 05:10:10, 1010.0 - test_count - - index, value: 2020-04-13 04:30:30, 3030.0 - test_count - - index, value: 2020-04-13 04:30:30, 3030.0 - - index, value: 2020-04-13 04:30:30, 3030.0 count B 1010 2020-04-13 05:10:10 1.0 3030 2020-04-13 04:30:30 1.0 2020-04-13 04:30:30 2.0 ``` #### Output with pandas 1.1.3 ``` pandas 1.1.3 B C 2020-04-13 04:30:30 3030 1 2020-04-13 04:30:30 3030 1 2020-04-13 05:10:10 1010 1 - test_count - - index, value: 2020-04-13 04:30:30, 1010.0 - test_count - - index, value: 2020-04-13 04:30:30, 3030.0 - test_count - - index, value: 2020-04-13 04:30:30, 3030.0 - - index, value: 2020-04-13 05:10:10, 3030.0 count B 1010 2020-04-13 05:10:10 1.0 3030 2020-04-13 04:30:30 1.0 2020-04-13 04:30:30 2.0 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.8.2.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-51-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : None LOCALE : en_US.UTF-8 pandas : 1.1.3 numpy : 1.19.3 pytz : 2020.1 dateutil : 2.8.1 pip : 20.0.2 setuptools : 45.2.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.18.1 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.3.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : None pyxlsb : None s3fs : None scipy : 1.5.3 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None xlsxwriter : None numba : 0.51.2 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37483/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37483/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37484
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37484/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37484/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37484/events
https://github.com/pandas-dev/pandas/issues/37484
732,335,790
MDU6SXNzdWU3MzIzMzU3OTA=
37,484
BUG (Performance): Performance of to_csv varies significantly depending on when/how index is set
{ "avatar_url": "https://avatars.githubusercontent.com/u/41120183?v=4", "events_url": "https://api.github.com/users/DanielFEvans/events{/privacy}", "followers_url": "https://api.github.com/users/DanielFEvans/followers", "following_url": "https://api.github.com/users/DanielFEvans/following{/other_user}", "gists_url": "https://api.github.com/users/DanielFEvans/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DanielFEvans", "id": 41120183, "login": "DanielFEvans", "node_id": "MDQ6VXNlcjQxMTIwMTgz", "organizations_url": "https://api.github.com/users/DanielFEvans/orgs", "received_events_url": "https://api.github.com/users/DanielFEvans/received_events", "repos_url": "https://api.github.com/users/DanielFEvans/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DanielFEvans/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DanielFEvans/subscriptions", "type": "User", "url": "https://api.github.com/users/DanielFEvans" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "5319e7", "default": 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" } ]
open
false
null
[]
null
6
2020-10-29T13:55:08Z
2021-06-06T19:53:57Z
null
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. There are some historic "to_csv is slow" reports, but none mention the specific behaviour I've seen with regard to indices. - [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 cProfile import time import pstats from io import BytesIO, StringIO import pandas as pd import numpy as np NUM_INDEX_COLS = 3 NUM_COLS = 50 NUM_ROWS = 1000000 # Generate a large-ish dummy dataframe data = {} idx_cols = [] for idx_id in range(NUM_INDEX_COLS): idx_name = f"Index_{idx_id}" idx_cols.append(idx_name) if idx_id == 0: data[idx_name] = np.random.randint(0, NUM_ROWS, NUM_ROWS) else: data[idx_name] = np.full(NUM_ROWS, 1, dtype=np.int) for col_id in range(NUM_COLS): col_name = f"Column_{col_id}" data[col_name] = np.random.uniform(0, 100000.0, NUM_ROWS) source_df = pd.DataFrame(data) source_df_indexed = source_df.set_index(idx_cols) # Default index - fast df1 = source_df.head(10000) # MultiIndex from idx_cols, then take head - slow df2 = source_df_indexed.head(10000) # Take head, then set MultiIndex from idx_cols - fast df3 = source_df.head(10000).set_index(idx_cols) # Deepcopy of df2 - slow (docs say that Index is not copied, so not surprising) df4 = df2.copy(deep=True) # Will run each df twice, and take timings from second run. dataframes = [df1, df1, df2, df2, df3, df3, df4, df4] #### WRITE TO CSV WITH EXISTING INDEX # # df1: 0.53s, with no index set # df2: 2.35s, with index set before calling .head() # df3: 0.54s, with index set after calling .head() # df4: 2.12s, deep copy of df2 # for i, df in enumerate(dataframes): out = StringIO() t1 = time.time() df.to_csv(out) t2 = time.time() if (i % 2) == 1: print(t2-t1) #### WRITE TO CSV WITH INCLUDED CALL TO RESET INDEX # # df1: 0.55s, with no index set # df2: 0.53s, with index set before calling .head() # df3: 0.54s, with index set after calling .head() # df4: 0.54s, deep copy of df2 for i, df in enumerate(dataframes): out = StringIO() t1 = time.time() df.reset_index().to_csv(out) t2 = time.time() if (i % 2) == 1: print(t2-t1) ``` #### Problem description The speed of `to_csv` varies significantly depending on whether an Index was set, and when/how that Index was set. This is not the case with e.g. `to_parquet`. The original case where I noticed this speed difference is not so trivial, but it involves a MultiIndexed dataframe that has been manipulated before being output to CSV, taking approximately 50 minutes to output a ~30GB file. (Yes, CSV is slow and horrible for many other reasons even at the best of times, and we avoid it as much as possible.) In the example above, I create a million row dataframe `source_df`, with three integer columns (two have the value `1` throughout), and 50 float columns. I then create four subsets of the first 10000 rows, doing different things with the index: * df1: Just the source dataframe, no index modification (so it'll have the default RangeIndex) * df2: Set the three integer columns as a MultiIndex, and then take .head(10000) * df3: Take .head(10000), and then set the three integer columns as a MultiIndex * df4: Deep copy of df2. (The Pandas documentation suggests that at least the index won't actually be copied). I then time how long it takes to write each out to CSV (using a StringIO, to avoid IO speed concerns). df1 (no index) and df3 (index set after taking .head) are fast; df2 (index set before taking .head) and df4 (deepcopy of df2) are much slower. It appears that the index being a subset of a larger dataframe significantly slows down the writing. I then do a separate test, whereby I reset the index of each dataframe immediately before writing. In this case, all write out as fast as df1/df3 in the original test. I have also tested with `to_parquet` by changing `to_csv` to `to_parquet` and providing a BytesIO. All four dataframes are output in 0.08s, regardless of index origin and whether the index is reset or not. Surprisingly (for me), profiling indicates that `{method 'astype' of 'numpy.ndarray' objects}` is where the extra time originates from. There aren't many extra calls - they just take much, much longer. If you're lucky, this might even be an upstream issue! Summarised profiling output for df1, df2, and df3 in the don't-reset-index case below. <details> ``` df1 - Default index, fast 1928 function calls (1910 primitive calls) in 0.530 seconds Ordered by: internal time List reduced from 126 to 20 due to restriction <20> ncalls tottime percall cumtime percall filename:lineno(function) 12 0.285 0.024 0.285 0.024 {method 'astype' of 'numpy.ndarray' objects} 6 0.242 0.040 0.242 0.040 {pandas._libs.writers.write_csv_rows} 19 0.001 0.000 0.001 0.000 missing.py:193(_isna_ndarraylike) 6 0.000 0.000 0.530 0.088 csvs.py:330(_save_chunk) 20/13 0.000 0.000 0.000 0.000 {built-in method numpy.array} 384/382 0.000 0.000 0.000 0.000 {built-in method builtins.isinstance} 278 0.000 0.000 0.000 0.000 {built-in method builtins.getattr} 6 0.000 0.000 0.282 0.047 blocks.py:1938(to_native_types) 1 0.000 0.000 0.530 0.530 csvs.py:313(_save) 200 0.000 0.000 0.000 0.000 generic.py:10(_check) 12 0.000 0.000 0.000 0.000 blocks.py:292(getitem_block) 19 0.000 0.000 0.001 0.000 missing.py:130(_isna) 6 0.000 0.000 0.000 0.000 generic.py:3551(_slice) 12 0.000 0.000 0.000 0.000 range.py:697(__getitem__) 6 0.000 0.000 0.000 0.000 managers.py:757(get_slice) 19 0.000 0.000 0.000 0.000 dtypes.py:903(is_dtype) 12 0.000 0.000 0.000 0.000 range.py:153(_data) 7 0.000 0.000 0.004 0.001 base.py:984(_format_native_types) 6 0.000 0.000 0.000 0.000 {built-in method numpy.arange} 6 0.000 0.000 0.001 0.000 blocks.py:656(to_native_types) df2 - MultiIndex set before head, slow 10629 function calls (10518 primitive calls) in 2.135 seconds Ordered by: internal time List reduced from 182 to 20 due to restriction <20> ncalls tottime percall cumtime percall filename:lineno(function) 20 1.630 0.082 1.630 0.082 {method 'astype' of 'numpy.ndarray' objects} 5 0.247 0.049 0.247 0.049 {pandas._libs.writers.write_csv_rows} 122/91 0.163 0.001 0.163 0.002 {built-in method numpy.array} 6 0.042 0.007 1.588 0.265 base.py:954(to_native_types) 15 0.027 0.002 0.027 0.002 {pandas._libs.lib.infer_dtype} 1 0.016 0.016 2.135 2.135 csvs.py:313(_save) 15 0.001 0.000 0.001 0.000 {pandas._libs.algos.take_1d_object_object} 21 0.001 0.000 0.002 0.000 missing.py:193(_isna_ndarraylike) 2323/2321 0.001 0.000 0.001 0.000 {built-in method builtins.isinstance} 5 0.000 0.000 0.001 0.000 {pandas._libs.lib.fast_zip} 30/15 0.000 0.000 0.192 0.013 base.py:293(__new__) 1386 0.000 0.000 0.000 0.000 {built-in method builtins.getattr} 16 0.000 0.000 1.350 0.084 base.py:984(_format_native_types) 5 0.000 0.000 2.119 0.424 csvs.py:330(_save_chunk) 5 0.000 0.000 1.546 0.309 multi.py:1201(_format_native_types) 910 0.000 0.000 0.000 0.000 generic.py:10(_check) 90 0.000 0.000 0.000 0.000 base.py:498(_shallow_copy) 105 0.000 0.000 0.000 0.000 base.py:463(_simple_new) 171 0.000 0.000 0.000 0.000 common.py:1460(is_extension_array_dtype) 217 0.000 0.000 0.000 0.000 {built-in method builtins.hasattr} df3 - MultiIndex set after head, fast 10629 function calls (10518 primitive calls) in 0.554 seconds Ordered by: internal time List reduced from 182 to 20 due to restriction <20> ncalls tottime percall cumtime percall filename:lineno(function) 20 0.301 0.015 0.301 0.015 {method 'astype' of 'numpy.ndarray' objects} 5 0.243 0.049 0.243 0.049 {pandas._libs.writers.write_csv_rows} 122/91 0.002 0.000 0.002 0.000 {built-in method numpy.array} 15 0.001 0.000 0.001 0.000 {pandas._libs.lib.infer_dtype} 21 0.001 0.000 0.001 0.000 missing.py:193(_isna_ndarraylike) 2323/2321 0.000 0.000 0.001 0.000 {built-in method builtins.isinstance} 1386 0.000 0.000 0.000 0.000 {built-in method builtins.getattr} 6 0.000 0.000 0.028 0.005 base.py:954(to_native_types) 30/15 0.000 0.000 0.004 0.000 base.py:293(__new__) 5 0.000 0.000 0.000 0.000 {pandas._libs.lib.fast_zip} 1 0.000 0.000 0.554 0.554 csvs.py:313(_save) 5 0.000 0.000 0.554 0.111 csvs.py:330(_save_chunk) 910 0.000 0.000 0.000 0.000 generic.py:10(_check) 5 0.000 0.000 0.027 0.005 multi.py:1201(_format_native_types) 15 0.000 0.000 0.000 0.000 {pandas._libs.algos.take_1d_object_object} 171 0.000 0.000 0.000 0.000 common.py:1460(is_extension_array_dtype) 90 0.000 0.000 0.000 0.000 base.py:498(_shallow_copy) 105 0.000 0.000 0.000 0.000 base.py:463(_simple_new) 171 0.000 0.000 0.000 0.000 base.py:413(find) 15 0.000 0.000 0.001 0.000 algorithms.py:1616(take_nd) ``` </details> The simplest (but silliest) suggestion would just be to call `.reset_index()` within `df.to_csv()` if `index=True` is set. However, I suspect this indicates something more fundamental that can be improved. #### Expected Output Speed of outputting to CSV does not vary significantly depending on how the index was created, as is the case when outputting to Parquet, etc. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.6.8.final.0 python-bits : 64 OS : Linux OS-release : 3.10.0-1127.19.1.el7.x86_64 Version : #1 SMP Thu Aug 20 14:39:03 CDT 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 1.1.3 numpy : 1.18.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.4 setuptools : 45.2.0 Cython : 0.29.21 pytest : 5.4.3 hypothesis : 5.16.0 sphinx : 2.4.0 blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.2 html5lib : None pymysql : None psycopg2 : 2.8.4 (dt dec pq3 ext) jinja2 : 2.11.2 IPython : None pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 0.6.2 fastparquet : None gcsfs : None matplotlib : 3.1.2 numexpr : 2.7.1 odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.15.1 pytables : None pyxlsb : None s3fs : None scipy : 1.2.1 sqlalchemy : None tables : 3.5.2 tabulate : 0.8.6 xarray : None xlrd : 1.2.0 xlwt : None numba : 0.51.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/37484/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37484/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37485
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37485/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37485/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37485/events
https://github.com/pandas-dev/pandas/issues/37485
732,416,400
MDU6SXNzdWU3MzI0MTY0MDA=
37,485
BUG: round() on tz-aware DateTimeIndex (spanning DST switch) throws AmbiguousTimeError as if tz-unaware
{ "avatar_url": "https://avatars.githubusercontent.com/u/5723444?v=4", "events_url": "https://api.github.com/users/bluppfisk/events{/privacy}", "followers_url": "https://api.github.com/users/bluppfisk/followers", "following_url": "https://api.github.com/users/bluppfisk/following{/other_user}", "gists_url": "https://api.github.com/users/bluppfisk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bluppfisk", "id": 5723444, "login": "bluppfisk", "node_id": "MDQ6VXNlcjU3MjM0NDQ=", "organizations_url": "https://api.github.com/users/bluppfisk/orgs", "received_events_url": "https://api.github.com/users/bluppfisk/received_events", "repos_url": "https://api.github.com/users/bluppfisk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bluppfisk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bluppfisk/subscriptions", "type": "User", "url": "https://api.github.com/users/bluppfisk" }
[ { "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": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
closed
false
null
[]
null
6
2020-10-29T15:28:25Z
2021-11-13T00:49:05Z
2021-11-13T00:49:04Z
NONE
null
- [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **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 dt = pd.Timestamp("2020-10-25 02:00:00").tz_localize("Europe/Brussels", ambiguous=False).round('min') ``` ```log Traceback (most recent call last): File "<stdin>", line 1, in <module> File "pandas/_libs/tslibs/timestamps.pyx", line 489, in pandas._libs.tslibs.timestamps.Timestamp.round File "pandas/_libs/tslibs/timestamps.pyx", line 443, in pandas._libs.tslibs.timestamps.Timestamp._round File "pandas/_libs/tslibs/timestamps.pyx", line 826, in pandas._libs.tslibs.timestamps.Timestamp.tz_localize File "pandas/_libs/tslibs/tzconversion.pyx", line 232, in pandas._libs.tslibs.tzconversion.tz_localize_to_utc pytz.exceptions.AmbiguousTimeError: Cannot infer dst time from 2020-10-25 02:00:00, try using the 'ambiguous' argument ``` ```python import pandas as pd dt = pd.Timestamp("2020-10-25 02:00:00").tz_localize("Europe/Brussels", ambiguous=True).round('min') ``` ```log Traceback (most recent call last): File "<stdin>", line 1, in <module> File "pandas/_libs/tslibs/timestamps.pyx", line 489, in pandas._libs.tslibs.timestamps.Timestamp.round File "pandas/_libs/tslibs/timestamps.pyx", line 443, in pandas._libs.tslibs.timestamps.Timestamp._round File "pandas/_libs/tslibs/timestamps.pyx", line 826, in pandas._libs.tslibs.timestamps.Timestamp.tz_localize File "pandas/_libs/tslibs/tzconversion.pyx", line 232, in pandas._libs.tslibs.tzconversion.tz_localize_to_utc pytz.exceptions.AmbiguousTimeError: Cannot infer dst time from 2020-10-25 02:00:00, try using the 'ambiguous' argument ``` #### Problem description A localized Timestamp does not give an error when rounding. A Series of a localized DateTimeIndex shouldn't either. [this should explain **why** the current behaviour is a problem and why the expected output is a better solution] #### Expected Output Output is expected to be identical as for ```python pandas.Timestamp("2020-10-25 02:00:00+01:00").round('min') ``` respectively ```python pandas.Timestamp("2020-10-25 02:00:0+02:00").round('min') ``` i.e. without AmbiguousTimeError #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag] </details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.9.1-050901-generic Version : #202010170731 SMP Sat Oct 17 07:42:59 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.3 numpy : 1.19.3 pytz : 2020.1 dateutil : 2.8.1 pip : 20.0.2 setuptools : 44.0.0 rest is not installed
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37485/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37485/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37486
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37486/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37486/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37486/events
https://github.com/pandas-dev/pandas/issues/37486
732,419,775
MDU6SXNzdWU3MzI0MTk3NzU=
37,486
BUG: ValueError when assigning list in a single-row object dataframe
{ "avatar_url": "https://avatars.githubusercontent.com/u/12536303?v=4", "events_url": "https://api.github.com/users/paxcema/events{/privacy}", "followers_url": "https://api.github.com/users/paxcema/followers", "following_url": "https://api.github.com/users/paxcema/following{/other_user}", "gists_url": "https://api.github.com/users/paxcema/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/paxcema", "id": 12536303, "login": "paxcema", "node_id": "MDQ6VXNlcjEyNTM2MzAz", "organizations_url": "https://api.github.com/users/paxcema/orgs", "received_events_url": "https://api.github.com/users/paxcema/received_events", "repos_url": "https://api.github.com/users/paxcema/repos", "site_admin": false, "starred_url": "https://api.github.com/users/paxcema/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/paxcema/subscriptions", "type": "User", "url": "https://api.github.com/users/paxcema" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-29T15:31:16Z
2020-12-05T17:14:05Z
2020-12-05T17:14:05Z
NONE
null
- [ X ] I have checked that this issue has not already been reported. #15490 looks kind of similar, but seems like it was fixed. #17256 is also similar but it uses deprecated methods. - [ X ] I have confirmed this bug exists on the latest version of pandas. --- #### Code Sample, a copy-pastable example ```python import pandas as pd df = pd.DataFrame([['a', '1', '2.0']], columns=['a', 'b', 'c'], dtype=object) df['c'].iloc[0] = [df['c'].iloc[0]] ``` #### Problem description The current behaviour raises a ValueError, even though the assignment happened. Stack trace: <details> ```python --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-1-12824bd17b66> in <module>() 2 3 df = pd.DataFrame([['a', '1', '2.0']], columns=['a', 'b', 'c'], dtype=object) ----> 4 df['c'].iloc[0] = [df['c'].iloc[0]] 4 frames /usr/local/lib/python3.6/dist-packages/pandas/core/indexing.py in __setitem__(self, key, value) 668 669 iloc = self if self.name == "iloc" else self.obj.iloc --> 670 iloc._setitem_with_indexer(indexer, value) 671 672 def _validate_key(self, key, axis: int): /usr/local/lib/python3.6/dist-packages/pandas/core/indexing.py in _setitem_with_indexer(self, indexer, value) 1800 # actually do the set 1801 self.obj._consolidate_inplace() -> 1802 self.obj._mgr = self.obj._mgr.setitem(indexer=indexer, value=value) 1803 self.obj._maybe_update_cacher(clear=True) 1804 /usr/local/lib/python3.6/dist-packages/pandas/core/internals/managers.py in setitem(self, indexer, value) 532 533 def setitem(self, indexer, value) -> "BlockManager": --> 534 return self.apply("setitem", indexer=indexer, value=value) 535 536 def putmask( /usr/local/lib/python3.6/dist-packages/pandas/core/internals/managers.py in apply(self, f, align_keys, **kwargs) 404 applied = b.apply(f, **kwargs) 405 else: --> 406 applied = getattr(b, f)(**kwargs) 407 result_blocks = _extend_blocks(applied, result_blocks) 408 /usr/local/lib/python3.6/dist-packages/pandas/core/internals/blocks.py in setitem(self, indexer, value) 885 values[indexer] = value 886 --> 887 values = values.astype(arr_value.dtype, copy=False) 888 889 # set ValueError: setting an array element with a sequence ``` </details> #### Expected Output As the `dtype` is `object`, I would have expected this assignment to happen without raising a ValueError. If the dataframe has more than one row: ```python df = pd.DataFrame([['a', '1', '2.0']]*2, columns=['a', 'b', 'c']) df['c'].iloc[0] = [df['c'].iloc[0]] ``` Then the exception is not thrown. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.6.9.final.0 python-bits : 64 OS : Linux OS-release : 4.19.112+ Version : #1 SMP Thu Jul 23 08:00:38 PDT 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.3 numpy : 1.18.5 pytz : 2018.9 dateutil : 2.8.1 pip : 19.3.1 setuptools : 50.3.0 Cython : 0.29.21 pytest : 3.6.4 hypothesis : None sphinx : 1.8.5 blosc : None feather : 0.4.1 xlsxwriter : None lxml.etree : 4.2.6 html5lib : 1.0.1 pymysql : None psycopg2 : 2.7.6.1 (dt dec pq3 ext lo64) jinja2 : 2.11.2 IPython : 5.5.0 pandas_datareader: 0.9.0 bs4 : 4.6.3 bottleneck : 1.3.2 fsspec : None fastparquet : None gcsfs : None matplotlib : 3.2.2 numexpr : 2.7.1 odfpy : None openpyxl : 2.5.9 pandas_gbq : 0.13.3 pyarrow : 0.14.1 pytables : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.20 tables : 3.4.4 tabulate : 0.8.7 xarray : 0.15.1 xlrd : 1.1.0 xlwt : 1.3.0 numba : 0.48.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/37486/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37486/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37487
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37487/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37487/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37487/events
https://github.com/pandas-dev/pandas/pull/37487
732,439,822
MDExOlB1bGxSZXF1ZXN0NTEyMzc5OTc5
37,487
TST/REF: loc/iloc/at/iat tests go in tests.indexing
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-10-29T15:54:34Z
2020-10-30T14:44:14Z
2020-10-30T13:28:08Z
MEMBER
null
not tests.(series|frame).indexing `(Series|DataFrame).__(getitem|setitem)__` tests go in the tests.(series|frame).indexing
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37487/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37487/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37487.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37487", "merged_at": "2020-10-30T13:28:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37487.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37487" }
https://api.github.com/repos/pandas-dev/pandas/issues/37488
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37488/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37488/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37488/events
https://github.com/pandas-dev/pandas/issues/37488
732,460,008
MDU6SXNzdWU3MzI0NjAwMDg=
37,488
QST: assert_frame_equal with disabled column type check fails unexpectedly
{ "avatar_url": "https://avatars.githubusercontent.com/u/35764319?v=4", "events_url": "https://api.github.com/users/Wizady/events{/privacy}", "followers_url": "https://api.github.com/users/Wizady/followers", "following_url": "https://api.github.com/users/Wizady/following{/other_user}", "gists_url": "https://api.github.com/users/Wizady/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Wizady", "id": 35764319, "login": "Wizady", "node_id": "MDQ6VXNlcjM1NzY0MzE5", "organizations_url": "https://api.github.com/users/Wizady/orgs", "received_events_url": "https://api.github.com/users/Wizady/received_events", "repos_url": "https://api.github.com/users/Wizady/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Wizady/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Wizady/subscriptions", "type": "User", "url": "https://api.github.com/users/Wizady" }
[ { "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": "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" } ]
open
false
null
[]
null
1
2020-10-29T16:19:05Z
2021-08-14T04:26:35Z
null
NONE
null
- [x] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions. - [x] I have asked my usage related question on [StackOverflow](https://stackoverflow.com). --- #### Question about pandas I have two dataframes with different column types that I want to compare. I thought the pd.testing.assert_frame_equal function with check_column_type would be the best solution: import pandas as pd df1 = pd.DataFrame({"1": [1, 2 ,3], "2": [1, 5, 9]}) df2 = pd.DataFrame({1: [1, 2 ,3], 2: [1, 5, 9]}) pd.testing.assert_frame_equal(df1, df2, check_column_type=False) But I get: DataFrame.columns classes are not equivalent [left]: Index(['1', '2'], dtype='object') [right]: Int64Index([1, 2], dtype='int64') Am I missing anything?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37488/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37488/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37489
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37489/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37489/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37489/events
https://github.com/pandas-dev/pandas/issues/37489
732,480,786
MDU6SXNzdWU3MzI0ODA3ODY=
37,489
BUG: mypy doesn't understand the ~ operand for Series
{ "avatar_url": "https://avatars.githubusercontent.com/u/38863?v=4", "events_url": "https://api.github.com/users/imrehg/events{/privacy}", "followers_url": "https://api.github.com/users/imrehg/followers", "following_url": "https://api.github.com/users/imrehg/following{/other_user}", "gists_url": "https://api.github.com/users/imrehg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/imrehg", "id": 38863, "login": "imrehg", "node_id": "MDQ6VXNlcjM4ODYz", "organizations_url": "https://api.github.com/users/imrehg/orgs", "received_events_url": "https://api.github.com/users/imrehg/received_events", "repos_url": "https://api.github.com/users/imrehg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/imrehg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/imrehg/subscriptions", "type": "User", "url": "https://api.github.com/users/imrehg" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" }, { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
null
3
2020-10-29T16:45:08Z
2021-02-28T13:04:44Z
2021-02-28T13:04:44Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python # save it like test.py import pandas as pd s = pd.Series([False]) print(~s) ``` then running `mypy` on this code I get the following errors: ```bash $ mypy test.py test.py:3: error: Too many arguments for "Series" tesrt.py:4: error: Unsupported operand type for ~ ("Series") ``` #### Problem description Since the code is correct, mypy is flagging things wrongly. #### Expected Output mypy should accept that `~` operand for Series (as well as the arguments). #### Output of ``pd.show_versions()`` <details> ``` INSTALLED VERSIONS ------------------ commit : 5532ae8bfb5e6a0203172f36c0738e9c345956a6 python : 3.8.5.final.0 python-bits : 64 OS : Darwin OS-release : 19.6.0 Version : Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 1.2.0.dev0+964.g5532ae8bf numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.3 setuptools : 50.3.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 : 2.11.2 IPython : 7.18.1 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.5.3 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None ``` </details> Also ``` mypy 0.790 mypy-extensions 0.4.3 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37489/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37489/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37490
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37490/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37490/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37490/events
https://github.com/pandas-dev/pandas/issues/37490
732,502,398
MDU6SXNzdWU3MzI1MDIzOTg=
37,490
BUG: File saved with to_stata and version=119 cannot be opened with STATA 15.1 SE
{ "avatar_url": "https://avatars.githubusercontent.com/u/54762742?v=4", "events_url": "https://api.github.com/users/raffaem/events{/privacy}", "followers_url": "https://api.github.com/users/raffaem/followers", "following_url": "https://api.github.com/users/raffaem/following{/other_user}", "gists_url": "https://api.github.com/users/raffaem/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/raffaem", "id": 54762742, "login": "raffaem", "node_id": "MDQ6VXNlcjU0NzYyNzQy", "organizations_url": "https://api.github.com/users/raffaem/orgs", "received_events_url": "https://api.github.com/users/raffaem/received_events", "repos_url": "https://api.github.com/users/raffaem/repos", "site_admin": false, "starred_url": "https://api.github.com/users/raffaem/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/raffaem/subscriptions", "type": "User", "url": "https://api.github.com/users/raffaem" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "5319e7", "default": false, "description": "read_stata, to_stata", "id": 104865385, "name": "IO Stata", "node_id": "MDU6TGFiZWwxMDQ4NjUzODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata" }, { "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": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
3
2020-10-29T17:13:45Z
2020-11-10T03:38:45Z
2020-11-10T03:38: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 pandas as pd df = pd.DataFrame({"A":[1]}) df.to_stata("a.dta", version=119) ``` #### Problem description I have Stata/SE 15.1. I run the above code, then try to open `a.dta` with my version of Stata. But Stata doesn't open the file and instead gives the following error: > dataset too large > This .dta file format was created by Stata/MP and has more variables than your Stata can handle. Of course the file is not too large, since it contains only 1 observation and 1 variable. It looks like pandas is saving the file in the "MP" version. I propose to save it in the SE version, or at least specify which sub-version of Stata the file is saved in in the documentation. #### Expected Output #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.8.5.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18362 machine : AMD64 processor : Intel64 Family 6 Model 158 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : Italian_Italy.1252 pandas : 1.1.3 numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.4 setuptools : 50.3.0.post20201006 Cython : 0.29.21 pytest : 6.1.1 hypothesis : None sphinx : 3.2.1 blosc : None feather : None xlsxwriter : 1.3.7 lxml.etree : 4.6.1 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.18.1 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.1 odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.0 sqlalchemy : 1.3.20 tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.51.2 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37490/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37490/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37491
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37491/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37491/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37491/events
https://github.com/pandas-dev/pandas/issues/37491
732,516,517
MDU6SXNzdWU3MzI1MTY1MTc=
37,491
BUG: Inconsistent data type conversion with .sum
{ "avatar_url": "https://avatars.githubusercontent.com/u/50733646?v=4", "events_url": "https://api.github.com/users/candalfigomoro/events{/privacy}", "followers_url": "https://api.github.com/users/candalfigomoro/followers", "following_url": "https://api.github.com/users/candalfigomoro/following{/other_user}", "gists_url": "https://api.github.com/users/candalfigomoro/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/candalfigomoro", "id": 50733646, "login": "candalfigomoro", "node_id": "MDQ6VXNlcjUwNzMzNjQ2", "organizations_url": "https://api.github.com/users/candalfigomoro/orgs", "received_events_url": "https://api.github.com/users/candalfigomoro/received_events", "repos_url": "https://api.github.com/users/candalfigomoro/repos", "site_admin": false, "starred_url": "https://api.github.com/users/candalfigomoro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/candalfigomoro/subscriptions", "type": "User", "url": "https://api.github.com/users/candalfigomoro" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "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": "547c03", "default": false, "description": "sum, mean, min, max, etc.", "id": 2365504383, "name": "Reduction Operations", "node_id": "MDU6TGFiZWwyMzY1NTA0Mzgz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reduction%20Operations" } ]
open
false
null
[]
null
10
2020-10-29T17:33:34Z
2020-10-30T10:49:51Z
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 s = pd.Series([1, 2, 3, 4, 5]) print(s.sum().dtype) # int64 print(s.astype("float16").sum().dtype) # float16 print(s.astype("float32").sum().dtype) # float32 print(s.astype("int16").sum().dtype) # int64 ??? print(s.astype("uint8").sum().dtype) # int64 ??? ``` #### Problem description Summing a `float16` Series/DataFrame returns `float16` values. Summing a `float32` Series/DataFrame returns `float32` values. However, summing integer Series/DataFrames always returns `int64` values, regardless of their original type ( `int16`, `uint8` etc.). #### Expected Output Summing `int32` values should return `int32` values, just like summing `float32` values returns `float32` values. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.8.5.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.16299 machine : AMD64 processor : Intel64 Family 6 Model 78 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : Italian_Italy.1252 pandas : 1.1.3 numpy : 1.19.3 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.4 setuptools : 50.3.0.post20201006 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37491/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37491/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37492
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37492/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37492/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37492/events
https://github.com/pandas-dev/pandas/pull/37492
732,563,267
MDExOlB1bGxSZXF1ZXN0NTEyNDg0MjE4
37,492
CLN: unify numpy.random-related imports
{ "avatar_url": "https://avatars.githubusercontent.com/u/21543236?v=4", "events_url": "https://api.github.com/users/onshek/events{/privacy}", "followers_url": "https://api.github.com/users/onshek/followers", "following_url": "https://api.github.com/users/onshek/following{/other_user}", "gists_url": "https://api.github.com/users/onshek/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/onshek", "id": 21543236, "login": "onshek", "node_id": "MDQ6VXNlcjIxNTQzMjM2", "organizations_url": "https://api.github.com/users/onshek/orgs", "received_events_url": "https://api.github.com/users/onshek/received_events", "repos_url": "https://api.github.com/users/onshek/repos", "site_admin": false, "starred_url": "https://api.github.com/users/onshek/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/onshek/subscriptions", "type": "User", "url": "https://api.github.com/users/onshek" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
5
2020-10-29T18:41:55Z
2020-10-30T14:08:07Z
2020-10-30T13:22:51Z
CONTRIBUTOR
null
- [x] closes #37053 ~~(keep this issue open until both #37492 and #37117 are completed)~~ - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` # update 2020-10-30 This is the replacement for #37103, since I messed up the git timeline in the previous PR(the conflicts are too complex to fix). The separate CI is in #37117. The whole project is reformatted except `pandas/_testing.py` for there are quite a few `tm.randn` used in testing files. below is the script to do the whole clean-up ``` import os import re class NumpyRandomRelatedScript: def __init__(self, base_dir: str = "/dir/of/pandas/pandas") -> None: self.base_dir = base_dir self.py_files = [] self.backup_files = [] self.p1 = re.compile("import numpy as np") self.p2 = re.compile("from numpy.random import[ ,a-zA-Z]*[\s]") self.p3 = re.compile("from numpy import random[\s]") def search_py_files(self, pandas_file_dir: str) -> None: if os.path.isfile(pandas_file_dir): if pandas_file_dir[-3:] == ".py": if pandas_file_dir != os.path.join(self.base_dir, "_testing.py"): self.py_files.append(pandas_file_dir) elif os.path.isdir(pandas_file_dir): for d in os.listdir(pandas_file_dir): self.search_py_files(os.path.join(pandas_file_dir, d)) def do_the_clean_up(self, file_dir: str) -> None: with open(file_dir, "r") as file: data = file.read() m1, m2, m3 = ( re.search(self.p1, data), re.search(self.p2, data), re.search(self.p3, data), ) if not (m2 or m3): # print("There's no need to change, please recheck!") return backup_dir = file_dir + ".issue37053_backup" self.backup_files.append(backup_dir) print("Backup: " + backup_dir) with open(backup_dir, "w+") as file: file.write(data) with open(file_dir, "w+") as file: if m2: if not m1: data = re.sub(self.p2, "import numpy as np\n", data) m1 = True else: data = re.sub(self.p2, "", data) methods = ( m2.group(0) .replace("from numpy.random import", "") .replace(" ", "") .replace("\n", "") .split(",") ) if isinstance(methods, str): methods = [methods] for method in methods: data = re.sub( r"[\s]{meth}[^a-z]".format(meth=method), " np.random.{meth}(".format(meth=method), data, ) data = re.sub( r"[\s]-{meth}[^a-z]".format(meth=method), " -np.random.{meth}(".format(meth=method), data, ) data = re.sub( r"[\(]{meth}[^a-z]".format(meth=method), "(np.random.{meth}(".format(meth=method), data, ) if m3: if not m1: data = re.sub(self.p3, "import numpy as np\n", data) else: data = re.sub(self.p3, "", data) data = re.sub(r"[\s]random.{1}", " np.random.", data) data = re.sub(r"[\(]random.{1}", "(np.random.", data) file.write(data) print("Clean: " + file_dir) def remove_backup(self) -> None: for file in self.backup_files: print("Remove: " + file) os.remove(file) if __name__ == "__main__": script = NumpyRandomRelatedScript() script.search_py_files(script.base_dir) for f in script.py_files: script.do_the_clean_up(f) script.remove_backup() ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37492/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37492/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37492.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37492", "merged_at": "2020-10-30T13:22:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37492.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37492" }
https://api.github.com/repos/pandas-dev/pandas/issues/37493
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37493/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37493/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37493/events
https://github.com/pandas-dev/pandas/issues/37493
732,590,449
MDU6SXNzdWU3MzI1OTA0NDk=
37,493
ENH: support masked arrays in groupby cython algos
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "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" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
1
2020-10-29T19:23:02Z
2021-09-22T15:27:50Z
null
MEMBER
null
Similarly as for normal reductions (eg https://github.com/pandas-dev/pandas/pull/30982), we should investigate having masked array-specific support in the groupby algorithms. Currently, when starting from a nullable extension array, they get converted to a numpy array (eg integers with missing values will typically get cast to float with nan) before passing to the cython algorithm. Having support for passing a mask to the cython algos can improve the groupby support for nullable dtypes. * [x] `any` / `all` (correctly pass mask + add Kleene logic) -> https://github.com/pandas-dev/pandas/pull/40819 * [x] `cummin` / `cummax` -> https://github.com/pandas-dev/pandas/pull/40651 * [ ] `cumsum` / `cumprod` * [ ] `sum` / `prod` / `var` / `mean` * [x] `min` / `max` -> https://github.com/pandas-dev/pandas/pull/42567 * [ ] `median` * [ ] `ohlc` * [ ] `quantile` (correctly pass mask) * [ ] `last` / `nth` * [ ] `rank`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37493/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37493/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37494
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37494/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37494/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37494/events
https://github.com/pandas-dev/pandas/issues/37494
732,594,630
MDU6SXNzdWU3MzI1OTQ2MzA=
37,494
ENH: improve the resulting dtype for groupby operations on nullable dtypes
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
open
false
null
[]
null
5
2020-10-29T19:29:51Z
2021-08-14T04:28:06Z
null
MEMBER
null
Follow-up on https://github.com/pandas-dev/pandas/pull/37433, and partly related to https://github.com/pandas-dev/pandas/issues/37493 Currently, after groupby operations we try to cast back to the original dtype when possible (at least in case of extension arrays). But this is not always correct, and also not done consistently. Some examples using the test case from the mentioned PR using a nullable Int64 column as input: ``` In [1]: df = DataFrame( ...: { ...: "A": ["A", "B"] * 5, ...: "B": pd.array([1, 2, 3, 4, 5, 6, 7, 8, 9, pd.NA], dtype="Int64"), ...: } ...: ) In [2]: df.groupby("A")["B"].sum() Out[2]: A A 25 B 20 Name: B, dtype: Int64 In [3]: df.groupby("A")["B"].std() Out[3]: A A 3.162278 B 2.581989 Name: B, dtype: float64 In [4]: df.groupby("A")["B"].mean() Out[4]: A A 5 B 5 Name: B, dtype: Int64 In [5]: df.groupby("A")["B"].count() Out[5]: A A 5 B 4 Name: B, dtype: int64 ``` So some observations: * For `sum()`, we correctly have Int64 for the result * For `std()`, we could use the nullable Float64 instead of float64 dtype * For `mean()`, we incorrectly cast back to Int64 dtype, as the result of mean should always be floating (in this case the casting just happened to work because the means were rounded numbers) * For `count()`, we did not create a nullable Int64 dtype for the result, while this could be done in the input is nullable
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37494/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37494/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37495
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37495/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37495/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37495/events
https://github.com/pandas-dev/pandas/pull/37495
732,633,839
MDExOlB1bGxSZXF1ZXN0NTEyNTQ0OTE0
37,495
BUG: Series[uintarray] failing to raise KeyError
{ "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": "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": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-29T20:24:18Z
2020-10-30T22:49:43Z
2020-10-30T22:45:57Z
MEMBER
null
- [x] closes #37218 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37495/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37495/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37495.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37495", "merged_at": "2020-10-30T22:45:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37495.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37495" }
https://api.github.com/repos/pandas-dev/pandas/issues/37496
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37496/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37496/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37496/events
https://github.com/pandas-dev/pandas/pull/37496
732,651,674
MDExOlB1bGxSZXF1ZXN0NTEyNTU5NTkx
37,496
DOC: release date for 1.1.4
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
0
2020-10-29T20:52:07Z
2020-10-29T22:00:51Z
2020-10-29T21:47: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/37496/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37496/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37496.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37496", "merged_at": "2020-10-29T21:47:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37496.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37496" }
https://api.github.com/repos/pandas-dev/pandas/issues/37497
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37497/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37497/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37497/events
https://github.com/pandas-dev/pandas/pull/37497
732,670,672
MDExOlB1bGxSZXF1ZXN0NTEyNTc2MDEx
37,497
REGR: fix inplace arithmetic operation on Series no longer updating parent DataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
5
2020-10-29T21:19:41Z
2020-10-30T09:36:58Z
2020-10-30T09:36:53Z
MEMBER
null
Closes #36373 See discussion at https://github.com/pandas-dev/pandas/pull/36498#issuecomment-708578774 for reverting the original fix (https://github.com/pandas-dev/pandas/pull/30501 for #30484)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37497/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37497/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37497.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37497", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/37497.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37497" }
https://api.github.com/repos/pandas-dev/pandas/issues/37498
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37498/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37498/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37498/events
https://github.com/pandas-dev/pandas/pull/37498
732,671,889
MDExOlB1bGxSZXF1ZXN0NTEyNTc3MDQ4
37,498
TST: tz_localize/tz_convert unclear test assertions
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-29T21:21:54Z
2020-10-30T14:53:02Z
2020-10-30T13:21:14Z
MEMBER
null
kill off tests.series.test_timezones.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37498/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37498/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37498.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37498", "merged_at": "2020-10-30T13:21:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37498.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37498" }
https://api.github.com/repos/pandas-dev/pandas/issues/37499
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37499/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37499/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37499/events
https://github.com/pandas-dev/pandas/pull/37499
732,678,757
MDExOlB1bGxSZXF1ZXN0NTEyNTgyODkz
37,499
REGR: fix isin for large series with nan and mixed object dtype (causing regression in read_csv)
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "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": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
2
2020-10-29T21:33:13Z
2020-10-30T11:02:59Z
2020-10-30T10:51:29Z
MEMBER
null
Closes #37094
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37499/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37499/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37499.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37499", "merged_at": "2020-10-30T10:51:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37499.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37499" }
https://api.github.com/repos/pandas-dev/pandas/issues/37500
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37500/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37500/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37500/events
https://github.com/pandas-dev/pandas/pull/37500
732,686,851
MDExOlB1bGxSZXF1ZXN0NTEyNTg5NzI5
37,500
Backport PR #37496 on branch 1.1.x (DOC: release date for 1.1.4)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
0
2020-10-29T21:48:21Z
2020-10-30T10:32:39Z
2020-10-30T10:32:39Z
NONE
null
Backport PR #37496: DOC: release date for 1.1.4
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37500/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37500/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37500.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37500", "merged_at": "2020-10-30T10:32:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37500.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37500" }
https://api.github.com/repos/pandas-dev/pandas/issues/37501
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37501/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37501/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37501/events
https://github.com/pandas-dev/pandas/issues/37501
732,692,032
MDU6SXNzdWU3MzI2OTIwMzI=
37,501
BUG: Groupby any/all raises TypeError for pd.NA
{ "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" } ]
closed
false
null
[]
{ "closed_at": "2021-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
2020-10-29T21:58:48Z
2021-06-21T16:59:23Z
2021-06-21T16:59:23Z
MEMBER
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import pandas as pd df = pd.DataFrame({"a": [1, 1, 2, 2, 3, 3, 4], "b": [1, pd.NA, 2, 3, 4, 5, 6]}) grouped = df.groupby("a") print(grouped.all()) print(grouped.any()) ``` #### Problem description Both raise a ``TypeError`` Traceback: ``` Traceback (most recent call last): File "/home/developer/.config/JetBrains/PyCharm2020.2/scratches/scratch_4.py", line 10, in <module> print(grouped.all()) File "/home/developer/PycharmProjects/pandas/pandas/core/groupby/groupby.py", line 1424, in all return self._bool_agg("all", skipna) File "/home/developer/PycharmProjects/pandas/pandas/core/groupby/groupby.py", line 1375, in _bool_agg return self._get_cythonized_result( File "/home/developer/PycharmProjects/pandas/pandas/core/groupby/groupby.py", line 2631, in _get_cythonized_result raise TypeError(error_msg) TypeError: boolean value of NA is ambiguous ``` Maybe using mask like in ``print(df.all(axis=1))``? #### Expected Output Should work like with ``np.nan`` and return ``` b a 1 True 2 True 3 True 4 True b a 1 True 2 True 3 True 4 True ``` #### Output of ``pd.show_versions()`` <details> master </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/37501/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37501/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37502
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37502/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37502/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37502/events
https://github.com/pandas-dev/pandas/pull/37502
732,693,007
MDExOlB1bGxSZXF1ZXN0NTEyNTk0NjMy
37,502
REGR: revert behaviour of getitem with assigning with a Series
{ "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": "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": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
2
2020-10-29T22:00:13Z
2020-10-30T08:42:59Z
2020-10-30T08:14:54Z
MEMBER
null
Closes #37427 @jbrockmendel this is reverting part of the clean-up you did in https://github.com/pandas-dev/pandas/pull/33643. I think the behavioural change was unintentional in that PR. We might still want to do it for 1.2, but then with a deprecation first.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37502/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37502/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37502.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37502", "merged_at": "2020-10-30T08:14:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37502.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37502" }
https://api.github.com/repos/pandas-dev/pandas/issues/37503
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37503/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37503/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37503/events
https://github.com/pandas-dev/pandas/pull/37503
732,694,489
MDExOlB1bGxSZXF1ZXN0NTEyNTk1ODQ5
37,503
Backport PR #37473 on branch 1.1.x (CI: 32 bit maybe_indices_to_slice)
{ "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": "0e8a16", "default": false, "description": "32-bit systems", "id": 563047854, "name": "32bit", "node_id": "MDU6TGFiZWw1NjMwNDc4NTQ=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/32bit" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
0
2020-10-29T22:03:15Z
2020-10-30T10:12:38Z
2020-10-30T10:12:38Z
NONE
null
Backport PR #37473: CI: 32 bit maybe_indices_to_slice
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37503/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37503/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37503.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37503", "merged_at": "2020-10-30T10:12:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37503.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37503" }
https://api.github.com/repos/pandas-dev/pandas/issues/37504
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37504/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37504/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37504/events
https://github.com/pandas-dev/pandas/pull/37504
732,708,569
MDExOlB1bGxSZXF1ZXN0NTEyNjA3ODI1
37,504
TST: pct_change from generic to frame
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-29T22:34:09Z
2020-10-30T14:49:07Z
2020-10-30T13:24:00Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37504/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37504/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37504.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37504", "merged_at": "2020-10-30T13:24:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37504.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37504" }
https://api.github.com/repos/pandas-dev/pandas/issues/37505
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37505/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37505/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37505/events
https://github.com/pandas-dev/pandas/issues/37505
732,742,871
MDU6SXNzdWU3MzI3NDI4NzE=
37,505
REF: Make function for dtype casting in pre-processing of groupby
{ "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": "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "207de5", "default": false, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
0
2020-10-29T23:36:22Z
2021-08-14T04:29:09Z
null
MEMBER
null
#### Is your feature request related to a problem? [this should provide a description of what the problem is, e.g. "I wish I could use pandas to do [...]"] #### Describe the solution you'd like As mentioned in #37145 the pre processing part in https://github.com/pandas-dev/pandas/blob/6abe5106a63431239081af7c15a1569628cf7628/pandas/core/groupby/groupby.py#L2174 is very generic and could be moved to a function
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37505/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37505/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37506
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37506/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37506/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37506/events
https://github.com/pandas-dev/pandas/issues/37506
732,742,964
MDU6SXNzdWU3MzI3NDI5NjQ=
37,506
ENH: implement Kleene versions of GroupBy any/all kernels for nullable dtypes
{ "avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4", "events_url": "https://api.github.com/users/arw2019/events{/privacy}", "followers_url": "https://api.github.com/users/arw2019/followers", "following_url": "https://api.github.com/users/arw2019/following{/other_user}", "gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arw2019", "id": 48889395, "login": "arw2019", "node_id": "MDQ6VXNlcjQ4ODg5Mzk1", "organizations_url": "https://api.github.com/users/arw2019/orgs", "received_events_url": "https://api.github.com/users/arw2019/received_events", "repos_url": "https://api.github.com/users/arw2019/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arw2019/subscriptions", "type": "User", "url": "https://api.github.com/users/arw2019" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "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
{ "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" }
[ { "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" } ]
{ "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
2020-10-29T23:36:28Z
2021-04-13T17:12:16Z
2021-04-13T17:12:16Z
MEMBER
null
xref https://github.com/pandas-dev/pandas/issues/37493#issuecomment-718974981
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37506/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37506/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37507
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37507/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37507/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37507/events
https://github.com/pandas-dev/pandas/pull/37507
732,747,016
MDExOlB1bGxSZXF1ZXN0NTEyNjQyMjUx
37,507
TST/REF: collect indexing tests by method
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-10-29T23:40:42Z
2020-10-30T17:16:48Z
2020-10-30T17:16:17Z
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/37507/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37507/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37507.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37507", "merged_at": "2020-10-30T17:16:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37507.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37507" }
https://api.github.com/repos/pandas-dev/pandas/issues/37508
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37508/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37508/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37508/events
https://github.com/pandas-dev/pandas/pull/37508
732,758,151
MDExOlB1bGxSZXF1ZXN0NTEyNjUyNjkw
37,508
REGR: inplace Series op not actually operating inplace
{ "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": "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": "70e5ca", "default": false, "description": "", "id": 2085877452, "name": "Copy / view semantics", "node_id": "MDU6TGFiZWwyMDg1ODc3NDUy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Copy%20/%20view%20semantics" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
2
2020-10-29T23:52:07Z
2020-10-30T15:00:52Z
2020-10-30T08:59:45Z
MEMBER
null
- [x] closes #36373 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry alternative to #37497, ensures that Series inplace ops are actually inplace whenever possible. The whatsnew is copied verbatim from #37497, the new test is copied with an additional assertion about `series._values`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37508/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37508/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37508.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37508", "merged_at": "2020-10-30T08:59:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37508.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37508" }
https://api.github.com/repos/pandas-dev/pandas/issues/37509
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37509/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37509/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37509/events
https://github.com/pandas-dev/pandas/pull/37509
732,830,773
MDExOlB1bGxSZXF1ZXN0NTEyNzE1NDMy
37,509
CLN: assorted cleanups
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-30T02:25:01Z
2020-10-30T17:01:42Z
2020-10-30T16:04:08Z
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/37509/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37509/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37509.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37509", "merged_at": "2020-10-30T16:04:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37509.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37509" }
https://api.github.com/repos/pandas-dev/pandas/issues/37510
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37510/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37510/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37510/events
https://github.com/pandas-dev/pandas/issues/37510
732,835,325
MDU6SXNzdWU3MzI4MzUzMjU=
37,510
BUG: index label messed up when reset_level then unstack then sort_index
{ "avatar_url": "https://avatars.githubusercontent.com/u/70167716?v=4", "events_url": "https://api.github.com/users/hliatrussellinvestments/events{/privacy}", "followers_url": "https://api.github.com/users/hliatrussellinvestments/followers", "following_url": "https://api.github.com/users/hliatrussellinvestments/following{/other_user}", "gists_url": "https://api.github.com/users/hliatrussellinvestments/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hliatrussellinvestments", "id": 70167716, "login": "hliatrussellinvestments", "node_id": "MDQ6VXNlcjcwMTY3NzE2", "organizations_url": "https://api.github.com/users/hliatrussellinvestments/orgs", "received_events_url": "https://api.github.com/users/hliatrussellinvestments/received_events", "repos_url": "https://api.github.com/users/hliatrussellinvestments/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hliatrussellinvestments/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hliatrussellinvestments/subscriptions", "type": "User", "url": "https://api.github.com/users/hliatrussellinvestments" }
[ { "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" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2020-10-30T02:38:29Z
2020-12-31T19:11:28Z
2020-12-31T19:11:28Z
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python # Your code here import pandas as pd df1 = pd.DataFrame({'id1': [1, 2, 3, 4], 'id2': [3,4,1,2], 'id3': [1,1,1,1], 'x': [1,2,3,4]}) df1.set_index(['id1', 'id2', 'id3'], inplace=True) new_levels = ['n1', 'n2', 'n3', None] df1.index.set_levels(levels=new_levels, level='id1', inplace=True) df1.index.set_levels(levels=new_levels, level='id2', inplace=True) df1.unstack('id3')[('x',1)].sort_index() ``` #### Problem description I would expect the index after the reset_level operations should be just normal index, but when doing sort_index, it seems index level ‘id1’ of row 1 is incorrectly changed to ‘n1’ from NaN and the same for level ‘id2’ of row 2. The result is: id1 id2 n1 n2 4 n3 1 n2 n1 2 n3 n1 3 Name: (x, 1), dtype: int64 #### Expected Output id1 id2 n1 n3 1 n2 NaN 2 n3 n1 3 NaN n2 4 Name: (x, 1), dtype: int64 #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : f2ca0a2665b2d169c97de87b8e778dbed86aea07 python : 3.8.5.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18362 machine : AMD64 processor : Intel64 Family 6 Model 94 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : English_United States.1252 pandas : 1.1.1 numpy : 1.19.0 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.3 setuptools : 47.1.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.1 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.2.2 numexpr : None odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.0 sqlalchemy : 1.3.18 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/37510/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37510/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37511
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37511/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37511/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37511/events
https://github.com/pandas-dev/pandas/pull/37511
732,835,481
MDExOlB1bGxSZXF1ZXN0NTEyNzE5MTc3
37,511
CLN: remove _vendored/typing_extensions
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-10-30T02:38:57Z
2020-10-30T14:56:51Z
2020-10-30T13:20:34Z
MEMBER
null
- [x] closes #37119 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry As discussed in #37119, the vendored version does not serve its intended purpose. Moreover, #37137 shows a way to get by without it.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37511/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37511/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37511.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37511", "merged_at": "2020-10-30T13:20:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37511.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37511" }
https://api.github.com/repos/pandas-dev/pandas/issues/37512
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37512/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37512/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37512/events
https://github.com/pandas-dev/pandas/pull/37512
732,846,703
MDExOlB1bGxSZXF1ZXN0NTEyNzI4MjMy
37,512
BUG: Series.replace does not preserve dtype of original Series
{ "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": "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": "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": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" }, { "color": "01a886", "default": false, "description": "replace method", "id": 1652721180, "name": "replace", "node_id": "MDU6TGFiZWwxNjUyNzIxMTgw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/replace" }, { "color": "b60205", "default": false, "description": "Temporarily-closed PR the author plans to return to", "id": 1991290519, "name": "Mothballed", "node_id": "MDU6TGFiZWwxOTkxMjkwNTE5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Mothballed" } ]
closed
false
{ "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" }
[ { "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" } ]
null
4
2020-10-30T03:11:32Z
2020-11-11T21:06:53Z
2020-11-11T20:46:00Z
MEMBER
null
- [x] closes #33484 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Reheating #33622 (stale)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37512/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37512/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37512.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37512", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/37512.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37512" }
https://api.github.com/repos/pandas-dev/pandas/issues/37513
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37513/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37513/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37513/events
https://github.com/pandas-dev/pandas/pull/37513
732,856,323
MDExOlB1bGxSZXF1ZXN0NTEyNzM2MjAx
37,513
TST: setting value at MultiIndex slice using .loc
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "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
{ "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" }
[ { "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" } ]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-10-30T03:38:24Z
2020-10-31T17:19:09Z
2020-10-31T17:19:06Z
MEMBER
null
- [x] closes #34870 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37513/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37513/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37513.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37513", "merged_at": "2020-10-31T17:19:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37513.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37513" }
https://api.github.com/repos/pandas-dev/pandas/issues/37514
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37514/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37514/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37514/events
https://github.com/pandas-dev/pandas/pull/37514
732,988,913
MDExOlB1bGxSZXF1ZXN0NTEyODQ0NjAw
37,514
Backport PR #37502: REGR: revert behaviour of getitem with assigning with a Series
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
0
2020-10-30T08:42:39Z
2020-10-30T09:35:48Z
2020-10-30T09:35:45Z
MEMBER
null
Backport of https://github.com/pandas-dev/pandas/pull/37502
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37514/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37514/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37514.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37514", "merged_at": "2020-10-30T09:35:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37514.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37514" }
https://api.github.com/repos/pandas-dev/pandas/issues/37515
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37515/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37515/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37515/events
https://github.com/pandas-dev/pandas/pull/37515
733,005,359
MDExOlB1bGxSZXF1ZXN0NTEyODU2ODI4
37,515
Backport PR #37508: REGR: inplace Series op not actually operating inplace
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
0
2020-10-30T09:06:46Z
2020-10-30T10:50:13Z
2020-10-30T10:24:41Z
MEMBER
null
Backport of https://github.com/pandas-dev/pandas/pull/37508
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37515/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37515/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37515.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37515", "merged_at": "2020-10-30T10:24:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37515.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37515" }
https://api.github.com/repos/pandas-dev/pandas/issues/37516
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37516/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37516/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37516/events
https://github.com/pandas-dev/pandas/issues/37516
733,024,257
MDU6SXNzdWU3MzMwMjQyNTc=
37,516
API: alignment behaviour of Series as assignment value in indexing
{ "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": "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": "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
2
2020-10-30T09:34:18Z
2021-08-14T04:30:46Z
null
MEMBER
null
Follow up on https://github.com/pandas-dev/pandas/issues/37427 Currently, there is an inconsistency between `__getitem__` and `loc` related to how the RHS value in an assignment gets re-aligned or not. In this example, the values in Series get just assigned as is, ignoring the index of the series (only requiring that the length matches the number of values in the indexer): ```python s = pd.Series(range(5)) idx = np.array([1, 4]) >>> s[idx] = Series([10, 11]) >>> s 0 0 1 10 2 2 3 3 4 11 dtype: int64 ``` However, with `loc` we have a different behaviour: the Series gets basically aligned with `s` first, and then this realigned series is also indexed with ``idx``, and those values get set: ```python s = pd.Series(range(5)) idx = np.array([1, 4]) >>> s.loc[idx] = Series([10, 11]) >>> s 0 0.0 1 11.0 2 2.0 3 3.0 4 NaN dtype: float64 ``` you could write what basically happens more explicitly as: ```python s.loc[idx] = Series([10, 11]).reindex(s.index)[idx] ``` To have the same behaviour as `__getitem__`, you need to assign with an array instead of series: ```python s = pd.Series(range(5)) idx = np.array([1, 4]) >>> s.loc[idx] = Series([10, 11]).values >>> s 0 0 1 10 2 2 3 3 4 11 dtype: int64 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37516/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37516/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/37517
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37517/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37517/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37517/events
https://github.com/pandas-dev/pandas/pull/37517
733,082,801
MDExOlB1bGxSZXF1ZXN0NTEyOTE5ODkw
37,517
Backport PR #37499 on branch 1.1.x (REGR: fix isin for large series with nan and mixed object dtype (causing regression in read_csv))
{ "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": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
closed
false
null
[]
{ "closed_at": "2020-10-31T15:14:04Z", "closed_issues": 94, "created_at": "2020-09-26T01:36:01Z", "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.1.x", "due_on": "2020-10-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/78", "id": 5919858, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78/labels", "node_id": "MDk6TWlsZXN0b25lNTkxOTg1OA==", "number": 78, "open_issues": 0, "state": "closed", "title": "1.1.4", "updated_at": "2020-11-25T22:43:27Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/78" }
0
2020-10-30T11:03:40Z
2020-10-30T11:53:34Z
2020-10-30T11:53:33Z
NONE
null
Backport PR #37499: REGR: fix isin for large series with nan and mixed object dtype (causing regression in read_csv)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/37517/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37517/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/37517.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/37517", "merged_at": "2020-10-30T11:53:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/37517.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/37517" }
https://api.github.com/repos/pandas-dev/pandas/issues/37518
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/37518/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/37518/comments
https://api.github.com/repos/pandas-dev/pandas/issues/37518/events
https://github.com/pandas-dev/pandas/issues/37518
733,090,896
MDU6SXNzdWU3MzMwOTA4OTY=
37,518
ENH: Validate merge is not made on NA values in the merge keys
{ "avatar_url": "https://avatars.githubusercontent.com/u/11358792?v=4", "events_url": "https://api.github.com/users/ThomasBourgeois/events{/privacy}", "followers_url": "https://api.github.com/users/ThomasBourgeois/followers", "following_url": "https://api.github.com/users/ThomasBourgeois/following{/other_user}", "gists_url": "https://api.github.com/users/ThomasBourgeois/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ThomasBourgeois", "id": 11358792, "login": "ThomasBourgeois", "node_id": "MDQ6VXNlcjExMzU4Nzky", "organizations_url": "https://api.github.com/users/ThomasBourgeois/orgs", "received_events_url": "https://api.github.com/users/ThomasBourgeois/received_events", "repos_url": "https://api.github.com/users/ThomasBourgeois/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ThomasBourgeois/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ThomasBourgeois/subscriptions", "type": "User", "url": "https://api.github.com/users/ThomasBourgeois" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "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
3
2020-10-30T11:16:31Z
2021-02-11T03:12:25Z
2021-02-11T03:12:25Z
NONE
null
#### Is your feature request related to a problem? I wish pandas merge function would prodive a way to verify that it does not merge on NA values, which, most of the times, are not what we want. Right now, I'm always doing a pre-check that my right dataframe does not have any NA values in keys, but when you are doing 10 merges one after the other, this is cumbersome and bug-prone. #### Describe the solution you'd like This would be an additional parameter (e.g. validate_no_na_merge) in pd.merge() function, defaulting to False, which, when True, would just assert that there are no NA values in the keys of the right dataframe. Thus, checking that there won't be any merge on NA keys. Note this leaves the possibility that keys in the _left_ dataframe contain NA values and will be kept as such in the final merged dataframe. Here we just wish to verify that the _merge_ itself is not made on NA values. #### API breaking implications If the parameter defaults to False, I do not see any breaks. #### Describe alternatives you've considered Right now, I'm always doing a pre-check such as : `assert not df_right.merge_key.isnull().any()` `df = pd.merge(df_left, df_right, on='merge_key', ...)` #### Additional context 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/37518/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/37518/timeline
null
null
null