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/38319
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38319/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38319/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38319/events
https://github.com/pandas-dev/pandas/pull/38319
757,764,584
MDExOlB1bGxSZXF1ZXN0NTMzMDgxMDgx
38,319
Removed unnecessary dict calls
{ "avatar_url": "https://avatars.githubusercontent.com/u/25761647?v=4", "events_url": "https://api.github.com/users/Arun12121/events{/privacy}", "followers_url": "https://api.github.com/users/Arun12121/followers", "following_url": "https://api.github.com/users/Arun12121/following{/other_user}", "gists_url": "https://api.github.com/users/Arun12121/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Arun12121", "id": 25761647, "login": "Arun12121", "node_id": "MDQ6VXNlcjI1NzYxNjQ3", "organizations_url": "https://api.github.com/users/Arun12121/orgs", "received_events_url": "https://api.github.com/users/Arun12121/received_events", "repos_url": "https://api.github.com/users/Arun12121/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Arun12121/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Arun12121/subscriptions", "type": "User", "url": "https://api.github.com/users/Arun12121" }
[ { "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" }
0
2020-12-05T19:30:38Z
2020-12-07T13:34:34Z
2020-12-07T13:34:34Z
CONTRIBUTOR
null
xref #38138 File modified: pandas/tests/io/parser/test_quoting.py pandas/tests/io/parser/test_usecols.py - [ ] 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/38319/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38319/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38319.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38319", "merged_at": "2020-12-07T13:34:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38319.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38319" }
https://api.github.com/repos/pandas-dev/pandas/issues/38320
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38320/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38320/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38320/events
https://github.com/pandas-dev/pandas/pull/38320
757,766,477
MDExOlB1bGxSZXF1ZXN0NTMzMDgyNDA5
38,320
CLN: fix C408 #38138
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
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-12-05T19:42:07Z
2020-12-07T13:32:06Z
2020-12-07T13:32:02Z
MEMBER
null
xref #38138
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38320/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38320/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38320.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38320", "merged_at": "2020-12-07T13:32:02Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38320.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38320" }
https://api.github.com/repos/pandas-dev/pandas/issues/38321
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38321/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38321/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38321/events
https://github.com/pandas-dev/pandas/pull/38321
757,783,107
MDExOlB1bGxSZXF1ZXN0NTMzMDk0Mjg2
38,321
CLN: remove now-unnecesary coerce_to_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": "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": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-12-05T21:23:26Z
2020-12-07T15:37:10Z
2020-12-07T13:47:48Z
MEMBER
null
Made unnecessary bc we now operate blockwise, so coercion is handled at a lower level.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38321/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38321/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38321.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38321", "merged_at": "2020-12-07T13:47:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38321.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38321" }
https://api.github.com/repos/pandas-dev/pandas/issues/38322
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38322/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38322/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38322/events
https://github.com/pandas-dev/pandas/pull/38322
757,783,732
MDExOlB1bGxSZXF1ZXN0NTMzMDk0NzI1
38,322
REF: use lighter-weight casting function
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "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": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2020-12-05T21:27:50Z
2020-12-08T18:14:50Z
2020-12-08T18:13:23Z
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/38322/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38322/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38322.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38322", "merged_at": "2020-12-08T18:13:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38322.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38322" }
https://api.github.com/repos/pandas-dev/pandas/issues/38323
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38323/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38323/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38323/events
https://github.com/pandas-dev/pandas/pull/38323
757,787,433
MDExOlB1bGxSZXF1ZXN0NTMzMDk3MjY5
38,323
CLN: Implement multiindex handling for get_op_result_name
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
8
2020-12-05T21:50:19Z
2020-12-11T23:42:58Z
2020-12-11T23:36:34Z
MEMBER
null
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` @jbrockmendel This would solve the inconsistency in ``get_op_result_name`` for MultiIndexes, but adds a bit more complexity here. I think this would allow us to remove the now duplicated code in ``intersection``
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38323/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38323/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38323.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38323", "merged_at": "2020-12-11T23:36:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38323.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38323" }
https://api.github.com/repos/pandas-dev/pandas/issues/38324
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38324/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38324/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38324/events
https://github.com/pandas-dev/pandas/pull/38324
757,793,659
MDExOlB1bGxSZXF1ZXN0NTMzMTAxOTg4
38,324
BUG: BDay() offsetting not behaving as expected
{ "avatar_url": "https://avatars.githubusercontent.com/u/28800819?v=4", "events_url": "https://api.github.com/users/theoniko/events{/privacy}", "followers_url": "https://api.github.com/users/theoniko/followers", "following_url": "https://api.github.com/users/theoniko/following{/other_user}", "gists_url": "https://api.github.com/users/theoniko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/theoniko", "id": 28800819, "login": "theoniko", "node_id": "MDQ6VXNlcjI4ODAwODE5", "organizations_url": "https://api.github.com/users/theoniko/orgs", "received_events_url": "https://api.github.com/users/theoniko/received_events", "repos_url": "https://api.github.com/users/theoniko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/theoniko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/theoniko/subscriptions", "type": "User", "url": "https://api.github.com/users/theoniko" }
[ { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
2020-12-05T22:16:35Z
2020-12-18T23:05:39Z
2020-12-18T23:05:35Z
CONTRIBUTOR
null
- [x] closes #38046 - [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/38324/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38324/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38324.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38324", "merged_at": "2020-12-18T23:05:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38324.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38324" }
https://api.github.com/repos/pandas-dev/pandas/issues/38325
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38325/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38325/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38325/events
https://github.com/pandas-dev/pandas/pull/38325
757,806,486
MDExOlB1bGxSZXF1ZXN0NTMzMTEwOTA3
38,325
BUG: read_csv raising IndexError with multiple header cols, specified index_col and no data rows
{ "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": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2021-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-12-05T23:43:55Z
2020-12-13T20:02:42Z
2020-12-13T20:01:38Z
MEMBER
null
- [x] closes #38292 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Parser returned an empty list instead of a list filled with None, which caused the IndexError.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38325/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38325/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38325.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38325", "merged_at": "2020-12-13T20:01:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38325.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38325" }
https://api.github.com/repos/pandas-dev/pandas/issues/38326
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38326/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38326/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38326/events
https://github.com/pandas-dev/pandas/pull/38326
757,833,196
MDExOlB1bGxSZXF1ZXN0NTMzMTMwMTY2
38,326
CLN: use with instead of try finally in `io/stata.py`
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "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": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
2020-12-06T03:08:01Z
2020-12-08T19:44:32Z
2020-12-08T19:44:32Z
MEMBER
null
This is reported by lgtm.com.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38326/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38326/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38326.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38326", "merged_at": "2020-12-08T19:44:32Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38326.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38326" }
https://api.github.com/repos/pandas-dev/pandas/issues/38327
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38327/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38327/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38327/events
https://github.com/pandas-dev/pandas/pull/38327
757,836,534
MDExOlB1bGxSZXF1ZXN0NTMzMTMyNTAx
38,327
CLN: dtypes.cast
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" }, { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
1
2020-12-06T03:33:12Z
2020-12-07T15:39:04Z
2020-12-07T13:29:46Z
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/38327/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38327/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38327.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38327", "merged_at": "2020-12-07T13:29:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38327.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38327" }
https://api.github.com/repos/pandas-dev/pandas/issues/38328
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38328/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38328/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38328/events
https://github.com/pandas-dev/pandas/issues/38328
757,906,704
MDU6SXNzdWU3NTc5MDY3MDQ=
38,328
ENH: Adding highlighting options to `to_latex` function
{ "avatar_url": "https://avatars.githubusercontent.com/u/8031035?v=4", "events_url": "https://api.github.com/users/yanaiela/events{/privacy}", "followers_url": "https://api.github.com/users/yanaiela/followers", "following_url": "https://api.github.com/users/yanaiela/following{/other_user}", "gists_url": "https://api.github.com/users/yanaiela/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yanaiela", "id": 8031035, "login": "yanaiela", "node_id": "MDQ6VXNlcjgwMzEwMzU=", "organizations_url": "https://api.github.com/users/yanaiela/orgs", "received_events_url": "https://api.github.com/users/yanaiela/received_events", "repos_url": "https://api.github.com/users/yanaiela/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yanaiela/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yanaiela/subscriptions", "type": "User", "url": "https://api.github.com/users/yanaiela" }
[ { "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" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
8
2020-12-06T11:44:51Z
2021-05-24T13:44:05Z
2021-05-24T13:44:05Z
NONE
null
Following #3196, it would be extremely useful to add the possibility of highlighting the best value in a row or column of a DataFrame object when converting into a latex table (the `to_latex` function) A convenient api for that would be to add a parameter to the `to_latex()` function, such as `highlight_rows=TYPE`, where TYPE can be `bold|italics|...` and than each row's best value would be highlighted. There could also be a scenario where the best value is the lowest one, so maybe an additional parameter should be `best_highlight: str` between `high|low`.
{ "+1": 3, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 3, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38328/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38328/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38329
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38329/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38329/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38329/events
https://github.com/pandas-dev/pandas/pull/38329
757,934,641
MDExOlB1bGxSZXF1ZXN0NTMzMjAyNzcy
38,329
REF/TYP: Rename ABCIndexClass->ABCIndex and use cast
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
5
2020-12-06T14:10:12Z
2020-12-13T14:05:02Z
2020-12-12T23:05:24Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38329/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38329/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38329.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38329", "merged_at": "2020-12-12T23:05:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38329.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38329" }
https://api.github.com/repos/pandas-dev/pandas/issues/38330
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38330/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38330/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38330/events
https://github.com/pandas-dev/pandas/pull/38330
757,960,992
MDExOlB1bGxSZXF1ZXN0NTMzMjIyMTMz
38,330
REGR: Groupby first/last/nth treats None as an observation
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "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": "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-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-12-06T16:13:18Z
2020-12-07T21:55:13Z
2020-12-06T18:46:41Z
MEMBER
null
- [x] closes #38286 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry This is a regression from 1.0.x to 1.1.x, introduced by #33462. Assuming it doesn't get into the 1.2 rc, not sure if it should go into 1.2 during the rc phase or wait until 1.3. Had to decide on some edge-case behaviors in odd situations with missing values, see https://github.com/pandas-dev/pandas/issues/38286#issuecomment-739521117
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38330/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38330/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38330.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38330", "merged_at": "2020-12-06T18:46:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38330.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38330" }
https://api.github.com/repos/pandas-dev/pandas/issues/38331
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38331/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38331/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38331/events
https://github.com/pandas-dev/pandas/pull/38331
757,985,230
MDExOlB1bGxSZXF1ZXN0NTMzMjM5Njk4
38,331
BUG: first("1M") returning two months when first day is last day of month
{ "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": "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
[]
null
4
2020-12-06T18:02:05Z
2020-12-13T15:45:27Z
2020-12-12T23:08:00Z
MEMBER
null
- [x] closes #29623 - [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/38331/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38331/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38331.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38331", "merged_at": "2020-12-12T23:07:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38331.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38331" }
https://api.github.com/repos/pandas-dev/pandas/issues/38332
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38332/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38332/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38332/events
https://github.com/pandas-dev/pandas/pull/38332
757,987,138
MDExOlB1bGxSZXF1ZXN0NTMzMjQxMDgx
38,332
REGR: Fix Index construction from Sparse["datetime64[ns]"]
{ "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": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "009800", "default": false, "description": "Sparse Data Type", "id": 49182326, "name": "Sparse", "node_id": "MDU6TGFiZWw0OTE4MjMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2020-12-08T12:11:38Z", "closed_issues": 81, "created_at": "2020-10-29T13:43:23Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-12-07T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/79", "id": 6047124, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels", "node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==", "number": 79, "open_issues": 0, "state": "closed", "title": "1.1.5", "updated_at": "2020-12-08T12:11:38Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79" }
2
2020-12-06T18:10:59Z
2020-12-07T09:44:58Z
2020-12-07T09:44:50Z
MEMBER
null
- [ ] closes #35843 - [ ] 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/38332/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38332/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38332.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38332", "merged_at": "2020-12-07T09:44:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38332.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38332" }
https://api.github.com/repos/pandas-dev/pandas/issues/38333
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38333/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38333/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38333/events
https://github.com/pandas-dev/pandas/pull/38333
757,999,363
MDExOlB1bGxSZXF1ZXN0NTMzMjUwMDMw
38,333
Backport PR #38330: REGR: Groupby first/last/nth treats None as an observation
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "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": "2020-12-08T12:11:38Z", "closed_issues": 81, "created_at": "2020-10-29T13:43:23Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-12-07T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/79", "id": 6047124, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels", "node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==", "number": 79, "open_issues": 0, "state": "closed", "title": "1.1.5", "updated_at": "2020-12-08T12:11:38Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79" }
0
2020-12-06T19:11:55Z
2020-12-06T20:33:04Z
2020-12-06T20:32:58Z
MEMBER
null
Backport PR #38330
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38333/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38333/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38333.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38333", "merged_at": "2020-12-06T20:32:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38333.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38333" }
https://api.github.com/repos/pandas-dev/pandas/issues/38334
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38334/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38334/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38334/events
https://github.com/pandas-dev/pandas/pull/38334
758,020,058
MDExOlB1bGxSZXF1ZXN0NTMzMjY0NTg5
38,334
BUG: read_csv not converting to float for python engine with decimal sep, usecols and parse_dates
{ "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": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
7
2020-12-06T20:52:47Z
2021-01-03T23:28:15Z
2021-01-03T23:26:00Z
MEMBER
null
- [x] closes #35873 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry self.columns is alread resticted to usecols, while data is not restricted yet, so we have use the initial column indices
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38334/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38334/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38334.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38334", "merged_at": "2021-01-03T23:26:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38334.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38334" }
https://api.github.com/repos/pandas-dev/pandas/issues/38335
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38335/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38335/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38335/events
https://github.com/pandas-dev/pandas/pull/38335
758,032,211
MDExOlB1bGxSZXF1ZXN0NTMzMjczNDM0
38,335
BUG: iloc.__setitem__ with dict value and mixed 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": "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": "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-12-06T21:53:13Z
2020-12-13T00:03:40Z
2020-12-12T22:55:13Z
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/38335/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38335/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38335.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38335", "merged_at": "2020-12-12T22:55:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38335.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38335" }
https://api.github.com/repos/pandas-dev/pandas/issues/38336
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38336/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38336/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38336/events
https://github.com/pandas-dev/pandas/pull/38336
758,046,780
MDExOlB1bGxSZXF1ZXN0NTMzMjg0MDg5
38,336
rewrite dict as literal in tests/io/parser/test_index_col.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/63328798?v=4", "events_url": "https://api.github.com/users/pillemer/events{/privacy}", "followers_url": "https://api.github.com/users/pillemer/followers", "following_url": "https://api.github.com/users/pillemer/following{/other_user}", "gists_url": "https://api.github.com/users/pillemer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pillemer", "id": 63328798, "login": "pillemer", "node_id": "MDQ6VXNlcjYzMzI4Nzk4", "organizations_url": "https://api.github.com/users/pillemer/orgs", "received_events_url": "https://api.github.com/users/pillemer/received_events", "repos_url": "https://api.github.com/users/pillemer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pillemer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pillemer/subscriptions", "type": "User", "url": "https://api.github.com/users/pillemer" }
[ { "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
[]
null
5
2020-12-06T23:07:29Z
2020-12-09T10:13:53Z
2020-12-09T10:13:52Z
NONE
null
for issue # 38138 rewrite unnecessary dict call as a literal in pandas/tests/io/parser/test_index_col.py Please let me know if anything needs to be amended, changed or fixed. I'm new to contributing. - [ ] issue #38138 - [ ] 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/38336/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38336/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38336.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38336", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38336.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38336" }
https://api.github.com/repos/pandas-dev/pandas/issues/38337
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38337/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38337/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38337/events
https://github.com/pandas-dev/pandas/pull/38337
758,047,028
MDExOlB1bGxSZXF1ZXN0NTMzMjg0Mjg3
38,337
REF: avoid accessing private iloc methods
{ "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" }
1
2020-12-06T23:08:34Z
2020-12-07T20:54:00Z
2020-12-07T19:27:02Z
MEMBER
null
I'm pretty sure this is made possible by @phofl's recent fix to only call `_align_series` in `_setitem_with_indexer` when `name != "iloc"`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38337/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38337/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38337.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38337", "merged_at": "2020-12-07T19:27:02Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38337.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38337" }
https://api.github.com/repos/pandas-dev/pandas/issues/38338
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38338/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38338/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38338/events
https://github.com/pandas-dev/pandas/issues/38338
758,081,987
MDU6SXNzdWU3NTgwODE5ODc=
38,338
BUG: `df.set_index()` doesn't maintain ExtensionArray dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/7367411?v=4", "events_url": "https://api.github.com/users/ssche/events{/privacy}", "followers_url": "https://api.github.com/users/ssche/followers", "following_url": "https://api.github.com/users/ssche/following{/other_user}", "gists_url": "https://api.github.com/users/ssche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ssche", "id": 7367411, "login": "ssche", "node_id": "MDQ6VXNlcjczNjc0MTE=", "organizations_url": "https://api.github.com/users/ssche/orgs", "received_events_url": "https://api.github.com/users/ssche/received_events", "repos_url": "https://api.github.com/users/ssche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ssche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ssche/subscriptions", "type": "User", "url": "https://api.github.com/users/ssche" }
[ { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" }, { "color": "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": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
1
2020-12-07T01:19:03Z
2020-12-07T01:53:04Z
2020-12-07T01:53:04Z
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. --- `dtype` of `ExtensionArray` is lost after `set_index()`/`reset_index()`. Note: I'm using cyberpandas as a "minimal" implementation of an `ExtensionArray` example (I think it's minimal enough to convey and reproduce the issue - this also happens with my own `ExtensionArray` implementation which in turn is inspired by cyberpandas' `IPArray`/`ExtensionArray`). ```python >>> from cyberpandas import IPArray >>> import pandas as pd >>> df = pd.DataFrame({"address": IPArray(['192.168.1.1', '192.168.1.10']), 'a': [1, 2]}) >>> df address a 0 192.168.1.1 1 1 192.168.1.10 2 >>> dfa = df.set_index(['address']) >>> # the dtype is already lost here, so reset_index() can't do much to restore the original dtype >>> dfa a address 192.168.1.1 1 192.168.1.10 2 >>> dfa.index.dtype dtype('O') >>> dfb = dfa.reset_index(drop=False) >>> dfb address a 0 192.168.1.1 1 1 192.168.1.10 2 >>> dfb.address.dtype dtype('O') >>> df.address.dtype <cyberpandas.ip_array.IPType object at 0x7ff3689988e0> ``` I found this in `Index.__new__` which always sets the Index dtype of an `ExtensionArray` to `object`. What's the reason for this? ``` # extension dtype elif is_extension_array_dtype(data_dtype) or is_extension_array_dtype(dtype): if not (dtype is None or is_object_dtype(dtype)): # coerce to the provided dtype ea_cls = dtype.construct_array_type() data = ea_cls._from_sequence(data, dtype=dtype, copy=False) else: data = np.asarray(data, dtype=object) # coerce to the object dtype data = data.astype(object) return Index(data, dtype=object, copy=copy, name=name, **kwargs) ``` #### Problem description Type information is only stored in dtype (and holds additional meta information). current workaround is to capture type info before `set_index()` (which I use to assign column values by index) and cleanup/fix dtype afterwards. This is potentially error prone (as all places where set_index is used need to implement the cleanup) #### Expected Output `isinstance(dfb.address.dtype, cyberpandas.ip_array.IPType) is True` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3 python : 3.9.0.final.0 python-bits : 64 OS : Linux OS-release : 5.9.11-200.fc33.x86_64 Version : #1 SMP Tue Nov 24 18:18:01 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_AU.UTF-8 LOCALE : en_AU.UTF-8 pandas : 1.1.4 numpy : 1.19.4 pytz : 2020.4 dateutil : 2.8.1 pip : 20.2.4 setuptools : 50.3.2 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/38338/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38338/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38339
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38339/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38339/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38339/events
https://github.com/pandas-dev/pandas/pull/38339
758,150,298
MDExOlB1bGxSZXF1ZXN0NTMzMzY2NTMz
38,339
TYP: pandas/core/missing.py
{ "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": "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
5
2020-12-07T04:44:43Z
2021-03-15T13:47:34Z
2021-03-15T13:42:18Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38339/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38339/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38339.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38339", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38339.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38339" }
https://api.github.com/repos/pandas-dev/pandas/issues/38340
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38340/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38340/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38340/events
https://github.com/pandas-dev/pandas/issues/38340
758,281,851
MDU6SXNzdWU3NTgyODE4NTE=
38,340
ENH: implement fast isin() for 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": "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": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
2020-12-07T08:19:19Z
2021-01-20T01:44:33Z
2021-01-20T01:44:33Z
MEMBER
null
Currently, you can get quite a slowdown: ``` In [41]: arr = np.random.randint(0, 10, 1_000_001) In [42]: s = pd.Series(arr) In [43]: %timeit s.isin([1, 2, 3, 20]) 2.71 ms ± 175 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) In [44]: s = pd.Series(arr, dtype="Int64") In [45]: %timeit s.isin([1, 2, 3, 20]) 22.9 ms ± 96.7 µs per loop (mean ± std. dev. of 7 runs, 10 loops each) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38340/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38340/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38341
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38341/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38341/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38341/events
https://github.com/pandas-dev/pandas/pull/38341
758,346,738
MDExOlB1bGxSZXF1ZXN0NTMzNTM0NDg4
38,341
Backport PR #38332 on branch 1.1.x (REGR: Fix Index construction from Sparse["datetime64[ns]"])
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[]
closed
false
null
[]
{ "closed_at": "2020-12-08T12:11:38Z", "closed_issues": 81, "created_at": "2020-10-29T13:43:23Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-12-07T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/79", "id": 6047124, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels", "node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==", "number": 79, "open_issues": 0, "state": "closed", "title": "1.1.5", "updated_at": "2020-12-08T12:11:38Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79" }
0
2020-12-07T09:45:23Z
2020-12-07T10:39:13Z
2020-12-07T10:39:13Z
NONE
null
Backport PR #38332: REGR: Fix Index construction from Sparse["datetime64[ns]"]
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38341/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38341/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38341.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38341", "merged_at": "2020-12-07T10:39:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38341.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38341" }
https://api.github.com/repos/pandas-dev/pandas/issues/38342
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38342/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38342/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38342/events
https://github.com/pandas-dev/pandas/pull/38342
758,349,470
MDExOlB1bGxSZXF1ZXN0NTMzNTM2NzQ4
38,342
Backport PR #38318 on branch 1.1.x (DOC: 1.1.5 release date)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[]
closed
false
null
[]
{ "closed_at": "2020-12-08T12:11:38Z", "closed_issues": 81, "created_at": "2020-10-29T13:43:23Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.1.x", "due_on": "2020-12-07T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/79", "id": 6047124, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79/labels", "node_id": "MDk6TWlsZXN0b25lNjA0NzEyNA==", "number": 79, "open_issues": 0, "state": "closed", "title": "1.1.5", "updated_at": "2020-12-08T12:11:38Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/79" }
0
2020-12-07T09:49:02Z
2020-12-07T10:46:09Z
2020-12-07T10:46:09Z
NONE
null
Backport PR #38318: DOC: 1.1.5 release date
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38342/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38342/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38342.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38342", "merged_at": "2020-12-07T10:46:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38342.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38342" }
https://api.github.com/repos/pandas-dev/pandas/issues/38343
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38343/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38343/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38343/events
https://github.com/pandas-dev/pandas/issues/38343
758,416,542
MDU6SXNzdWU3NTg0MTY1NDI=
38,343
ENH: Functions for creating data frames and series "like" an existing one with different values
{ "avatar_url": "https://avatars.githubusercontent.com/u/25202257?v=4", "events_url": "https://api.github.com/users/felix-hilden/events{/privacy}", "followers_url": "https://api.github.com/users/felix-hilden/followers", "following_url": "https://api.github.com/users/felix-hilden/following{/other_user}", "gists_url": "https://api.github.com/users/felix-hilden/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/felix-hilden", "id": 25202257, "login": "felix-hilden", "node_id": "MDQ6VXNlcjI1MjAyMjU3", "organizations_url": "https://api.github.com/users/felix-hilden/orgs", "received_events_url": "https://api.github.com/users/felix-hilden/received_events", "repos_url": "https://api.github.com/users/felix-hilden/repos", "site_admin": false, "starred_url": "https://api.github.com/users/felix-hilden/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/felix-hilden/subscriptions", "type": "User", "url": "https://api.github.com/users/felix-hilden" }
[ { "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": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "be21f2", "default": false, "description": "May be closeable, needs more eyeballs", "id": 2365504893, "name": "Closing Candidate", "node_id": "MDU6TGFiZWwyMzY1NTA0ODkz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate" } ]
closed
false
null
[]
null
5
2020-12-07T11:17:15Z
2020-12-12T21:09:25Z
2020-12-12T21:09:25Z
NONE
null
#### Problem Sometimes I find myself needing a copy of a `DataFrame` or a `Series` with different values to the original. That is to say, with a similar index and column structure and naming. For example, it could occur when doing some numerical transformations which return NumPy arrays. The thing can of course be done by creating new objects by hand, but it becomes quite repetitive after a few lines. #### Solution Utilities like `np.zeros_like` are neat shorthands, and looks like Pandas has used them, at least in Indexing ([`reindex_like`](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.reindex_like.html)). I would like to see similar ways of constructing frames and series. I've written such shorthands for my personal use, but I think others could benefit from them being included in the library. #### API breaking implications This would introduce new functionality without affecting other parts of the system. #### Describe alternatives you've considered Doing it by hand is possible and pretty easy. It's only cumbersome, which the shorthand would solve. #### Additional context I'm not in the know of Pandas internal functionality, but the shorthands I've written are as follows: ```python def df_like(data: Union[np.ndarray, pd.DataFrame], like: pd.DataFrame) -> pd.DataFrame: if isinstance(data, pd.DataFrame): data = data.values return pd.DataFrame(data, index=like.index, columns=like.columns) def series_like(data: Union[np.ndarray, pd.Series], like: pd.Series) -> pd.Series: if isinstance(data, pd.Series): data = data.values return pd.Series(data, index=like.index, name=like.name) ``` If there's something else to account for, I would expect the functions to handle that as well. Maybe it could also be class method. ```python class DataFrame: @classmethod def like(cls, data, like: "DataFrame") -> "DataFrame": if isinstance(data, cls): data = data.values return cls(data, index=like.index, columns=like.columns) ``` Looking forward to hearing your thoughts! I'd also be open to contributing these changes if an agreement is reached.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38343/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38343/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38344
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38344/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38344/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38344/events
https://github.com/pandas-dev/pandas/pull/38344
758,637,710
MDExOlB1bGxSZXF1ZXN0NTMzNzc4NDUx
38,344
CI: Move sql builds from Travis to Github actions
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2021-01-20T19:40:18Z", "closed_issues": 138, "created_at": "2020-12-13T17:06:11Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-01-18T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/81", "id": 6207963, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels", "node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==", "number": 81, "open_issues": 0, "state": "closed", "title": "1.2.1", "updated_at": "2021-01-20T19:40:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81" }
32
2020-12-07T16:02:17Z
2021-03-14T05:20:56Z
2020-12-27T21:40:49Z
MEMBER
null
try to move builds with databases to GitHub actions
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38344/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38344/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38344.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38344", "merged_at": "2020-12-27T21:40:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38344.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38344" }
https://api.github.com/repos/pandas-dev/pandas/issues/38345
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38345/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38345/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38345/events
https://github.com/pandas-dev/pandas/pull/38345
758,712,293
MDExOlB1bGxSZXF1ZXN0NTMzODM5MjUz
38,345
TST: revert too-ambitious
{ "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-12-07T17:43:50Z
2020-12-07T20:49:53Z
2020-12-07T19:27:33Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38345/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38345/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38345.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38345", "merged_at": "2020-12-07T19:27:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38345.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38345" }
https://api.github.com/repos/pandas-dev/pandas/issues/38346
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38346/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38346/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38346/events
https://github.com/pandas-dev/pandas/pull/38346
758,839,152
MDExOlB1bGxSZXF1ZXN0NTMzOTQwOTgw
38,346
PERF: isin casting integers to object
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "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-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-12-07T20:52:06Z
2020-12-08T15:45:01Z
2020-12-08T08:41:40Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry xref https://github.com/pandas-dev/pandas/pull/38279#issuecomment-739973166 cc @jorisvandenbossche
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38346/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38346/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38346.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38346", "merged_at": "2020-12-08T08:41:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38346.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38346" }
https://api.github.com/repos/pandas-dev/pandas/issues/38347
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38347/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38347/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38347/events
https://github.com/pandas-dev/pandas/pull/38347
758,869,091
MDExOlB1bGxSZXF1ZXN0NTMzOTYzMTk1
38,347
Extend check namespace usage
{ "avatar_url": "https://avatars.githubusercontent.com/u/22735?v=4", "events_url": "https://api.github.com/users/kevinetienne/events{/privacy}", "followers_url": "https://api.github.com/users/kevinetienne/followers", "following_url": "https://api.github.com/users/kevinetienne/following{/other_user}", "gists_url": "https://api.github.com/users/kevinetienne/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kevinetienne", "id": 22735, "login": "kevinetienne", "node_id": "MDQ6VXNlcjIyNzM1", "organizations_url": "https://api.github.com/users/kevinetienne/orgs", "received_events_url": "https://api.github.com/users/kevinetienne/received_events", "repos_url": "https://api.github.com/users/kevinetienne/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kevinetienne/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kevinetienne/subscriptions", "type": "User", "url": "https://api.github.com/users/kevinetienne" }
[ { "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
[]
null
5
2020-12-07T21:36:39Z
2021-01-04T09:32:19Z
2021-01-04T09:32:19Z
NONE
null
- [ ] xref #38093 - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` TLDR: This code changes might be not in a mergeable state as false positives remain when updating the pattern. The change is a bit bigger to what is described in #38093 as more files needed to be fixed, which is fine I think. The stack displaying the files to fix might be limited to a few items (9 items in my case) when running the command `pre-commit run inconsistent-namespace-usage --all-files`. Every time a set of files was fixed a few others appeared which is why I ended fixing up more files and why my list of false positive is not exhaustive. I have committed the change to the PATTERN in a separate commit as we have false positives. Such as the following files which contain: 1. a similar function in the numpy package (ex: np.array see https://github.com/pandas-dev/pandas/blob/862cd05df4452592a99dd1a4fa10ce8cfb3766f7/pandas/tests/test_strings.py#L188) 2. a similar function in the pyarrow package (ex: pyarrow.array see https://github.com/pandas-dev/pandas/blob/862cd05df4452592a99dd1a4fa10ce8cfb3766f7/pandas/tests/io/test_parquet.py#L839) 3. a function can be called on dataframe or a serie (ex: `df.isna` and `aggr.isna` see https://github.com/pandas-dev/pandas/blob/862cd05df4452592a99dd1a4fa10ce8cfb3766f7/pandas/tests/groupby/test_categorical.py#L528 and https://github.com/pandas-dev/pandas/blob/862cd05df4452592a99dd1a4fa10ce8cfb3766f7/pandas/tests/groupby/test_categorical.py#L1570 4. or a function is called with any prefixes (see the few calls to `factorize` in https://github.com/pandas-dev/pandas/blob/862cd05df4452592a99dd1a4fa10ce8cfb3766f7/pandas/tests/test_algos.py#L52) 5. `eval` vs `pd.eval` (see https://github.com/pandas-dev/pandas/blob/862cd05df4452592a99dd1a4fa10ce8cfb3766f7/pandas/tests/computation/test_eval.py) I'm probably missing a few other cases but 1) 2) and 3) can be added in the negative lookahead (ignore function/methods which start with np/pyarrow/df). However the regex might grow bigger and bigger. 5) can be ignored entirely either within the regex or with an exclusion list. Let me know you're thinking as I see three solutions: - update the regex and maybe add an exclusion list (for case like eval) and see where that leads - remove last commit for PATTERN and create another ticket to address the other cases - close the ticket and find/investigate another solution (ex: separate class vs function check/check import instead...)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38347/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38347/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38347.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38347", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38347.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38347" }
https://api.github.com/repos/pandas-dev/pandas/issues/38348
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38348/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38348/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38348/events
https://github.com/pandas-dev/pandas/pull/38348
758,881,440
MDExOlB1bGxSZXF1ZXN0NTMzOTczNDM3
38,348
Removed unused strict struct member in tokenizer
{ "avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4", "events_url": "https://api.github.com/users/WillAyd/events{/privacy}", "followers_url": "https://api.github.com/users/WillAyd/followers", "following_url": "https://api.github.com/users/WillAyd/following{/other_user}", "gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/WillAyd", "id": 609873, "login": "WillAyd", "node_id": "MDQ6VXNlcjYwOTg3Mw==", "organizations_url": "https://api.github.com/users/WillAyd/orgs", "received_events_url": "https://api.github.com/users/WillAyd/received_events", "repos_url": "https://api.github.com/users/WillAyd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions", "type": "User", "url": "https://api.github.com/users/WillAyd" }
[ { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2020-12-07T21:57:04Z
2020-12-08T19:43:18Z
2020-12-08T19:43:14Z
MEMBER
null
I don't see where this would ever be assigned a value
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38348/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38348/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38348.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38348", "merged_at": "2020-12-08T19:43:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38348.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38348" }
https://api.github.com/repos/pandas-dev/pandas/issues/38349
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38349/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38349/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38349/events
https://github.com/pandas-dev/pandas/pull/38349
758,935,268
MDExOlB1bGxSZXF1ZXN0NTM0MDE3ODMz
38,349
REF: call _ensure_valid_index inside _sanitize_column
{ "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": "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-12-07T23:37:43Z
2020-12-08T16:23:13Z
2020-12-08T16:21:01Z
MEMBER
null
They are only ever called together.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38349/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38349/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38349.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38349", "merged_at": "2020-12-08T16:21:01Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38349.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38349" }
https://api.github.com/repos/pandas-dev/pandas/issues/38350
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38350/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38350/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38350/events
https://github.com/pandas-dev/pandas/pull/38350
758,964,737
MDExOlB1bGxSZXF1ZXN0NTM0MDQxOTMw
38,350
TST: add message matches to pytest.raises in various tests GH30999
{ "avatar_url": "https://avatars.githubusercontent.com/u/72418396?v=4", "events_url": "https://api.github.com/users/JoseNavy/events{/privacy}", "followers_url": "https://api.github.com/users/JoseNavy/followers", "following_url": "https://api.github.com/users/JoseNavy/following{/other_user}", "gists_url": "https://api.github.com/users/JoseNavy/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/JoseNavy", "id": 72418396, "login": "JoseNavy", "node_id": "MDQ6VXNlcjcyNDE4Mzk2", "organizations_url": "https://api.github.com/users/JoseNavy/orgs", "received_events_url": "https://api.github.com/users/JoseNavy/received_events", "repos_url": "https://api.github.com/users/JoseNavy/repos", "site_admin": false, "starred_url": "https://api.github.com/users/JoseNavy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JoseNavy/subscriptions", "type": "User", "url": "https://api.github.com/users/JoseNavy" }
[ { "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2020-12-08T00:46:57Z
2020-12-08T21:33:42Z
2020-12-08T21:31:51Z
CONTRIBUTOR
null
- [x] ref [#30999 ](https://github.com/pandas-dev/pandas/issues/30999) - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Files changed: pandas/tests/io/pytables/test_complex.py pandas/tests/io/test_clipboard.py pandas/tests/plotting/frame/test_frame_subplots.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/38350/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38350/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38350.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38350", "merged_at": "2020-12-08T21:31:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38350.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38350" }
https://api.github.com/repos/pandas-dev/pandas/issues/38351
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38351/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38351/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38351/events
https://github.com/pandas-dev/pandas/pull/38351
758,976,748
MDExOlB1bGxSZXF1ZXN0NTM0MDUxMjkx
38,351
BUG: item_cache invalidation
{ "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": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2020-12-08T01:14:28Z
2020-12-08T19:46:08Z
2020-12-08T19:07:17Z
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/38351/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38351/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38351.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38351", "merged_at": "2020-12-08T19:07:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38351.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38351" }
https://api.github.com/repos/pandas-dev/pandas/issues/38352
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38352/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38352/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38352/events
https://github.com/pandas-dev/pandas/pull/38352
759,051,416
MDExOlB1bGxSZXF1ZXN0NTM0MTEwMzM2
38,352
ENH: column-wise DataFrame.fillna with Series/Dict value
{ "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": "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": "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
2
2020-12-08T04:27:46Z
2021-07-11T23:34:31Z
2021-07-11T23:34:31Z
MEMBER
null
- [x] closes #4514 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Picking up #30922
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38352/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38352/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38352.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38352", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38352.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38352" }
https://api.github.com/repos/pandas-dev/pandas/issues/38353
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38353/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38353/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38353/events
https://github.com/pandas-dev/pandas/pull/38353
759,077,017
MDExOlB1bGxSZXF1ZXN0NTM0MTMxODY5
38,353
PERF: IntervalIndex.isin
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "009800", "default": false, "description": "Interval data type", "id": 150096370, "name": "Interval", "node_id": "MDU6TGFiZWwxNTAwOTYzNzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2020-12-08T05:28:38Z
2020-12-14T15:52:36Z
2020-12-14T13:50:34Z
MEMBER
null
``` In [1]: import pandas as pd In [2]: ii = pd.IntervalIndex.from_breaks(range(100000)) In [3]: values = ii[:100] In [4]: from pandas.core.algorithms import isin In [5]: %timeit isin(ii, values) 91.3 ms ± 5.24 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) # <-- master 3.84 ms ± 57.6 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) # <-- PR ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38353/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38353/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38353.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38353", "merged_at": "2020-12-14T13:50:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38353.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38353" }
https://api.github.com/repos/pandas-dev/pandas/issues/38354
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38354/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38354/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38354/events
https://github.com/pandas-dev/pandas/pull/38354
759,086,242
MDExOlB1bGxSZXF1ZXN0NTM0MTM5NzY1
38,354
TST: a weird bug with numpy + DataFrame with duplicate columns
{ "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" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-08T05:47:26Z
2020-12-08T15:58:38Z
2020-12-08T15:58:34Z
MEMBER
null
- [x] closes #31954 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Picking up #37125
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38354/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38354/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38354.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38354", "merged_at": "2020-12-08T15:58:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38354.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38354" }
https://api.github.com/repos/pandas-dev/pandas/issues/38355
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38355/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38355/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38355/events
https://github.com/pandas-dev/pandas/issues/38355
759,123,789
MDU6SXNzdWU3NTkxMjM3ODk=
38,355
BUG: pylint with merge of pandas==1.1.5 raises a RecursionError
{ "avatar_url": "https://avatars.githubusercontent.com/u/4068610?v=4", "events_url": "https://api.github.com/users/ikedaosushi/events{/privacy}", "followers_url": "https://api.github.com/users/ikedaosushi/followers", "following_url": "https://api.github.com/users/ikedaosushi/following{/other_user}", "gists_url": "https://api.github.com/users/ikedaosushi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ikedaosushi", "id": 4068610, "login": "ikedaosushi", "node_id": "MDQ6VXNlcjQwNjg2MTA=", "organizations_url": "https://api.github.com/users/ikedaosushi/orgs", "received_events_url": "https://api.github.com/users/ikedaosushi/received_events", "repos_url": "https://api.github.com/users/ikedaosushi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ikedaosushi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ikedaosushi/subscriptions", "type": "User", "url": "https://api.github.com/users/ikedaosushi" }
[ { "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
3
2020-12-08T06:49:55Z
2020-12-09T01:42:45Z
2020-12-09T01:42:44Z
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. --- **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 ```sh pip install pandas==1.1.5 pylint ``` ```python # pandas_merge_sample.py import pandas as pd pd.merge(None, None) ``` ```sh pylint pandas_merge_sample.py ``` #### Problem description Performing `pylint` on Python codes that include `pandas.merge` makes a RecursionError like below. I'm not sure the error was caused by pandas itself, but at least I can say `pylint` with `pandas==1.1.4` doesn't raise the error, and `pylint` with `pandas==1.1.5` raises. For `pylint` side, an issue about it was already opened, so I've opened it just in case for those who will face the same problem. https://github.com/PyCQA/pylint/issues/3969 I might think the commit can be related to the problem. https://github.com/pandas-dev/pandas/commit/e99e5ab32c4e831e7bbac0346189f4d6d86a6225#diff-7c4c2c4161d35fe8d1d71cc86b45abcc642271069f05cf860d9195a304d2ed33 ``` ... res = next(generator) File "/private/tmp/pandas-pylint/venv/lib/python3.8/site-packages/astroid/inference.py", line 293, in infer_attribute for owner in self.expr.infer(context): File "/private/tmp/pandas-pylint/venv/lib/python3.8/site-packages/astroid/util.py", line 160, in limit_inference yield from islice(iterator, size) File "/private/tmp/pandas-pylint/venv/lib/python3.8/site-packages/astroid/context.py", line 113, in cache_generator for result in generator: File "/private/tmp/pandas-pylint/venv/lib/python3.8/site-packages/astroid/decorators.py", line 132, in raise_if_nothing_inferred yield next(generator) File "/private/tmp/pandas-pylint/venv/lib/python3.8/site-packages/astroid/decorators.py", line 93, in wrapped generator = _func(node, context, **kwargs) File "/private/tmp/pandas-pylint/venv/lib/python3.8/site-packages/astroid/inference.py", line 203, in infer_name context = contextmod.copy_context(context) File "/private/tmp/pandas-pylint/venv/lib/python3.8/site-packages/astroid/context.py", line 155, in copy_context return context.clone() File "/private/tmp/pandas-pylint/venv/lib/python3.8/site-packages/astroid/context.py", line 102, in clone clone = InferenceContext(self.path, inferred=self.inferred) RecursionError: maximum recursion depth exceeded ``` #### Expected Output No error will be raised. #### Output of ``pd.show_versions()`` <details> ``` INSTALLED VERSIONS ------------------ commit : b5958ee1999e9aead1938c0bba2b674378807b3d python : 3.8.2.final.0 python-bits : 64 OS : Darwin OS-release : 19.3.0 Version : Darwin Kernel Version 19.3.0: Thu Jan 9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : en_US.UTF-8 LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.5 numpy : 1.19.4 pytz : 2020.4 dateutil : 2.8.1 pip : 19.2.3 setuptools : 41.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 : 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": 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/38355/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38355/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38356
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38356/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38356/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38356/events
https://github.com/pandas-dev/pandas/issues/38356
759,372,447
MDU6SXNzdWU3NTkzNzI0NDc=
38,356
ENH: Add an `assert` method to Series and DataFrame to assert on the fly in chaining
{ "avatar_url": "https://avatars.githubusercontent.com/u/18620296?v=4", "events_url": "https://api.github.com/users/ClementWalter/events{/privacy}", "followers_url": "https://api.github.com/users/ClementWalter/followers", "following_url": "https://api.github.com/users/ClementWalter/following{/other_user}", "gists_url": "https://api.github.com/users/ClementWalter/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ClementWalter", "id": 18620296, "login": "ClementWalter", "node_id": "MDQ6VXNlcjE4NjIwMjk2", "organizations_url": "https://api.github.com/users/ClementWalter/orgs", "received_events_url": "https://api.github.com/users/ClementWalter/received_events", "repos_url": "https://api.github.com/users/ClementWalter/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ClementWalter/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ClementWalter/subscriptions", "type": "User", "url": "https://api.github.com/users/ClementWalter" }
[ { "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": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
closed
false
null
[]
null
7
2020-12-08T11:35:32Z
2021-08-14T22:04:27Z
2021-08-14T22:04:27Z
NONE
null
#### Is your feature request related to a problem? When chaining methods, one may want to make some check and raise errors accordingly. Currently it is not possible to define these checks on the fly but one rather has to define a function like : ``` def assert_a_positive(df): if not (df.a > 0).all(): raise ValueError() return df ``` so as to be able to do later, for example: ``` ( pd.DataFrame({"a": [1, 2]}) .pipe(assert_a_positive) .assign(b=lambda df: 1 / df.a) ) ``` This lakes flexibility and readability. Eventually it refrains from writing more test for data scientist that, even though then don't write unit test, at least are used to write sanity check like that. #### Describe the solution you'd like Adding an `assert` method to `pd.Series` and `pd.DataFrame` such that the above example could be written: ``` ( pd.DataFrame({"a": [1, 2]}) .assert(lambda df: (df.a > 0).all()) .assign(b=lambda df: 1 / df.a) ) ``` #### API breaking implications It doest not break a thing but just add a new method #### Describe alternatives you've considered There is actually a [great-expectation](https://github.com/great-expectations/great_expectations) package that does this sort of thing but with pre-built check. It is not as natural as writing down directly `assert` on-the-fly and requires an extra dep. #### Additional context In my current projects, I have just added these few lines at init: ``` from pandas.core.frame import DataFrame from pandas.core.series import Series def pandas_assert(df, func, *args, error_type=AssertionError): if not func(df): raise error_type(*[arg(df) if callable(arg) else arg for arg in args]) return df setattr(DataFrame, "assert_", pandas_assert) # assert cannot be used setattr(Series, "assert_", pandas_assert) ``` so that I can then do for example: ``` ( pd.DataFrame({"a": [-1, 1, 2, 0]}) .assert_(lambda df: (df.a > 0).all()) .assign(b=lambda df: 1 / df.a) ) ( pd.DataFrame({"a": [-1, 1, 2, 0]}) .assert_(lambda df: (df.a > 0).all(), "some a are lower than 0") .assign(b=lambda df: 1 / df.a) ) ( pd.DataFrame({"a": [-1, 1, 2, 0]}) .assert_( lambda df: (df.a > 0).all(), "some a are lower than 0", error_type=ValueError ) .assign(b=lambda df: 1 / df.a) ) ( pd.DataFrame({"a": [-1, 1, 2, 0]}) .assert_( lambda df: (df.a > 0).all(), lambda df: f"some a are lower than 0:\n{df[df.a <= 0]}", error_type=ValueError, ) .assign(b=lambda df: 1 / df.a) ) ```
{ "+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/38356/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38356/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38357
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38357/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38357/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38357/events
https://github.com/pandas-dev/pandas/issues/38357
759,389,162
MDU6SXNzdWU3NTkzODkxNjI=
38,357
DOC: Clarify stability of sorting in documentation of DataFrame.sort_values for multiple columns / labels
{ "avatar_url": "https://avatars.githubusercontent.com/u/10883104?v=4", "events_url": "https://api.github.com/users/jotasi/events{/privacy}", "followers_url": "https://api.github.com/users/jotasi/followers", "following_url": "https://api.github.com/users/jotasi/following{/other_user}", "gists_url": "https://api.github.com/users/jotasi/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jotasi", "id": 10883104, "login": "jotasi", "node_id": "MDQ6VXNlcjEwODgzMTA0", "organizations_url": "https://api.github.com/users/jotasi/orgs", "received_events_url": "https://api.github.com/users/jotasi/received_events", "repos_url": "https://api.github.com/users/jotasi/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jotasi/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jotasi/subscriptions", "type": "User", "url": "https://api.github.com/users/jotasi" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
closed
false
null
[]
{ "closed_at": "2021-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-12-08T12:02:54Z
2020-12-22T20:32:57Z
2020-12-22T20:32:57Z
CONTRIBUTOR
null
#### Location of the documentation Description of the argument `kind` in the documentation of [pandas.DataFrame.sort_values](https://pandas.pydata.org/docs/dev/reference/api/pandas.DataFrame.sort_values.html). #### Documentation problem The current documentation states (emphasize mine): >Choice of sorting algorithm. See also ndarray.np.sort for more information. **mergesort is the only stable algorithm. For DataFrames, this option is only applied when sorting on a single column or label**. To me that means, that the `kind` argument is ignored if you sort by multiple columns / labels. But I think one could even interpret it as `mergesort` explicitely is not done in that case. Running some tests, it does look like the sorting is stable when sorting multiple columns / labels. But it is not written anywhere. If it really is guaranteed that the sorting is stable for sorting by multiple columns / labels, it would be nice to have this written down explicitely in the documentation. #### Suggested fix for documentation IF that is actually the case, I would suggest to add a sentence to the effect that the sorting is stable if sorting is done by multiple columns / labels. E.g. change the `kind` argument description to: >Choice of sorting algorithm. See also ndarray.np.sort for more information. mergesort is the only stable algorithm. ~~For DataFrames, this option is only applied when sorting on a single column or label.~~ **For DataFrames, if sorting by multiple columns or labels, this argument is ignored, defaulting to a stable sorting algorithm.**
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38357/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38357/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38358
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38358/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38358/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38358/events
https://github.com/pandas-dev/pandas/issues/38358
759,465,365
MDU6SXNzdWU3NTk0NjUzNjU=
38,358
Performance regressions in GroupBy.fillna
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "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": "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/41546976?v=4", "events_url": "https://api.github.com/users/GYHHAHA/events{/privacy}", "followers_url": "https://api.github.com/users/GYHHAHA/followers", "following_url": "https://api.github.com/users/GYHHAHA/following{/other_user}", "gists_url": "https://api.github.com/users/GYHHAHA/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/GYHHAHA", "id": 41546976, "login": "GYHHAHA", "node_id": "MDQ6VXNlcjQxNTQ2OTc2", "organizations_url": "https://api.github.com/users/GYHHAHA/orgs", "received_events_url": "https://api.github.com/users/GYHHAHA/received_events", "repos_url": "https://api.github.com/users/GYHHAHA/repos", "site_admin": false, "starred_url": "https://api.github.com/users/GYHHAHA/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/GYHHAHA/subscriptions", "type": "User", "url": "https://api.github.com/users/GYHHAHA" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/41546976?v=4", "events_url": "https://api.github.com/users/GYHHAHA/events{/privacy}", "followers_url": "https://api.github.com/users/GYHHAHA/followers", "following_url": "https://api.github.com/users/GYHHAHA/following{/other_user}", "gists_url": "https://api.github.com/users/GYHHAHA/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/GYHHAHA", "id": 41546976, "login": "GYHHAHA", "node_id": "MDQ6VXNlcjQxNTQ2OTc2", "organizations_url": "https://api.github.com/users/GYHHAHA/orgs", "received_events_url": "https://api.github.com/users/GYHHAHA/received_events", "repos_url": "https://api.github.com/users/GYHHAHA/repos", "site_admin": false, "starred_url": "https://api.github.com/users/GYHHAHA/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/GYHHAHA/subscriptions", "type": "User", "url": "https://api.github.com/users/GYHHAHA" } ]
null
5
2020-12-08T13:54:54Z
2021-09-15T15:26:50Z
2021-09-15T15:26:50Z
CONTRIBUTOR
null
https://pandas.pydata.org/speed/pandas/#groupby.FillNA.time_df_ffill?python=3.8&Cython=0.29.21&commits=03e58585 From https://github.com/pandas-dev/pandas/commit/03e58585 cc @GYHHAHA
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38358/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38358/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38359
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38359/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38359/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38359/events
https://github.com/pandas-dev/pandas/pull/38359
759,472,791
MDExOlB1bGxSZXF1ZXN0NTM0NDczMjg1
38,359
DOC: Start v1.3.0 release notes
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-08T14:04:47Z
2020-12-08T16:28:48Z
2020-12-08T16:23:28Z
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/38359/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38359/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38359.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38359", "merged_at": "2020-12-08T16:23:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38359.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38359" }
https://api.github.com/repos/pandas-dev/pandas/issues/38360
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38360/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38360/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38360/events
https://github.com/pandas-dev/pandas/pull/38360
759,480,864
MDExOlB1bGxSZXF1ZXN0NTM0NDc5ODcx
38,360
CI: activate azure pipelines/github actions on 1.2.x
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2020-12-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-12-08T14:14:33Z
2020-12-08T15:56:23Z
2020-12-08T15:49:46Z
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/38360/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38360/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38360.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38360", "merged_at": "2020-12-08T15:49:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38360.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38360" }
https://api.github.com/repos/pandas-dev/pandas/issues/38361
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38361/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38361/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38361/events
https://github.com/pandas-dev/pandas/pull/38361
759,486,714
MDExOlB1bGxSZXF1ZXN0NTM0NDg0NjY4
38,361
DOC: minor fixes to 1.2 release notes
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-12-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-12-08T14:22:06Z
2020-12-08T15:51:18Z
2020-12-08T15:49: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/38361/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38361/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38361.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38361", "merged_at": "2020-12-08T15:49:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38361.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38361" }
https://api.github.com/repos/pandas-dev/pandas/issues/38362
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38362/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38362/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38362/events
https://github.com/pandas-dev/pandas/issues/38362
759,507,081
MDU6SXNzdWU3NTk1MDcwODE=
38,362
BUG: Groupby column and min aggregation over period column yields NaT for all rows
{ "avatar_url": "https://avatars.githubusercontent.com/u/3220616?v=4", "events_url": "https://api.github.com/users/franzoni315/events{/privacy}", "followers_url": "https://api.github.com/users/franzoni315/followers", "following_url": "https://api.github.com/users/franzoni315/following{/other_user}", "gists_url": "https://api.github.com/users/franzoni315/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/franzoni315", "id": 3220616, "login": "franzoni315", "node_id": "MDQ6VXNlcjMyMjA2MTY=", "organizations_url": "https://api.github.com/users/franzoni315/orgs", "received_events_url": "https://api.github.com/users/franzoni315/received_events", "repos_url": "https://api.github.com/users/franzoni315/repos", "site_admin": false, "starred_url": "https://api.github.com/users/franzoni315/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/franzoni315/subscriptions", "type": "User", "url": "https://api.github.com/users/franzoni315" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
2
2020-12-08T14:47:36Z
2020-12-09T00:58:49Z
2020-12-09T00:58:49Z
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: ```python d = { 'user_id': { 0: 4628132781164409, 1: 7075307556966343, 2: 8013098674514720, 3: 7690164883842520, 4: 4985766983843363, 5: 3038805367505476, 6: 2541787162631756, 7: 4985766983843363, 8: 2541787162631756, 9: 3558493739463398}, 'date': { 0: '2020-02-12', 1: '2020-02-12', 2: '2020-02-12', 3: '2020-02-12', 4: '2020-02-12', 5: '2020-02-12', 6: '2020-02-12', 7: '2020-02-12', 8: '2020-02-12', 9: '2020-02-12' } } df = pd.DataFrame(d).astype({'date': 'datetime64'}) df['week'] = df['date'].dt.to_period('W') df['cohort'] = df.groupby('user_id')['week'].min() ``` #### Problem description The above code returns NaT values for the `cohort` column, but it was expected to return the minimum values for `week`, which in this case would be `2020-02-10/2020-02-16` for all rows. #### Expected Output If we change the last line to: ``` df['cohort'] = df.groupby('user_id')['week'].transform('min') ``` We get the expected value for the cohort column, i.e., `2020-02-10/2020-02-16`. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3 python : 3.7.5.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-1029-aws Version : #30~18.04.1-Ubuntu SMP Tue Oct 20 11:09:25 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.4 numpy : 1.19.4 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 45.2.0 Cython : 0.29.15 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.4 (dt dec pq3 ext lo64) jinja2 : 2.11.2 IPython : 7.12.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.1.3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 1.0.1 pytables : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.20 tables : None tabulate : 0.8.7 xarray : None xlrd : None xlwt : None numba : 0.52.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38362/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38362/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38363
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38363/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38363/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38363/events
https://github.com/pandas-dev/pandas/pull/38363
759,557,860
MDExOlB1bGxSZXF1ZXN0NTM0NTQzMTgw
38,363
Backport PR #38361 on branch 1.2.x (DOC: minor fixes to 1.2 release notes)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "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-12-08T15:50:06Z
2020-12-08T17:07:55Z
2020-12-08T17:07:55Z
NONE
null
Backport PR #38361: DOC: minor fixes to 1.2 release notes
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38363/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38363/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38363.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38363", "merged_at": "2020-12-08T17:07:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38363.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38363" }
https://api.github.com/repos/pandas-dev/pandas/issues/38364
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38364/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38364/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38364/events
https://github.com/pandas-dev/pandas/issues/38364
759,559,506
MDU6SXNzdWU3NTk1NTk1MDY=
38,364
BUG: weird tick spacing when plotting with time (instead of datetime) on x-axis
{ "avatar_url": "https://avatars.githubusercontent.com/u/4106013?v=4", "events_url": "https://api.github.com/users/rwijtvliet/events{/privacy}", "followers_url": "https://api.github.com/users/rwijtvliet/followers", "following_url": "https://api.github.com/users/rwijtvliet/following{/other_user}", "gists_url": "https://api.github.com/users/rwijtvliet/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rwijtvliet", "id": 4106013, "login": "rwijtvliet", "node_id": "MDQ6VXNlcjQxMDYwMTM=", "organizations_url": "https://api.github.com/users/rwijtvliet/orgs", "received_events_url": "https://api.github.com/users/rwijtvliet/received_events", "repos_url": "https://api.github.com/users/rwijtvliet/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rwijtvliet/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rwijtvliet/subscriptions", "type": "User", "url": "https://api.github.com/users/rwijtvliet" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
open
false
null
[]
null
0
2020-12-08T15:52:14Z
2021-08-14T22:06:23Z
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import pandas as pd import numpy as np ts = pd.date_range("2020-01-01", "2020-01-02", freq='15T', closed="left") pd.Series(np.random.rand(len(ts)), ts).plot() pd.Series(np.random.rand(len(ts)), ts.time).plot() ``` First plot: ![grafik](https://user-images.githubusercontent.com/4106013/101506875-31d68a80-3976-11eb-969d-5da4348be400.png) Second plot: ![grafik](https://user-images.githubusercontent.com/4106013/101506843-24b99b80-3976-11eb-9669-4376fd10f60f.png) #### Problem description and expected output I'd expect the tick marks of the second plot to be at more natural positions, like is the case in the first plot. #### Note This may be an issue in `matplotlib`. #### 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 : en LOCALE : de_DE.cp1252 pandas : 1.1.3 numpy : 1.19.2 pytz : 2020.4 dateutil : 2.8.1 pip : 20.3 setuptools : 50.3.2.post20201202 Cython : None pytest : 6.1.2 hypothesis : None sphinx : 3.2.1 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : 4.9.1 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.2 numexpr : None odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : 1.3.20 tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38364/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38364/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38365
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38365/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38365/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38365/events
https://github.com/pandas-dev/pandas/pull/38365
759,561,104
MDExOlB1bGxSZXF1ZXN0NTM0NTQ1ODgy
38,365
BUG FIX- C408
{ "avatar_url": "https://avatars.githubusercontent.com/u/56779528?v=4", "events_url": "https://api.github.com/users/shrutiguptabu/events{/privacy}", "followers_url": "https://api.github.com/users/shrutiguptabu/followers", "following_url": "https://api.github.com/users/shrutiguptabu/following{/other_user}", "gists_url": "https://api.github.com/users/shrutiguptabu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/shrutiguptabu", "id": 56779528, "login": "shrutiguptabu", "node_id": "MDQ6VXNlcjU2Nzc5NTI4", "organizations_url": "https://api.github.com/users/shrutiguptabu/orgs", "received_events_url": "https://api.github.com/users/shrutiguptabu/received_events", "repos_url": "https://api.github.com/users/shrutiguptabu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/shrutiguptabu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/shrutiguptabu/subscriptions", "type": "User", "url": "https://api.github.com/users/shrutiguptabu" }
[]
closed
false
null
[]
null
1
2020-12-08T15:54:17Z
2020-12-08T17:29:03Z
2020-12-08T17:29:03Z
NONE
null
- [ ] closes #c408 - [ ] 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/38365/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38365/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38365.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38365", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38365.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38365" }
https://api.github.com/repos/pandas-dev/pandas/issues/38366
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38366/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38366/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38366/events
https://github.com/pandas-dev/pandas/pull/38366
759,562,955
MDExOlB1bGxSZXF1ZXN0NTM0NTQ3NDI5
38,366
Backport PR #38360 on branch 1.2.x (CI: activate azure pipelines/github actions on 1.2.x)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2020-12-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-12-08T15:56:34Z
2020-12-08T18:10:54Z
2020-12-08T18:10:54Z
NONE
null
Backport PR #38360: CI: activate azure pipelines/github actions on 1.2.x
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38366/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38366/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38366.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38366", "merged_at": "2020-12-08T18:10:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38366.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38366" }
https://api.github.com/repos/pandas-dev/pandas/issues/38367
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38367/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38367/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38367/events
https://github.com/pandas-dev/pandas/issues/38367
759,574,179
MDU6SXNzdWU3NTk1NzQxNzk=
38,367
BUG: Pandas 1.1.5 location-based indexing error with quantized pivot table
{ "avatar_url": "https://avatars.githubusercontent.com/u/1742912?v=4", "events_url": "https://api.github.com/users/tgaddair/events{/privacy}", "followers_url": "https://api.github.com/users/tgaddair/followers", "following_url": "https://api.github.com/users/tgaddair/following{/other_user}", "gists_url": "https://api.github.com/users/tgaddair/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tgaddair", "id": 1742912, "login": "tgaddair", "node_id": "MDQ6VXNlcjE3NDI5MTI=", "organizations_url": "https://api.github.com/users/tgaddair/orgs", "received_events_url": "https://api.github.com/users/tgaddair/received_events", "repos_url": "https://api.github.com/users/tgaddair/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tgaddair/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tgaddair/subscriptions", "type": "User", "url": "https://api.github.com/users/tgaddair" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
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-12-08T16:08:38Z
2020-12-21T13:55:18Z
2020-12-21T13:55:18Z
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 numpy as np import pandas as pd input_df = pd.DataFrame(**{ 'index': [0, 1], 'columns': ['loss', 'category_64973.fc_size', 'category_64973.num_fc_layers', 'training.learning_rate'], 'data': [[1.0549572706222534, 240, 2, 0.0014908184659929895], [1.225046157836914, 160, 2, 0.0013734204727201226]] }) input_df['training.learning_rate'] = pd.qcut( input_df['training.learning_rate'], q=10, precision=3, duplicates='drop', ) data = input_df.pivot_table( index='category_64973.fc_size', columns='training.learning_rate', values='loss', aggfunc='mean' ) # Seaborn code starts here mask = np.zeros(data.shape, bool) mask = pd.DataFrame(mask, index=data.index, columns=data.columns, dtype=bool) mask | pd.isnull(data) ``` #### Problem description An error occurs when attempting to plot a quantized pivot table using Seaborn with the latest version of Pandas (`1.1.5`). The code above is a self-contained example showing what Seaborn is doing when `heatmap()` is called on the input pivot table (`data`). See this usage in the Ludwig framework: https://github.com/uber/ludwig/blob/master/ludwig/utils/visualization_utils.py#L1392. Prior to v1.1.5, this code was working fine and used to generate plots in Ludwig. The stack trace is as follows: ``` --------------------------------------------------------------------------- ValueError Traceback (most recent call last) ~/repos/ludwig/env/lib/python3.7/site-packages/pandas/core/indexing.py in _has_valid_tuple(self, key) 701 try: --> 702 self._validate_key(k, i) 703 except ValueError as err: ~/repos/ludwig/env/lib/python3.7/site-packages/pandas/core/indexing.py in _validate_key(self, key, axis) 1368 else: -> 1369 raise ValueError(f"Can only index by location with a [{self._valid_types}]") 1370 ValueError: Can only index by location with a [integer, integer slice (START point is INCLUDED, END point is EXCLUDED), listlike of integers, boolean array] The above exception was the direct cause of the following exception: ValueError Traceback (most recent call last) <ipython-input-1-e654830c5b85> in <module> 32 dtype=bool) 33 ---> 34 mask | pd.isnull(data) ~/repos/ludwig/env/lib/python3.7/site-packages/pandas/core/ops/__init__.py in f(self, other, axis, level, fill_value) 638 self, other, op, axis, default_axis, fill_value, level 639 ): --> 640 return _frame_arith_method_with_reindex(self, other, op) 641 642 if isinstance(other, ABCSeries) and fill_value is not None: ~/repos/ludwig/env/lib/python3.7/site-packages/pandas/core/ops/__init__.py in _frame_arith_method_with_reindex(left, right, op) 572 ) 573 --> 574 new_left = left.iloc[:, lcols] 575 new_right = right.iloc[:, rcols] 576 result = op(new_left, new_right) ~/repos/ludwig/env/lib/python3.7/site-packages/pandas/core/indexing.py in __getitem__(self, key) 871 # AttributeError for IntervalTree get_value 872 pass --> 873 return self._getitem_tuple(key) 874 else: 875 # we by definition only have the 0th axis ~/repos/ludwig/env/lib/python3.7/site-packages/pandas/core/indexing.py in _getitem_tuple(self, tup) 1441 def _getitem_tuple(self, tup: Tuple): 1442 -> 1443 self._has_valid_tuple(tup) 1444 try: 1445 return self._getitem_lowerdim(tup) ~/repos/ludwig/env/lib/python3.7/site-packages/pandas/core/indexing.py in _has_valid_tuple(self, key) 705 "Location based indexing can only have " 706 f"[{self._valid_types}] types" --> 707 ) from err 708 709 def _is_nested_tuple_indexer(self, tup: Tuple) -> bool: ValueError: Location based indexing can only have [integer, integer slice (START point is INCLUDED, END point is EXCLUDED), listlike of integers, boolean array] types ``` Note that this last `mask | pd.isnull(data)` operations succeeds with Pandas 1.1.4 and all other dependencies being left the same. #### Expected Output The `mask | pd.isnull(data)` call should succeed. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : b5958ee1999e9aead1938c0bba2b674378807b3d python : 3.7.8.final.0 python-bits : 64 OS : Darwin OS-release : 19.6.0 Version : Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.5 numpy : 1.18.5 pytz : 2020.1 dateutil : 2.8.1 pip : 20.1.1 setuptools : 47.1.0 Cython : 0.29.21 pytest : 6.1.0 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.2 html5lib : None pymysql : 0.10.1 psycopg2 : None jinja2 : 2.11.2 IPython : 7.18.1 pandas_datareader: None bs4 : 4.9.2 bottleneck : None fsspec : 0.8.4 fastparquet : None gcsfs : None matplotlib : 3.3.2 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : 2.0.0 pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : 1.3.20 tables : 3.6.1 tabulate : 0.8.7 xarray : 0.16.1 xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.52.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38367/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38367/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38368
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38368/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38368/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38368/events
https://github.com/pandas-dev/pandas/pull/38368
759,577,037
MDExOlB1bGxSZXF1ZXN0NTM0NTU4NTQ0
38,368
Shruti bug fix
{ "avatar_url": "https://avatars.githubusercontent.com/u/56779528?v=4", "events_url": "https://api.github.com/users/shrutiguptabu/events{/privacy}", "followers_url": "https://api.github.com/users/shrutiguptabu/followers", "following_url": "https://api.github.com/users/shrutiguptabu/following{/other_user}", "gists_url": "https://api.github.com/users/shrutiguptabu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/shrutiguptabu", "id": 56779528, "login": "shrutiguptabu", "node_id": "MDQ6VXNlcjU2Nzc5NTI4", "organizations_url": "https://api.github.com/users/shrutiguptabu/orgs", "received_events_url": "https://api.github.com/users/shrutiguptabu/received_events", "repos_url": "https://api.github.com/users/shrutiguptabu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/shrutiguptabu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/shrutiguptabu/subscriptions", "type": "User", "url": "https://api.github.com/users/shrutiguptabu" }
[]
closed
false
null
[]
null
1
2020-12-08T16:12:19Z
2020-12-08T17:28:39Z
2020-12-08T17:28:31Z
NONE
null
- [x] closes #line too long - [x] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38368/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38368/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38368.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38368", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38368.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38368" }
https://api.github.com/repos/pandas-dev/pandas/issues/38369
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38369/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38369/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38369/events
https://github.com/pandas-dev/pandas/pull/38369
759,665,271
MDExOlB1bGxSZXF1ZXN0NTM0NjMwNjk5
38,369
DOC: sync xarray version
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
2
2020-12-08T18:10:57Z
2020-12-08T21:00:08Z
2020-12-08T20:59:45Z
MEMBER
null
followup #37983
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38369/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38369/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38369.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38369", "merged_at": "2020-12-08T20:59:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38369.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38369" }
https://api.github.com/repos/pandas-dev/pandas/issues/38370
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38370/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38370/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38370/events
https://github.com/pandas-dev/pandas/pull/38370
759,671,799
MDExOlB1bGxSZXF1ZXN0NTM0NjM2MDAx
38,370
[WIP] ENH: add Pyarrow csv engine
{ "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": "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" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
9
2020-12-08T18:20:42Z
2021-08-12T23:46:45Z
2021-06-08T18:32:19Z
MEMBER
null
- [x] closes #23697 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Picking up #31817. I'm putting this up to use CI for debugging. There are a bunch of comments in #31817 that I haven't addressed yet (working on them) - but I'll take feedback at any time
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38370/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38370/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38370.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38370", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38370.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38370" }
https://api.github.com/repos/pandas-dev/pandas/issues/38371
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38371/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38371/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38371/events
https://github.com/pandas-dev/pandas/pull/38371
759,777,102
MDExOlB1bGxSZXF1ZXN0NTM0NzIxMTk2
38,371
Backport PR #38369 on branch 1.2.x (DOC: sync xarray version)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "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-12-08T21:00:09Z
2020-12-09T13:36:59Z
2020-12-09T13:36:58Z
NONE
null
Backport PR #38369: DOC: sync xarray version
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38371/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38371/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38371.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38371", "merged_at": "2020-12-09T13:36:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38371.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38371" }
https://api.github.com/repos/pandas-dev/pandas/issues/38372
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38372/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38372/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38372/events
https://github.com/pandas-dev/pandas/pull/38372
759,781,109
MDExOlB1bGxSZXF1ZXN0NTM0NzI0NTU5
38,372
REF: de-duplicate get_indexer methods
{ "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" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "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-12-08T21:05:53Z
2020-12-11T22:58:04Z
2020-12-11T22:54:20Z
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 Sits on top of #38308
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38372/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38372/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38372.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38372", "merged_at": "2020-12-11T22:54:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38372.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38372" }
https://api.github.com/repos/pandas-dev/pandas/issues/38373
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38373/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38373/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38373/events
https://github.com/pandas-dev/pandas/pull/38373
759,832,922
MDExOlB1bGxSZXF1ZXN0NTM0NzY3NjU0
38,373
REF: share IntervalIndex.intersection with Index.intersection
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-08T22:26:56Z
2020-12-14T01:22:44Z
2020-12-12T23:21:45Z
MEMBER
null
- [x] closes #38299 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This changes the return dtype of IntervalIndex.intersection when that intersection is empty.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38373/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38373/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38373.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38373", "merged_at": "2020-12-12T23:21:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38373.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38373" }
https://api.github.com/repos/pandas-dev/pandas/issues/38374
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38374/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38374/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38374/events
https://github.com/pandas-dev/pandas/pull/38374
759,834,729
MDExOlB1bGxSZXF1ZXN0NTM0NzY5MTEx
38,374
CLN: typo fixup in 1.2.0 whatsnew
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-12-26T13:57:50Z", "closed_issues": 1768, "created_at": "2020-05-29T23:47:32Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.2.x", "due_on": "2020-12-15T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/73", "id": 5479819, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels", "node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==", "number": 73, "open_issues": 0, "state": "closed", "title": "1.2", "updated_at": "2021-04-13T15:46:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73" }
0
2020-12-08T22:30:26Z
2020-12-09T15:57:14Z
2020-12-09T13:38:24Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry 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/38374/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38374/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38374.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38374", "merged_at": "2020-12-09T13:38:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38374.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38374" }
https://api.github.com/repos/pandas-dev/pandas/issues/38375
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38375/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38375/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38375/events
https://github.com/pandas-dev/pandas/issues/38375
759,853,393
MDU6SXNzdWU3NTk4NTMzOTM=
38,375
DOC: infer_dtypes document is inconsistent with behaviour regarding boolean
{ "avatar_url": "https://avatars.githubusercontent.com/u/20978879?v=4", "events_url": "https://api.github.com/users/tsinggggg/events{/privacy}", "followers_url": "https://api.github.com/users/tsinggggg/followers", "following_url": "https://api.github.com/users/tsinggggg/following{/other_user}", "gists_url": "https://api.github.com/users/tsinggggg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tsinggggg", "id": 20978879, "login": "tsinggggg", "node_id": "MDQ6VXNlcjIwOTc4ODc5", "organizations_url": "https://api.github.com/users/tsinggggg/orgs", "received_events_url": "https://api.github.com/users/tsinggggg/received_events", "repos_url": "https://api.github.com/users/tsinggggg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tsinggggg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tsinggggg/subscriptions", "type": "User", "url": "https://api.github.com/users/tsinggggg" }
[ { "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": "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": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/20978879?v=4", "events_url": "https://api.github.com/users/tsinggggg/events{/privacy}", "followers_url": "https://api.github.com/users/tsinggggg/followers", "following_url": "https://api.github.com/users/tsinggggg/following{/other_user}", "gists_url": "https://api.github.com/users/tsinggggg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tsinggggg", "id": 20978879, "login": "tsinggggg", "node_id": "MDQ6VXNlcjIwOTc4ODc5", "organizations_url": "https://api.github.com/users/tsinggggg/orgs", "received_events_url": "https://api.github.com/users/tsinggggg/received_events", "repos_url": "https://api.github.com/users/tsinggggg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tsinggggg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tsinggggg/subscriptions", "type": "User", "url": "https://api.github.com/users/tsinggggg" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/20978879?v=4", "events_url": "https://api.github.com/users/tsinggggg/events{/privacy}", "followers_url": "https://api.github.com/users/tsinggggg/followers", "following_url": "https://api.github.com/users/tsinggggg/following{/other_user}", "gists_url": "https://api.github.com/users/tsinggggg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tsinggggg", "id": 20978879, "login": "tsinggggg", "node_id": "MDQ6VXNlcjIwOTc4ODc5", "organizations_url": "https://api.github.com/users/tsinggggg/orgs", "received_events_url": "https://api.github.com/users/tsinggggg/received_events", "repos_url": "https://api.github.com/users/tsinggggg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tsinggggg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tsinggggg/subscriptions", "type": "User", "url": "https://api.github.com/users/tsinggggg" } ]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
9
2020-12-08T23:08:13Z
2020-12-16T02:14:18Z
2020-12-16T02:14:18Z
CONTRIBUTOR
null
#### Location of the documentation https://github.com/pandas-dev/pandas/blob/0711b7adb3150f14461c5d1a111a87a83a45bc90/pandas/_libs/lib.pyx#L1315 #### Documentation problem In this example the return value should be 'boolean' as mentioned in this test case https://github.com/pandas-dev/pandas/blob/1db3aa2b8ae8bd3b20dea14b92e1e7355bfa266a/pandas/tests/dtypes/test_inference.py#L679 #### Suggested fix for documentation change 'mix' to 'boolean'
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38375/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38375/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38376
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38376/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38376/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38376/events
https://github.com/pandas-dev/pandas/pull/38376
759,870,074
MDExOlB1bGxSZXF1ZXN0NTM0Nzk3OTYx
38,376
Add py39 target in Black's configuration, bump Black to 21.5b2
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
8
2020-12-08T23:43:09Z
2021-06-09T22:47:26Z
2021-06-09T22:47:04Z
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/38376/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38376/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38376.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38376", "merged_at": "2021-06-09T22:47:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38376.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38376" }
https://api.github.com/repos/pandas-dev/pandas/issues/38377
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38377/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38377/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38377/events
https://github.com/pandas-dev/pandas/pull/38377
759,892,461
MDExOlB1bGxSZXF1ZXN0NTM0ODE2Mjk0
38,377
CLN: lighter-weight casting
{ "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
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-09T00:36:48Z
2020-12-09T23:52:30Z
2020-12-09T23:44:33Z
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/38377/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38377/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38377.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38377", "merged_at": "2020-12-09T23:44:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38377.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38377" }
https://api.github.com/repos/pandas-dev/pandas/issues/38378
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38378/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38378/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38378/events
https://github.com/pandas-dev/pandas/issues/38378
759,894,747
MDU6SXNzdWU3NTk4OTQ3NDc=
38,378
BUG: is_numeric_dtype return bool as TRUE
{ "avatar_url": "https://avatars.githubusercontent.com/u/3307857?v=4", "events_url": "https://api.github.com/users/annaymj/events{/privacy}", "followers_url": "https://api.github.com/users/annaymj/followers", "following_url": "https://api.github.com/users/annaymj/following{/other_user}", "gists_url": "https://api.github.com/users/annaymj/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/annaymj", "id": 3307857, "login": "annaymj", "node_id": "MDQ6VXNlcjMzMDc4NTc=", "organizations_url": "https://api.github.com/users/annaymj/orgs", "received_events_url": "https://api.github.com/users/annaymj/received_events", "repos_url": "https://api.github.com/users/annaymj/repos", "site_admin": false, "starred_url": "https://api.github.com/users/annaymj/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/annaymj/subscriptions", "type": "User", "url": "https://api.github.com/users/annaymj" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
null
3
2020-12-09T00:42:35Z
2020-12-09T17:55:13Z
2020-12-09T17:55:13Z
NONE
null
#### Code Sample, ``` from pandas.api.types import is_integer_dtype, is_numeric_dtype, is_string_dtype, is_bool_dtype import numpy as np is_numeric_dtype(bool) # True is_numeric_dtype(np.bool) # True ``` #### Problem description is_numeric_dtype is returning true for boolean values source code below https://github.com/pandas-dev/pandas/blob/v1.1.5/pandas/core/dtypes/common.py#L1223-L1262 ``` def is_numeric_dtype(arr_or_dtype) -> bool: """ Check whether the provided array or dtype is of a numeric dtype. Parameters ---------- arr_or_dtype : array-like The array or dtype to check. Returns ------- boolean Whether or not the array or dtype is of a numeric dtype. Examples -------- >>> is_numeric_dtype(str) False >>> is_numeric_dtype(int) True >>> is_numeric_dtype(float) True >>> is_numeric_dtype(np.uint64) True >>> is_numeric_dtype(np.datetime64) False >>> is_numeric_dtype(np.timedelta64) False >>> is_numeric_dtype(np.array(['a', 'b'])) False >>> is_numeric_dtype(pd.Series([1, 2])) True >>> is_numeric_dtype(pd.Index([1, 2.])) True >>> is_numeric_dtype(np.array([], dtype=np.timedelta64)) False """ return _is_dtype_type( arr_or_dtype, classes_and_not_datetimelike(np.number, np.bool_) ) ``` #### Expected Output is_numeric_dtype(np.bool) # False #### <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.5.final.0 python-bits : 64 OS : Linux OS-release : 5.2.9-98_fbk11_hardened_3627_g39307fe48d19 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.0.4 numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : None setuptools : 46.1.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.0 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.8.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.1.2 numexpr : None odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : None pytables : None pytest : None pyxlsb : None s3fs : None scipy : 1.5.0 sqlalchemy : 1.2.14 tables : None tabulate : 0.8.6 xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : 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/38378/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38378/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38379
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38379/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38379/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38379/events
https://github.com/pandas-dev/pandas/pull/38379
759,905,200
MDExOlB1bGxSZXF1ZXN0NTM0ODI2NDkw
38,379
fix series.isin slow issue with Dtype IntegerArray
{ "avatar_url": "https://avatars.githubusercontent.com/u/33303747?v=4", "events_url": "https://api.github.com/users/tushushu/events{/privacy}", "followers_url": "https://api.github.com/users/tushushu/followers", "following_url": "https://api.github.com/users/tushushu/following{/other_user}", "gists_url": "https://api.github.com/users/tushushu/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tushushu", "id": 33303747, "login": "tushushu", "node_id": "MDQ6VXNlcjMzMzAzNzQ3", "organizations_url": "https://api.github.com/users/tushushu/orgs", "received_events_url": "https://api.github.com/users/tushushu/received_events", "repos_url": "https://api.github.com/users/tushushu/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tushushu/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tushushu/subscriptions", "type": "User", "url": "https://api.github.com/users/tushushu" }
[ { "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": "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": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
29
2020-12-09T01:08:46Z
2021-02-01T11:30:00Z
2021-01-20T01:44:33Z
CONTRIBUTOR
null
- [ ] closes #38340 - [ ] 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/38379/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38379/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38379.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38379", "merged_at": "2021-01-20T01:44:32Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38379.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38379" }
https://api.github.com/repos/pandas-dev/pandas/issues/38380
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38380/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38380/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38380/events
https://github.com/pandas-dev/pandas/pull/38380
759,918,137
MDExOlB1bGxSZXF1ZXN0NTM0ODM2ODQ2
38,380
BUG: item_cache invalidation on DataFrame.insert
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "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": "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": "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-12-09T01:42:38Z
2020-12-11T02:50:21Z
2020-12-11T02:35:42Z
MEMBER
null
- [x] closes #26985 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Something wonky is going on with tm.assert_produces_warning, will see if it shows up on the CI.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38380/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38380/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38380.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38380", "merged_at": "2020-12-11T02:35:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38380.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38380" }
https://api.github.com/repos/pandas-dev/pandas/issues/38381
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38381/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38381/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38381/events
https://github.com/pandas-dev/pandas/pull/38381
759,925,195
MDExOlB1bGxSZXF1ZXN0NTM0ODQyMDU0
38,381
CLN: C408 Unnecessary dict call, last files #38138
{ "avatar_url": "https://avatars.githubusercontent.com/u/57372467?v=4", "events_url": "https://api.github.com/users/UrielMaD/events{/privacy}", "followers_url": "https://api.github.com/users/UrielMaD/followers", "following_url": "https://api.github.com/users/UrielMaD/following{/other_user}", "gists_url": "https://api.github.com/users/UrielMaD/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/UrielMaD", "id": 57372467, "login": "UrielMaD", "node_id": "MDQ6VXNlcjU3MzcyNDY3", "organizations_url": "https://api.github.com/users/UrielMaD/orgs", "received_events_url": "https://api.github.com/users/UrielMaD/received_events", "repos_url": "https://api.github.com/users/UrielMaD/repos", "site_admin": false, "starred_url": "https://api.github.com/users/UrielMaD/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/UrielMaD/subscriptions", "type": "User", "url": "https://api.github.com/users/UrielMaD" }
[]
closed
false
null
[]
null
1
2020-12-09T02:00:38Z
2020-12-09T04:25:17Z
2020-12-09T04:25:17Z
CONTRIBUTOR
null
- [x] 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/38381/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38381/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38381.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38381", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38381.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38381" }
https://api.github.com/repos/pandas-dev/pandas/issues/38382
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38382/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38382/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38382/events
https://github.com/pandas-dev/pandas/pull/38382
759,945,672
MDExOlB1bGxSZXF1ZXN0NTM0ODU4MjUy
38,382
REF: unify Index union methods
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "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-12-09T02:53:00Z
2020-12-14T16:15:04Z
2020-12-14T14:28:23Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Sits on top of #38373 which focuses on intersection. @simonjayhawkins this changes corner-case behavior for IntervalIndex.union, which we already changed in #38282 for 1.2.0. I think this is unambiguously More Correct. Question for you: should we try to get it in to 1.2.0 to avoid back-to-back behavior changes?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38382/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38382/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38382.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38382", "merged_at": "2020-12-14T14:28:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38382.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38382" }
https://api.github.com/repos/pandas-dev/pandas/issues/38383
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38383/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38383/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38383/events
https://github.com/pandas-dev/pandas/pull/38383
759,983,201
MDExOlB1bGxSZXF1ZXN0NTM0ODg4NTc3
38,383
CLN: C408 Unnecessary dict call - rewrite as a literal #38138
{ "avatar_url": "https://avatars.githubusercontent.com/u/57372467?v=4", "events_url": "https://api.github.com/users/UrielMaD/events{/privacy}", "followers_url": "https://api.github.com/users/UrielMaD/followers", "following_url": "https://api.github.com/users/UrielMaD/following{/other_user}", "gists_url": "https://api.github.com/users/UrielMaD/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/UrielMaD", "id": 57372467, "login": "UrielMaD", "node_id": "MDQ6VXNlcjU3MzcyNDY3", "organizations_url": "https://api.github.com/users/UrielMaD/orgs", "received_events_url": "https://api.github.com/users/UrielMaD/received_events", "repos_url": "https://api.github.com/users/UrielMaD/repos", "site_admin": false, "starred_url": "https://api.github.com/users/UrielMaD/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/UrielMaD/subscriptions", "type": "User", "url": "https://api.github.com/users/UrielMaD" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
9
2020-12-09T04:32:51Z
2020-12-09T10:14:53Z
2020-12-09T09:15:06Z
CONTRIBUTOR
null
Fix in: ./pandas/tests/io/generate_legacy_storage_files.py - [x] closes #38138 - [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/38383/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38383/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38383.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38383", "merged_at": "2020-12-09T09:15:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38383.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38383" }
https://api.github.com/repos/pandas-dev/pandas/issues/38384
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38384/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38384/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38384/events
https://github.com/pandas-dev/pandas/pull/38384
760,339,082
MDExOlB1bGxSZXF1ZXN0NTM1MTg3NDYy
38,384
Backport PR #38374 on branch 1.2.x (CLN: typo fixup in 1.2.0 whatsnew)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "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-12-09T13:40:00Z
2020-12-09T17:08:30Z
2020-12-09T17:08:29Z
NONE
null
Backport PR #38374: CLN: typo fixup in 1.2.0 whatsnew
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38384/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38384/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38384.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38384", "merged_at": "2020-12-09T17:08:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38384.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38384" }
https://api.github.com/repos/pandas-dev/pandas/issues/38385
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38385/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38385/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38385/events
https://github.com/pandas-dev/pandas/pull/38385
760,363,682
MDExOlB1bGxSZXF1ZXN0NTM1MjA3OTcx
38,385
CLN: fix C408 #38138
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-09T14:10:52Z
2020-12-09T17:09:29Z
2020-12-09T17:09:16Z
MEMBER
null
- [x] closes #38138
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38385/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38385/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38385.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38385", "merged_at": "2020-12-09T17:09:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38385.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38385" }
https://api.github.com/repos/pandas-dev/pandas/issues/38386
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38386/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38386/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38386/events
https://github.com/pandas-dev/pandas/issues/38386
760,396,315
MDU6SXNzdWU3NjAzOTYzMTU=
38,386
REGR: assigning column with name that is registered as extension dtype errors
{ "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" } ]
{ "closed_at": "2020-12-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-12-09T14:51:18Z
2020-12-14T14:11:03Z
2020-12-14T14:11:03Z
MEMBER
null
``` In [34]: df = pd.DataFrame([0]) In [35]: df["Int64"] = [1] --------------------------------------------------------------------------- KeyError Traceback (most recent call last) ~/scipy/pandas/pandas/core/generic.py in _set_item(self, key, value) 3822 try: -> 3823 loc = self._info_axis.get_loc(key) 3824 except KeyError: ~/scipy/pandas/pandas/core/indexes/range.py in get_loc(self, key, method, tolerance) 353 raise KeyError(key) from err --> 354 raise KeyError(key) 355 return super().get_loc(key, method=method, tolerance=tolerance) KeyError: 'Int64' During handling of the above exception, another exception occurred: AttributeError Traceback (most recent call last) <ipython-input-35-26205ed43ee5> in <module> ----> 1 df["Int64"] = [1] ~/scipy/pandas/pandas/core/frame.py in __setitem__(self, key, value) 3161 else: 3162 # set column -> 3163 self._set_item(key, value) 3164 3165 def _setitem_slice(self, key: slice, value): ~/scipy/pandas/pandas/core/frame.py in _set_item(self, key, value) 3238 self._ensure_valid_index(value) 3239 value = self._sanitize_column(key, value) -> 3240 NDFrame._set_item(self, key, value) 3241 3242 # check if we are modifying a copy ~/scipy/pandas/pandas/core/generic.py in _set_item(self, key, value) 3824 except KeyError: 3825 # This item wasn't present, just insert at end -> 3826 self._mgr.insert(len(self._info_axis), key, value) 3827 return 3828 ~/scipy/pandas/pandas/core/internals/managers.py in insert(self, loc, item, value, allow_duplicates) 1195 1196 # insert to the axis; this could possibly raise a TypeError -> 1197 new_axis = self.items.insert(loc, item) 1198 1199 if value.ndim == self.ndim - 1 and not is_extension_array_dtype(value.dtype): ~/scipy/pandas/pandas/core/indexes/numeric.py in insert(self, loc, item) 172 def insert(self, loc: int, item): 173 try: --> 174 item = self._validate_fill_value(item) 175 except TypeError: 176 return self.astype(object).insert(loc, item) ~/scipy/pandas/pandas/core/indexes/numeric.py in _validate_fill_value(self, value) 117 Convert value to be insertable to ndarray. 118 """ --> 119 if is_bool(value) or is_bool_dtype(value): 120 # force conversion to object 121 # so we don't lose the bools ~/scipy/pandas/pandas/core/dtypes/common.py in is_bool_dtype(arr_or_dtype) 1398 return arr_or_dtype.is_object and arr_or_dtype.inferred_type == "boolean" 1399 elif is_extension_array_dtype(arr_or_dtype): -> 1400 return getattr(arr_or_dtype, "dtype", arr_or_dtype)._is_boolean 1401 1402 return issubclass(dtype.type, np.bool_) AttributeError: 'str' object has no attribute '_is_boolean' ``` This is something that started to fail recently. Getting this from the geopandas CI testing with pandas master.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38386/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38386/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38387
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38387/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38387/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38387/events
https://github.com/pandas-dev/pandas/pull/38387
760,482,031
MDExOlB1bGxSZXF1ZXN0NTM1MzA2MjAz
38,387
Updated docstring for DataFrame.plot.bar graph clearify the use of color list
{ "avatar_url": "https://avatars.githubusercontent.com/u/61025943?v=4", "events_url": "https://api.github.com/users/ankushduacodes/events{/privacy}", "followers_url": "https://api.github.com/users/ankushduacodes/followers", "following_url": "https://api.github.com/users/ankushduacodes/following{/other_user}", "gists_url": "https://api.github.com/users/ankushduacodes/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ankushduacodes", "id": 61025943, "login": "ankushduacodes", "node_id": "MDQ6VXNlcjYxMDI1OTQz", "organizations_url": "https://api.github.com/users/ankushduacodes/orgs", "received_events_url": "https://api.github.com/users/ankushduacodes/received_events", "repos_url": "https://api.github.com/users/ankushduacodes/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ankushduacodes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ankushduacodes/subscriptions", "type": "User", "url": "https://api.github.com/users/ankushduacodes" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
2020-12-09T16:32:58Z
2020-12-14T17:27:45Z
2020-12-14T17:27:38Z
CONTRIBUTOR
null
- [X] closes #31691 - [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/38387/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38387/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38387.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38387", "merged_at": "2020-12-14T17:27:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38387.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38387" }
https://api.github.com/repos/pandas-dev/pandas/issues/38388
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38388/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38388/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38388/events
https://github.com/pandas-dev/pandas/issues/38388
760,521,360
MDU6SXNzdWU3NjA1MjEzNjA=
38,388
BUG: `DataFrame.__repr__` not showing correct `MultiIndex` values
{ "avatar_url": "https://avatars.githubusercontent.com/u/11664259?v=4", "events_url": "https://api.github.com/users/galipremsagar/events{/privacy}", "followers_url": "https://api.github.com/users/galipremsagar/followers", "following_url": "https://api.github.com/users/galipremsagar/following{/other_user}", "gists_url": "https://api.github.com/users/galipremsagar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/galipremsagar", "id": 11664259, "login": "galipremsagar", "node_id": "MDQ6VXNlcjExNjY0MjU5", "organizations_url": "https://api.github.com/users/galipremsagar/orgs", "received_events_url": "https://api.github.com/users/galipremsagar/received_events", "repos_url": "https://api.github.com/users/galipremsagar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/galipremsagar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/galipremsagar/subscriptions", "type": "User", "url": "https://api.github.com/users/galipremsagar" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "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-12-09T17:24:53Z
2020-12-09T23:32:05Z
2020-12-09T23:32: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 >>> df = pd.DataFrame() >>> df['a'] = pd.Series([1, 2, None], dtype='Int64') >>> df['b'] = pd.Series([10, 11, 12]) >>> df['c'] = pd.Series(['dsf', 'bac', 'abc']) >>> df a b c 0 1 10 dsf 1 2 11 bac 2 <NA> 12 abc >>> df.set_index(['a','b']) c a b 1 10 dsf 2 11 bac NaN 12 abc >>> df.set_index(['a','b']).index MultiIndex([(1.0, 10), (2.0, 11), (nan, 12)], names=['a', 'b']) ``` #### Problem description The actual underlying values in the multiIndex in first level are all `floats` but the `DataFrame.__repr__` outputs the values as integers. #### Expected Output The expected output should be inline with `MultiIndex.__repr__`. ```python >>> df.set_index(['a','b']) c a b 1.0 10 dsf 2.0 11 bac NaN 12 abc ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3 python : 3.7.3.final.0 python-bits : 64 OS : Darwin OS-release : 20.1.0 Version : Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : en_US.UTF-8 pandas : 1.1.4 numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.3 setuptools : 50.3.0 Cython : None pytest : None hypothesis : 5.29.0 sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 1.0.1 pytables : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38388/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38388/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38389
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38389/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38389/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38389/events
https://github.com/pandas-dev/pandas/pull/38389
760,544,074
MDExOlB1bGxSZXF1ZXN0NTM1MzU4MDc1
38,389
REF: consolidate NDFrame._iset_item, _set_item with DataFrame methods
{ "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": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-09T17:55:26Z
2020-12-10T00:16:36Z
2020-12-10T00:14:48Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38389/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38389/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38389.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38389", "merged_at": "2020-12-10T00:14:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38389.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38389" }
https://api.github.com/repos/pandas-dev/pandas/issues/38390
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38390/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38390/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38390/events
https://github.com/pandas-dev/pandas/issues/38390
760,600,651
MDU6SXNzdWU3NjA2MDA2NTE=
38,390
BUG: ExtensionArray with 2D datetime64 values errors on display formatting
{ "avatar_url": "https://avatars.githubusercontent.com/u/4534389?v=4", "events_url": "https://api.github.com/users/BryanCutler/events{/privacy}", "followers_url": "https://api.github.com/users/BryanCutler/followers", "following_url": "https://api.github.com/users/BryanCutler/following{/other_user}", "gists_url": "https://api.github.com/users/BryanCutler/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/BryanCutler", "id": 4534389, "login": "BryanCutler", "node_id": "MDQ6VXNlcjQ1MzQzODk=", "organizations_url": "https://api.github.com/users/BryanCutler/orgs", "received_events_url": "https://api.github.com/users/BryanCutler/received_events", "repos_url": "https://api.github.com/users/BryanCutler/repos", "site_admin": false, "starred_url": "https://api.github.com/users/BryanCutler/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/BryanCutler/subscriptions", "type": "User", "url": "https://api.github.com/users/BryanCutler" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
open
false
null
[]
null
0
2020-12-09T19:16:34Z
2020-12-22T14:39:27Z
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. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import numpy as np import pandas as pd import pandas.io.formats.format as fmt x = pd.date_range('2018-01-01', periods=5, freq='H').to_numpy() x = np.tile(x, (3, 1)) formatter = fmt.Datetime64Formatter(x) result = formatter.get_result() ``` #### Problem description When using a Pandas ExtensionArray that has 2D values of Datetime64 dtype, Pandas errors on formatting the values with the following: ``` File "/ib/python3.8/site-packages/pandas/io/formats/printing.py", line 73, in <listcomp> return [x.rjust(max_len) for x in texts] AttributeError: 'list' object has no attribute 'rjust' ``` The above is also true when using the `Datetime64Formatter` directly with values of ndim > 1. #### Expected Output Formatting that takes into account dimensionality: ``` [' [2018-01-01 00:00:00, 2018-01-01 01:00:00, 201...', ' [2018-01-01 05:00:00, 2018-01-01 06:00:00, 201...'] ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.8.6.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-54-generic Version : #60-Ubuntu SMP Fri Nov 6 10:37:59 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.3 numpy : 1.19.1 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 : 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 : 1.0.1 pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38390/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38390/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38391
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38391/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38391/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38391/events
https://github.com/pandas-dev/pandas/pull/38391
760,609,149
MDExOlB1bGxSZXF1ZXN0NTM1NDEzMDky
38,391
[#38390] Bug fix for Datetime64Formatter with values of ndim > 1
{ "avatar_url": "https://avatars.githubusercontent.com/u/4534389?v=4", "events_url": "https://api.github.com/users/BryanCutler/events{/privacy}", "followers_url": "https://api.github.com/users/BryanCutler/followers", "following_url": "https://api.github.com/users/BryanCutler/following{/other_user}", "gists_url": "https://api.github.com/users/BryanCutler/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/BryanCutler", "id": 4534389, "login": "BryanCutler", "node_id": "MDQ6VXNlcjQ1MzQzODk=", "organizations_url": "https://api.github.com/users/BryanCutler/orgs", "received_events_url": "https://api.github.com/users/BryanCutler/received_events", "repos_url": "https://api.github.com/users/BryanCutler/repos", "site_admin": false, "starred_url": "https://api.github.com/users/BryanCutler/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/BryanCutler/subscriptions", "type": "User", "url": "https://api.github.com/users/BryanCutler" }
[ { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" }, { "color": "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": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
8
2020-12-09T19:28:54Z
2021-03-09T07:25:14Z
2021-03-09T07:25:14Z
CONTRIBUTOR
null
- [x] closes #38390 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry This change fixes a bug in `Datetime64Formatter` that errors with values of ndim > 1. This was discovered when using an ExtensionArray with 2D values of datetime64 and attempting to format/display. The formatter currently allows for 2D values, but will end up returning nested strings instead of a flat list of string. The same error occurs when using the `Datetime64Formatter` directly on 2D values. The fix is to flatten the values to get a flat list of formatted datetime64 strings, then reshape, and then format a second time over the outer dimension to produce the properly nested list format and the final flat list of strings.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38391/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38391/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38391.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38391", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38391.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38391" }
https://api.github.com/repos/pandas-dev/pandas/issues/38392
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38392/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38392/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38392/events
https://github.com/pandas-dev/pandas/pull/38392
760,659,156
MDExOlB1bGxSZXF1ZXN0NTM1NDU0MzI4
38,392
BUG: read_csv interpreting NA value as comment when NA contains comment string
{ "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": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2021-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-12-09T20:46:56Z
2020-12-14T08:21:46Z
2020-12-13T23:44:23Z
MEMBER
null
- [x] xref #34002 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry I looked into the ``c`` case, but this is not that trivial as here. Comments are removed way before checking for na values. Would have to move that part way down to be able to do 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/38392/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38392/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38392.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38392", "merged_at": "2020-12-13T23:44:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38392.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38392" }
https://api.github.com/repos/pandas-dev/pandas/issues/38393
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38393/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38393/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38393/events
https://github.com/pandas-dev/pandas/pull/38393
760,689,214
MDExOlB1bGxSZXF1ZXN0NTM1NDc4Nzc5
38,393
Solved desing problem with to_datetime when "ignore" error was being used.
{ "avatar_url": "https://avatars.githubusercontent.com/u/43563276?v=4", "events_url": "https://api.github.com/users/IngErnestoAlvarez/events{/privacy}", "followers_url": "https://api.github.com/users/IngErnestoAlvarez/followers", "following_url": "https://api.github.com/users/IngErnestoAlvarez/following{/other_user}", "gists_url": "https://api.github.com/users/IngErnestoAlvarez/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/IngErnestoAlvarez", "id": 43563276, "login": "IngErnestoAlvarez", "node_id": "MDQ6VXNlcjQzNTYzMjc2", "organizations_url": "https://api.github.com/users/IngErnestoAlvarez/orgs", "received_events_url": "https://api.github.com/users/IngErnestoAlvarez/received_events", "repos_url": "https://api.github.com/users/IngErnestoAlvarez/repos", "site_admin": false, "starred_url": "https://api.github.com/users/IngErnestoAlvarez/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/IngErnestoAlvarez/subscriptions", "type": "User", "url": "https://api.github.com/users/IngErnestoAlvarez" }
[ { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
8
2020-12-09T21:34:16Z
2021-02-11T01:32:44Z
2021-02-11T01:32:43Z
NONE
null
- [x] closes #28120 - [x] tests added / passed `test_to_datetime_some_invalid_numbers` - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] Now when u use some array of integers on to_datetime function passing as arguments: error="ignore" and format="%Y%m%d" it only skips none fitting values instead of all the 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/38393/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38393/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38393.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38393", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38393.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38393" }
https://api.github.com/repos/pandas-dev/pandas/issues/38394
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38394/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38394/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38394/events
https://github.com/pandas-dev/pandas/pull/38394
760,769,542
MDExOlB1bGxSZXF1ZXN0NTM1NTQ2MTM2
38,394
ENH: make "closed" part of IntervalDtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" }, { "color": "009800", "default": false, "description": "Interval data type", "id": 150096370, "name": "Interval", "node_id": "MDU6TGFiZWwxNTAwOTYzNzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
20
2020-12-10T00:08:54Z
2021-01-10T02:07:08Z
2021-01-10T00:38:29Z
MEMBER
null
- [x] closes #19371 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Most of the work here is in accomodating backwards-compat.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38394/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38394/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38394.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38394", "merged_at": "2021-01-10T00:38:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38394.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38394" }
https://api.github.com/repos/pandas-dev/pandas/issues/38395
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38395/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38395/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38395/events
https://github.com/pandas-dev/pandas/pull/38395
760,774,248
MDExOlB1bGxSZXF1ZXN0NTM1NTUwMTM1
38,395
Backport PR #35100 on branch 1.2.x (Document Tips for Debugging C Extensions)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "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-12-10T00:19:53Z
2020-12-10T10:28:54Z
2020-12-10T10:28:54Z
NONE
null
Backport PR #35100: Document Tips for Debugging C Extensions
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38395/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38395/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38395.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38395", "merged_at": "2020-12-10T10:28:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38395.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38395" }
https://api.github.com/repos/pandas-dev/pandas/issues/38396
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38396/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38396/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38396/events
https://github.com/pandas-dev/pandas/pull/38396
760,803,810
MDExOlB1bGxSZXF1ZXN0NTM1NTc0MjAw
38,396
BUG: algos.rank with readonly values
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
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-12-10T01:31:50Z
2020-12-11T11:21:35Z
2020-12-10T19:42:14Z
MEMBER
null
One of the two current npdev failures is caused by https://github.com/numpy/numpy/pull/17884
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38396/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38396/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38396.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38396", "merged_at": "2020-12-10T19:42:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38396.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38396" }
https://api.github.com/repos/pandas-dev/pandas/issues/38397
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38397/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38397/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38397/events
https://github.com/pandas-dev/pandas/issues/38397
760,833,340
MDU6SXNzdWU3NjA4MzMzNDA=
38,397
DOC: Correct pandas sources should be discoverable by sphinx autodoc
{ "avatar_url": "https://avatars.githubusercontent.com/u/358550?v=4", "events_url": "https://api.github.com/users/plcplc/events{/privacy}", "followers_url": "https://api.github.com/users/plcplc/followers", "following_url": "https://api.github.com/users/plcplc/following{/other_user}", "gists_url": "https://api.github.com/users/plcplc/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/plcplc", "id": 358550, "login": "plcplc", "node_id": "MDQ6VXNlcjM1ODU1MA==", "organizations_url": "https://api.github.com/users/plcplc/orgs", "received_events_url": "https://api.github.com/users/plcplc/received_events", "repos_url": "https://api.github.com/users/plcplc/repos", "site_admin": false, "starred_url": "https://api.github.com/users/plcplc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/plcplc/subscriptions", "type": "User", "url": "https://api.github.com/users/plcplc" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
open
false
null
[]
null
1
2020-12-10T02:43:40Z
2021-08-14T22:08:09Z
null
NONE
null
- [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python """ A module demonstrating the inability to automatically discover link targets of references to pandas objects. .. autofunction:: foo """ import pandas as pd def foo(df: pd.DataFrame) -> None: """ :param df: A data frame """ ``` #### Problem description [this should explain **why** the current behaviour is a problem and why the expected output is a better solution] In the current state of things, sphinx autodoc will load in the module and via runtime inspection of `pd.DataFrame.__module__` discover that the fully qualified name of the type of the parameter `df` is `pandas.core.frame.DataFrame`. However, the documentation for `DataFrame` is indexed as `pandas.DataFrame` as per the pandas `objects.inv` file, so sphinx fails to make the connection between those two names for the same type. Instead I have to resort to manually specifying the type as `:type df: pandas.DataFrame`, which reduces the value gained from using autodoc in the first place. It also leads to hours spent trying to figure out how my setup was misconfigured. I notice also that if I do: ```python """ A module demonstrating the ability to automatically discover link targets of references to pandas objects. .. autofunction:: foo """ import pandas as pd pd.DataFrame.__module__ = "pandas" def foo(df: pd.DataFrame) -> None: """ :param df: A data frame """ ``` Then the automatic references are recognised properly, and I get a clickable hyperlink to the official pandas docs for DataFrame. #### Expected Output I expected the indexed names in `objects.inv` to align with the runtime inspected type names. I don't know if the code in sphinx or the code in pandas ought to change, but my feeling is that it would be unproductive to expect sphinx to divine meaning from the full dynamic breadth of possibilities that python offers. It would seem to me that there should be some structuring convention that, if adhered to would fix this. #### Output of ``pd.show_versions()`` (I don't think this is relevant for this bug) <details> [paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag] </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38397/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38397/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38398
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38398/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38398/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38398/events
https://github.com/pandas-dev/pandas/pull/38398
760,834,612
MDExOlB1bGxSZXF1ZXN0NTM1NTk3MjMw
38,398
REF: implement sanitize_masked_array
{ "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": "d4c5f9", "default": false, "description": "Series/DataFrame/Index/pd.array Constructors", "id": 1465286368, "name": "Constructors", "node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors" } ]
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-12-10T02:46:55Z
2020-12-11T23:08:13Z
2020-12-11T23:03:20Z
MEMBER
null
The recarray handling in internals.construction is inconsistent with the other recarray handling. Hopefully I can get that sorted out and then we can re-use sanitize_masked_array there too.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38398/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38398/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38398.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38398", "merged_at": "2020-12-11T23:03:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38398.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38398" }
https://api.github.com/repos/pandas-dev/pandas/issues/38399
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38399/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38399/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38399/events
https://github.com/pandas-dev/pandas/issues/38399
760,842,886
MDU6SXNzdWU3NjA4NDI4ODY=
38,399
BUG: DataFrame(MaskedRecords) inconsistent with Series behavior
{ "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": "d4c5f9", "default": false, "description": "Series/DataFrame/Index/pd.array Constructors", "id": 1465286368, "name": "Constructors", "node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors" }, { "color": "b60205", "default": false, "description": "Internal Consistency of API/Behavior", "id": 1741841389, "name": "API - Consistency", "node_id": "MDU6TGFiZWwxNzQxODQxMzg5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-10T03:07:01Z
2021-03-15T00:09:58Z
2021-03-15T00:09:58Z
MEMBER
null
Example based on tests.frame.test_constructors.TestDataFrameConstructors.test_constructor_mrecarray, which has comment "Ensure mrecarray produces frame identical to dict of masked arrays from GH3479" ``` import numpy as np from numpy.ma import mrecords import pandas as pd arrays = [ ("float", np.array([1.5, 2.0])), ("int", np.array([1, 2])), ("str", np.array(["abc", "def"])), ] for name, arr in arrays[:]: arrays.append( ("masked1_" + name, np.ma.masked_array(arr, mask=[False, True])) ) arrays.append(("masked_all", np.ma.masked_all((2,)))) arrays.append(("masked_none", np.ma.masked_array([1.0, 2.5], mask=False))) comb = [arrays[0], arrays[1], arrays[3]] names, data = zip(*comb) mrecs = mrecords.fromarrays(data, names=names) result = pd.DataFrame(mrecs) alt = {k: pd.Series(v) for k, v in comb} expected = pd.DataFrame(alt, columns=names) tm.assert_frame_equal(result, expected) # <-- nope! >>> result float int masked1_float 0 1.5 1 1.500000e+00 1 2.0 2 1.000000e+20 >>> expected float int masked1_float 0 1.5 1 1.5 1 2.0 2 NaN ``` I would expect these two to match. Note that `alt["masked1_float"]._values` is a masked_array, so that is non-lossy (though `alt["masked1_float"]`'s repr does not make that obvious). `expected["masked1_float"]._values` is a regular ndarray, so that is lossy.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38399/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38399/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38400
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38400/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38400/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38400/events
https://github.com/pandas-dev/pandas/pull/38400
760,856,143
MDExOlB1bGxSZXF1ZXN0NTM1NjEyODE5
38,400
REF: simplify internals.construction
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
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-12-10T03:35:35Z
2020-12-11T23:10:00Z
2020-12-11T23:08:38Z
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/38400/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38400/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38400.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38400", "merged_at": "2020-12-11T23:08:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38400.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38400" }
https://api.github.com/repos/pandas-dev/pandas/issues/38401
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38401/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38401/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38401/events
https://github.com/pandas-dev/pandas/issues/38401
761,008,433
MDU6SXNzdWU3NjEwMDg0MzM=
38,401
BUG: .groupby().min() .max() .agg('min') .agg('max') ERROR
{ "avatar_url": "https://avatars.githubusercontent.com/u/26923852?v=4", "events_url": "https://api.github.com/users/ghost9023/events{/privacy}", "followers_url": "https://api.github.com/users/ghost9023/followers", "following_url": "https://api.github.com/users/ghost9023/following{/other_user}", "gists_url": "https://api.github.com/users/ghost9023/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ghost9023", "id": 26923852, "login": "ghost9023", "node_id": "MDQ6VXNlcjI2OTIzODUy", "organizations_url": "https://api.github.com/users/ghost9023/orgs", "received_events_url": "https://api.github.com/users/ghost9023/received_events", "repos_url": "https://api.github.com/users/ghost9023/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ghost9023/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ghost9023/subscriptions", "type": "User", "url": "https://api.github.com/users/ghost9023" }
[ { "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": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
closed
false
null
[]
null
8
2020-12-10T08:03:48Z
2021-01-22T10:17:41Z
2020-12-16T06:58:25Z
NONE
null
- [O] I have checked that this issue has not already been reported. I checked it but this bug reported that already solved. but in my pandas, still occur. (https://github.com/pandas-dev/pandas/issues/31522) - [O] I have confirmed this bug exists on the latest version of pandas. I've checked latest version at anaconda - [ ] (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 # data given from https://www.kaggle.com/hesh97/titanicdataset-traincsv/data import pandas as pd df = pd.read_csv('./train.csv') df.head() class_group = df.groupby('Pclass') print(class_group.groups) # pass print(class_group.mean()['Survived']) # pass print(class_group.median()) # pass print(class_group.agg('min')) # error occur. also .agg('max'), .min(), .max() ``` #### Problem description I found same error occurred at older version, 1.0.0, 1.0.1. (https://github.com/pandas-dev/pandas/issues/31522) At that ticket, after 1.0.3, this bug solved. But I tested, Windows10 64bit python3.6 pandas 1.0.1, 1.0.3, 1.0.5, 1.1.3 and CentOS7.5 python3.8 pandas 1.0.5, same error occured. Just like this. Same code, same data at Windows 10 and CentOS 7 * Windows """""""""""""""""""""""""""""""""""""""""""""" Traceback (most recent call last): File "E:/PythonProjects/Deepphi/local-dev/pandaserror.py", line 11, in <module> print(class_group.agg('min')) # error occur. also .agg('max'), .min(), .max() File "C:\Users\deepnoid-workstation\Anaconda3_64bit\envs\dev\lib\site-packages\pandas\core\groupby\generic.py", line 951, in aggregate result, how = self._aggregate(func, *args, **kwargs) File "C:\Users\deepnoid-workstation\Anaconda3_64bit\envs\dev\lib\site-packages\pandas\core\base.py", line 307, in _aggregate return self._try_aggregate_string_function(arg, *args, **kwargs), None File "C:\Users\deepnoid-workstation\Anaconda3_64bit\envs\dev\lib\site-packages\pandas\core\base.py", line 263, in _try_aggregate_string_function return f(*args, **kwargs) File "C:\Users\deepnoid-workstation\Anaconda3_64bit\envs\dev\lib\site-packages\pandas\core\groupby\groupby.py", line 1552, in min numeric_only=numeric_only, min_count=min_count, alias="min", npfunc=np.min File "C:\Users\deepnoid-workstation\Anaconda3_64bit\envs\dev\lib\site-packages\pandas\core\groupby\groupby.py", line 1000, in _agg_general how=alias, alt=npfunc, numeric_only=numeric_only, min_count=min_count, File "C:\Users\deepnoid-workstation\Anaconda3_64bit\envs\dev\lib\site-packages\pandas\core\groupby\generic.py", line 1022, in _cython_agg_general how, alt=alt, numeric_only=numeric_only, min_count=min_count File "C:\Users\deepnoid-workstation\Anaconda3_64bit\envs\dev\lib\site-packages\pandas\core\groupby\generic.py", line 1135, in _cython_agg_blocks assert len(locs) == result.shape[1] AssertionError Process finished with exit code 1 """""""""""""""""""""""""""""""""""""""""""""" CentOS """""""""""""""""""""""""""""""""""""""""""""" Traceback (most recent call last): File "pandaserror.py", line 24, in <module> print(class_group.agg('min')) File "/conda/anaconda3/lib/python3.8/site-packages/pandas/core/groupby/generic.py", line 928, in aggregate result, how = self._aggregate(func, *args, **kwargs) File "/conda/anaconda3/lib/python3.8/site-packages/pandas/core/base.py", line 311, in _aggregate return self._try_aggregate_string_function(arg, *args, **kwargs), None File "/conda/anaconda3/lib/python3.8/site-packages/pandas/core/base.py", line 267, in _try_aggregate_string_function return f(*args, **kwargs) File "/conda/anaconda3/lib/python3.8/site-packages/pandas/core/groupby/groupby.py", line 1372, in f return self._cython_agg_general(alias, alt=npfunc, **kwargs) File "/conda/anaconda3/lib/python3.8/site-packages/pandas/core/groupby/generic.py", line 993, in _cython_agg_general agg_blocks, agg_items = self._cython_agg_blocks( File "/conda/anaconda3/lib/python3.8/site-packages/pandas/core/groupby/generic.py", line 1100, in _cython_agg_blocks assert len(locs) == result.shape[1] AssertionError """""""""""""""""""""""""""""""""""""""""""""" #### Expected Output #### Output of ``pd.show_versions()`` <details> * Windows INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.6.10.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.1.3 numpy : 1.18.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.0.2 setuptools : 46.4.0.post20200518 Cython : 0.29.21 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 1.2.8 lxml.etree : 4.5.1 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.13.0 pandas_datareader: None bs4 : 4.9.1 bottleneck : 1.3.2 fsspec : None fastparquet : None gcsfs : None matplotlib : 3.1.3 numexpr : None odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : None numba : 0.49.1 None * CentOS INSTALLED VERSIONS ------------------ commit : None python : 3.8.3.final.0 python-bits : 64 OS : Linux OS-release : 3.10.0-1062.12.1.el7.x86_64 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : ko_KR.UTF-8 LOCALE : ko_KR.UTF-8 pandas : 1.0.5 numpy : 1.18.5 pytz : 2020.1 dateutil : 2.8.1 pip : 20.1.1 setuptools : 49.2.0.post20200714 Cython : 0.29.21 pytest : 5.4.3 hypothesis : None sphinx : 3.1.2 blosc : None feather : None xlsxwriter : 1.2.9 lxml.etree : 4.5.2 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.16.1 pandas_datareader: None bs4 : 4.9.1 bottleneck : 1.3.2 fastparquet : None gcsfs : None lxml.etree : 4.5.2 matplotlib : 3.2.2 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.4 pandas_gbq : None pyarrow : None pytables : None pytest : 5.4.3 pyxlsb : None s3fs : None scipy : 1.5.0 sqlalchemy : 1.3.18 tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.2.9 numba : 0.50.1 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/38401/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38401/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38402
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38402/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38402/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38402/events
https://github.com/pandas-dev/pandas/issues/38402
761,219,071
MDU6SXNzdWU3NjEyMTkwNzE=
38,402
ENH: Naming inconsistency of functions like read_csv() and to_csv()
{ "avatar_url": "https://avatars.githubusercontent.com/u/29627036?v=4", "events_url": "https://api.github.com/users/aiwalter/events{/privacy}", "followers_url": "https://api.github.com/users/aiwalter/followers", "following_url": "https://api.github.com/users/aiwalter/following{/other_user}", "gists_url": "https://api.github.com/users/aiwalter/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aiwalter", "id": 29627036, "login": "aiwalter", "node_id": "MDQ6VXNlcjI5NjI3MDM2", "organizations_url": "https://api.github.com/users/aiwalter/orgs", "received_events_url": "https://api.github.com/users/aiwalter/received_events", "repos_url": "https://api.github.com/users/aiwalter/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aiwalter/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aiwalter/subscriptions", "type": "User", "url": "https://api.github.com/users/aiwalter" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "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
4
2020-12-10T12:57:24Z
2021-08-14T22:09:47Z
2021-08-14T22:09:47Z
NONE
null
#### Is your feature request related to a problem? Inconsistent naming of functions related to read and write data like `pd.read_csv()` and `to_csv()`. This is confusing for users because of the naming: **read vs. to** . For users who are new to pandas, those function names `read` and `to` are confusing and not consistent. #### Describe the solution you'd like Those functions should either be named `read() `and `write()` or `from()` and `to()`. My solution is to add a function `write()` like `write_csv()` that just wraps the existing `to()` function. Then the old way would still work. Another solutions is to add a `from()` function like `from_csv()`. #### API breaking implications We could have a depreciation warning on the `to()` functions or just keep it. #### Describe alternatives you've considered Keeping naming inconsistency. #### Additional context
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38402/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38402/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38403
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38403/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38403/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38403/events
https://github.com/pandas-dev/pandas/pull/38403
761,402,353
MDExOlB1bGxSZXF1ZXN0NTM2MDcyODI0
38,403
TST: Add test to ensure DF describe does not throw an error (#32409)
{ "avatar_url": "https://avatars.githubusercontent.com/u/25218389?v=4", "events_url": "https://api.github.com/users/luckyvs1/events{/privacy}", "followers_url": "https://api.github.com/users/luckyvs1/followers", "following_url": "https://api.github.com/users/luckyvs1/following{/other_user}", "gists_url": "https://api.github.com/users/luckyvs1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/luckyvs1", "id": 25218389, "login": "luckyvs1", "node_id": "MDQ6VXNlcjI1MjE4Mzg5", "organizations_url": "https://api.github.com/users/luckyvs1/orgs", "received_events_url": "https://api.github.com/users/luckyvs1/received_events", "repos_url": "https://api.github.com/users/luckyvs1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/luckyvs1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/luckyvs1/subscriptions", "type": "User", "url": "https://api.github.com/users/luckyvs1" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
5
2020-12-10T16:45:14Z
2021-01-20T18:57:36Z
2021-01-20T18:57:33Z
CONTRIBUTOR
null
- [x] closes #32409 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Notes: - Tested using `pytest pandas/tests/frame/methods/test_describe.py::TestDataFrameDescribe::test_describe_does_not_raise_error` and tested error format by calling a raise error line in the try block `raise TypeError("Test message")` - Re-created PR initial PR with rebase attempt in the following link: https://github.com/pandas-dev/pandas/pull/35270 -- but the diff didn't seem reasonable
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38403/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38403/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38403.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38403", "merged_at": "2021-01-20T18:57:32Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38403.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38403" }
https://api.github.com/repos/pandas-dev/pandas/issues/38404
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38404/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38404/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38404/events
https://github.com/pandas-dev/pandas/pull/38404
761,479,866
MDExOlB1bGxSZXF1ZXN0NTM2MTQwNDYx
38,404
REF: simplify casting
{ "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": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2020-12-10T18:10:42Z
2020-12-11T22:54:01Z
2020-12-11T22:47:03Z
MEMBER
null
This gets us down to only 3 usages of maybe_cast_to_datetime
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38404/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38404/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38404.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38404", "merged_at": "2020-12-11T22:47:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38404.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38404" }
https://api.github.com/repos/pandas-dev/pandas/issues/38405
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38405/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38405/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38405/events
https://github.com/pandas-dev/pandas/pull/38405
761,818,176
MDExOlB1bGxSZXF1ZXN0NTM2NDMwNTc1
38,405
BUG: Series/DataFrame construction from scalars
{ "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": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" }, { "color": "d4c5f9", "default": false, "description": "Series/DataFrame/Index/pd.array Constructors", "id": 1465286368, "name": "Constructors", "node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-11T02:44:24Z
2020-12-12T23:51:05Z
2020-12-12T23:23:56Z
MEMBER
null
- [x] closes #38032 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38405/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38405/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38405.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38405", "merged_at": "2020-12-12T23:23:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38405.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38405" }
https://api.github.com/repos/pandas-dev/pandas/issues/38406
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38406/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38406/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38406/events
https://github.com/pandas-dev/pandas/pull/38406
761,893,956
MDExOlB1bGxSZXF1ZXN0NTM2NDk4NDM5
38,406
BUG: DataFrame.to_markdown with an empty frame
{ "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": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" }, { "color": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-11T04:41:13Z
2020-12-12T23:28:09Z
2020-12-12T23:28:05Z
MEMBER
null
- [x] closes #31771 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Picking up #36233. Bumping the minimum version of tabulate as per https://github.com/pandas-dev/pandas/issues/31771#issuecomment-685401053
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38406/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38406/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38406.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38406", "merged_at": "2020-12-12T23:28:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38406.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38406" }
https://api.github.com/repos/pandas-dev/pandas/issues/38407
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38407/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38407/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38407/events
https://github.com/pandas-dev/pandas/pull/38407
761,904,911
MDExOlB1bGxSZXF1ZXN0NTM2NTA4NTg3
38,407
CLN: remove coerce_float keyword from construction.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": "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": "d4c5f9", "default": false, "description": "Series/DataFrame/Index/pd.array Constructors", "id": 1465286368, "name": "Constructors", "node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors" } ]
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-12-11T04:55:45Z
2020-12-12T23:52:23Z
2020-12-12T23:20:12Z
MEMBER
null
This sits on top of #38400
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38407/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38407/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38407.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38407", "merged_at": "2020-12-12T23:20:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38407.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38407" }
https://api.github.com/repos/pandas-dev/pandas/issues/38408
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38408/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38408/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38408/events
https://github.com/pandas-dev/pandas/pull/38408
761,948,593
MDExOlB1bGxSZXF1ZXN0NTM2NTQ2NDQ3
38,408
ENH: add end and end_day origin for resample
{ "avatar_url": "https://avatars.githubusercontent.com/u/41546976?v=4", "events_url": "https://api.github.com/users/GYHHAHA/events{/privacy}", "followers_url": "https://api.github.com/users/GYHHAHA/followers", "following_url": "https://api.github.com/users/GYHHAHA/following{/other_user}", "gists_url": "https://api.github.com/users/GYHHAHA/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/GYHHAHA", "id": 41546976, "login": "GYHHAHA", "node_id": "MDQ6VXNlcjQxNTQ2OTc2", "organizations_url": "https://api.github.com/users/GYHHAHA/orgs", "received_events_url": "https://api.github.com/users/GYHHAHA/received_events", "repos_url": "https://api.github.com/users/GYHHAHA/repos", "site_admin": false, "starred_url": "https://api.github.com/users/GYHHAHA/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/GYHHAHA/subscriptions", "type": "User", "url": "https://api.github.com/users/GYHHAHA" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "207de5", "default": false, "description": "resample method", "id": 74975453, "name": "Resample", "node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
7
2020-12-11T06:22:06Z
2020-12-22T14:07:34Z
2020-12-22T14:02:49Z
CONTRIBUTOR
null
- [x] closes #37804 - [x] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38408/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38408/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38408.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38408", "merged_at": "2020-12-22T14:02:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38408.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38408" }
https://api.github.com/repos/pandas-dev/pandas/issues/38409
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38409/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38409/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38409/events
https://github.com/pandas-dev/pandas/pull/38409
762,254,609
MDExOlB1bGxSZXF1ZXN0NTM2ODIwMjQy
38,409
Backport PR #38396 on branch 1.2.x (BUG: algos.rank with readonly values)
{ "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": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" } ]
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-12-11T11:22:57Z
2020-12-11T12:28:08Z
2020-12-11T12:28:08Z
NONE
null
Backport PR #38396: BUG: algos.rank with readonly 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/38409/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38409/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38409.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38409", "merged_at": "2020-12-11T12:28:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38409.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38409" }
https://api.github.com/repos/pandas-dev/pandas/issues/38410
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38410/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38410/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38410/events
https://github.com/pandas-dev/pandas/issues/38410
762,317,434
MDU6SXNzdWU3NjIzMTc0MzQ=
38,410
BUG: Cannot read XLSX files with xlrd version 2.0.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/1749072?v=4", "events_url": "https://api.github.com/users/keiv-fly/events{/privacy}", "followers_url": "https://api.github.com/users/keiv-fly/followers", "following_url": "https://api.github.com/users/keiv-fly/following{/other_user}", "gists_url": "https://api.github.com/users/keiv-fly/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/keiv-fly", "id": 1749072, "login": "keiv-fly", "node_id": "MDQ6VXNlcjE3NDkwNzI=", "organizations_url": "https://api.github.com/users/keiv-fly/orgs", "received_events_url": "https://api.github.com/users/keiv-fly/received_events", "repos_url": "https://api.github.com/users/keiv-fly/repos", "site_admin": false, "starred_url": "https://api.github.com/users/keiv-fly/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/keiv-fly/subscriptions", "type": "User", "url": "https://api.github.com/users/keiv-fly" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
6
2020-12-11T12:53:57Z
2021-03-01T11:26:18Z
2020-12-11T14:10:37Z
NONE
null
Code that fails with xlrd==2.0.0: `pd.read_excel("file.xlsx") ` raises the error: `XLRDError: Excel xlsx file; not supported` The documentation for xlrd==2.0.0 says that it does not support any other files other than "xls" xlrd updated their version today on 2020-12-11 ``` /local_disk0/.ephemeral_nfs/envs/pythonEnv-1e568db2-af63-4098-8ee9-a8375bd77616/lib/python3.7/site-packages/pandas/io/excel/_base.py in read_excel(io, sheet_name, header, names, index_col, usecols, squeeze, dtype, engine, converters, true_values, false_values, skiprows, nrows, na_values, keep_default_na, verbose, parse_dates, date_parser, thousands, comment, skipfooter, convert_float, mangle_dupe_cols, **kwds) 302 303 if not isinstance(io, ExcelFile): --> 304 io = ExcelFile(io, engine=engine) 305 elif engine and engine != io.engine: 306 raise ValueError( /local_disk0/.ephemeral_nfs/envs/pythonEnv-1e568db2-af63-4098-8ee9-a8375bd77616/lib/python3.7/site-packages/pandas/io/excel/_base.py in __init__(self, io, engine) 819 self._io = stringify_path(io) 820 --> 821 self._reader = self._engines[engine](self._io) 822 823 def __fspath__(self): /local_disk0/.ephemeral_nfs/envs/pythonEnv-1e568db2-af63-4098-8ee9-a8375bd77616/lib/python3.7/site-packages/pandas/io/excel/_xlrd.py in __init__(self, filepath_or_buffer) 19 err_msg = "Install xlrd >= 1.0.0 for Excel support" 20 import_optional_dependency("xlrd", extra=err_msg) ---> 21 super().__init__(filepath_or_buffer) 22 23 @property /local_disk0/.ephemeral_nfs/envs/pythonEnv-1e568db2-af63-4098-8ee9-a8375bd77616/lib/python3.7/site-packages/pandas/io/excel/_base.py in __init__(self, filepath_or_buffer) 351 self.book = self.load_workbook(filepath_or_buffer) 352 elif isinstance(filepath_or_buffer, str): --> 353 self.book = self.load_workbook(filepath_or_buffer) 354 elif isinstance(filepath_or_buffer, bytes): 355 self.book = self.load_workbook(BytesIO(filepath_or_buffer)) /local_disk0/.ephemeral_nfs/envs/pythonEnv-1e568db2-af63-4098-8ee9-a8375bd77616/lib/python3.7/site-packages/pandas/io/excel/_xlrd.py in load_workbook(self, filepath_or_buffer) 34 return open_workbook(file_contents=data) 35 else: ---> 36 return open_workbook(filepath_or_buffer) 37 38 @property /local_disk0/.ephemeral_nfs/envs/pythonEnv-1e568db2-af63-4098-8ee9-a8375bd77616/lib/python3.7/site-packages/xlrd/__init__.py in open_workbook(filename, logfile, verbosity, use_mmap, file_contents, encoding_override, formatting_info, on_demand, ragged_rows, ignore_workbook_corruption) 168 # files that xlrd can parse don't start with the expected signature. 169 if file_format and file_format != 'xls': --> 170 raise XLRDError(FILE_FORMAT_DESCRIPTIONS[file_format]+'; not supported') 171 172 bk = open_workbook_xls( XLRDError: Excel xlsx file; not supported ```
{ "+1": 2, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 2, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38410/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38410/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38411
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38411/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38411/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38411/events
https://github.com/pandas-dev/pandas/pull/38411
762,371,565
MDExOlB1bGxSZXF1ZXN0NTM2OTIxMjk1
38,411
REF: move __from_arrow__ to common base class for numeric masked arrays
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-11T14:04:06Z
2020-12-13T07:30:24Z
2020-12-12T22:54:06Z
MEMBER
null
xref https://github.com/pandas-dev/pandas/issues/38110
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38411/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38411/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38411.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38411", "merged_at": "2020-12-12T22:54:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38411.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38411" }
https://api.github.com/repos/pandas-dev/pandas/issues/38412
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38412/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38412/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38412/events
https://github.com/pandas-dev/pandas/pull/38412
762,441,346
MDExOlB1bGxSZXF1ZXN0NTM2OTgzMzgy
38,412
REF: move __array_ufunc__ to base NumericArray
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
5
2020-12-11T15:02:30Z
2021-01-13T13:59:37Z
2021-01-13T13:58:36Z
MEMBER
null
xref https://github.com/pandas-dev/pandas/issues/38110 The implementations for integer and float array is almost identical, so move to base class. In addition, this also enables that ufuncs on IntegerArray can return FloatingArray (instead of float numpy array) I should probably consolidate the tests as well, and move those to `tests/arrays/masked/test_ufunc.py` or so. In addition, `BooleanArray.__array_ufunc__` is actually also very similar, but didn't include that here, yet. I should probably do that, but wondering if I should move the common `__array_ufunc__` implementation to BaseMaskedArray, or rather make BooleanArray subclass NumericArray.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38412/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38412/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38412.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38412", "merged_at": "2021-01-13T13:58:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38412.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38412" }
https://api.github.com/repos/pandas-dev/pandas/issues/38413
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38413/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38413/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38413/events
https://github.com/pandas-dev/pandas/issues/38413
762,498,120
MDU6SXNzdWU3NjI0OTgxMjA=
38,413
ENH: better error message when trying to do improper aggregation on dataframe
{ "avatar_url": "https://avatars.githubusercontent.com/u/10482181?v=4", "events_url": "https://api.github.com/users/ecotner/events{/privacy}", "followers_url": "https://api.github.com/users/ecotner/followers", "following_url": "https://api.github.com/users/ecotner/following{/other_user}", "gists_url": "https://api.github.com/users/ecotner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ecotner", "id": 10482181, "login": "ecotner", "node_id": "MDQ6VXNlcjEwNDgyMTgx", "organizations_url": "https://api.github.com/users/ecotner/orgs", "received_events_url": "https://api.github.com/users/ecotner/received_events", "repos_url": "https://api.github.com/users/ecotner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ecotner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ecotner/subscriptions", "type": "User", "url": "https://api.github.com/users/ecotner" }
[ { "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": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "120491", "default": false, "description": "Identifying/Dropping nuisance columns in reductions, groupby.add, DataFrame.apply", "id": 2365523662, "name": "Nuisance Columns", "node_id": "MDU6TGFiZWwyMzY1NTIzNjYy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nuisance%20Columns" } ]
closed
false
null
[]
null
2
2020-12-11T15:42:23Z
2021-08-14T22:12:38Z
2021-08-14T22:12:38Z
NONE
null
#### Is your feature request related to a problem? I have an automated pipeline at work that does some data processing, and this morning I woke up to many notifications that the pipeline had failed. I checked the logs and the stack trace, and found that the script was throwing the exception `pandas.core.base.DataError: No numeric types to aggregate` when trying to take the mean of a column over a groupby. Due to this error message, I assumed that the problem was due to data being coerced to the wrong data type somewhere else, so I tried to hunt down the source of that. After being unable to find any error, I tried force-coercing the data to `float` type, but this still did not fix the issue. So I finally went to inspect the actual data in the dataframe, and it turns out it was empty! So there was no aggregation to be done. I think if the error message had been a bit more descriptive, I might have been able to identify the actual problem a bit quicker. #### Describe the solution you'd like I think it would be great if the error message could be a bit more informative. In the case I ran into, rather than saying that there are `No numeric types to aggregate`, perhaps it could have said something like `Unable to aggregate over empty DataFrame`. In other potential scenarios, like where the data types are actually not numeric, perhaps the error might also mention which column(s) (if you are aggregating multiple at the same time) is(are) causing the problem. Perhaps something like `No numeric types to aggregate in columns ['col1', 'col2', ...]` #### API breaking implications Don't think this will affect the API at all, just the error message. #### Describe alternatives you've considered I have added code to my pipeline to check for this edge case, which I suppose is an "alternative". #### Additional context This is the offending bit of code that was causing my error. `costs_df` ended up having zero rows when I pulled the data from one of my databases, so taking the mean over `cost_per_mile` threw the above exception. ```python costs_df.groupby(["organization_cd", "route_id"])["cost_per_mile"].mean() ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38413/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38413/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38414
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38414/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38414/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38414/events
https://github.com/pandas-dev/pandas/pull/38414
762,572,728
MDExOlB1bGxSZXF1ZXN0NTM3MTA0NDc0
38,414
TST: add messages to bare pytest raises
{ "avatar_url": "https://avatars.githubusercontent.com/u/25107902?v=4", "events_url": "https://api.github.com/users/marktgraham/events{/privacy}", "followers_url": "https://api.github.com/users/marktgraham/followers", "following_url": "https://api.github.com/users/marktgraham/following{/other_user}", "gists_url": "https://api.github.com/users/marktgraham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/marktgraham", "id": 25107902, "login": "marktgraham", "node_id": "MDQ6VXNlcjI1MTA3OTAy", "organizations_url": "https://api.github.com/users/marktgraham/orgs", "received_events_url": "https://api.github.com/users/marktgraham/received_events", "repos_url": "https://api.github.com/users/marktgraham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/marktgraham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/marktgraham/subscriptions", "type": "User", "url": "https://api.github.com/users/marktgraham" }
[ { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-11T16:24:17Z
2020-12-14T19:11:26Z
2020-12-14T19:11:21Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This PR adds messages to the bare pytest raises in pandas/tests/generic/methods/test_pipe.py and pandas/tests/reshape/merge/test_merge_asof.py. This PR references #30999.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38414/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38414/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38414.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38414", "merged_at": "2020-12-14T19:11:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38414.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38414" }
https://api.github.com/repos/pandas-dev/pandas/issues/38415
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38415/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38415/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38415/events
https://github.com/pandas-dev/pandas/issues/38415
762,732,111
MDU6SXNzdWU3NjI3MzIxMTE=
38,415
BUG: MultiIndex.__repr__ is broken when `display.max_seq_items` = 1
{ "avatar_url": "https://avatars.githubusercontent.com/u/11664259?v=4", "events_url": "https://api.github.com/users/galipremsagar/events{/privacy}", "followers_url": "https://api.github.com/users/galipremsagar/followers", "following_url": "https://api.github.com/users/galipremsagar/following{/other_user}", "gists_url": "https://api.github.com/users/galipremsagar/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/galipremsagar", "id": 11664259, "login": "galipremsagar", "node_id": "MDQ6VXNlcjExNjY0MjU5", "organizations_url": "https://api.github.com/users/galipremsagar/orgs", "received_events_url": "https://api.github.com/users/galipremsagar/received_events", "repos_url": "https://api.github.com/users/galipremsagar/repos", "site_admin": false, "starred_url": "https://api.github.com/users/galipremsagar/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/galipremsagar/subscriptions", "type": "User", "url": "https://api.github.com/users/galipremsagar" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "ededed", "default": false, "description": "__repr__ of pandas objects, to_string", "id": 13101118, "name": "Output-Formatting", "node_id": "MDU6TGFiZWwxMzEwMTExOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/23026514?v=4", "events_url": "https://api.github.com/users/skvrahul/events{/privacy}", "followers_url": "https://api.github.com/users/skvrahul/followers", "following_url": "https://api.github.com/users/skvrahul/following{/other_user}", "gists_url": "https://api.github.com/users/skvrahul/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/skvrahul", "id": 23026514, "login": "skvrahul", "node_id": "MDQ6VXNlcjIzMDI2NTE0", "organizations_url": "https://api.github.com/users/skvrahul/orgs", "received_events_url": "https://api.github.com/users/skvrahul/received_events", "repos_url": "https://api.github.com/users/skvrahul/repos", "site_admin": false, "starred_url": "https://api.github.com/users/skvrahul/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/skvrahul/subscriptions", "type": "User", "url": "https://api.github.com/users/skvrahul" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/23026514?v=4", "events_url": "https://api.github.com/users/skvrahul/events{/privacy}", "followers_url": "https://api.github.com/users/skvrahul/followers", "following_url": "https://api.github.com/users/skvrahul/following{/other_user}", "gists_url": "https://api.github.com/users/skvrahul/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/skvrahul", "id": 23026514, "login": "skvrahul", "node_id": "MDQ6VXNlcjIzMDI2NTE0", "organizations_url": "https://api.github.com/users/skvrahul/orgs", "received_events_url": "https://api.github.com/users/skvrahul/received_events", "repos_url": "https://api.github.com/users/skvrahul/repos", "site_admin": false, "starred_url": "https://api.github.com/users/skvrahul/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/skvrahul/subscriptions", "type": "User", "url": "https://api.github.com/users/skvrahul" } ]
{ "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-12-11T18:30:16Z
2020-12-28T18:38:47Z
2020-12-28T18:38:47Z
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 In[11]: pd.set_option("display.max_seq_items", 2) In[12]: pd.MultiIndex.from_tuples(tuples) Out[12]: MultiIndex([(1, 'red'), ... (2, 'blue')], length=40) In[13]: tuples = [(1, 'red'), (1, 'blue'), (2, 'red'), (2, 'blue')] In[14]: pd.MultiIndex.from_tuples(tuples) Out[14]: MultiIndex([(1, 'red'), ... (2, 'blue')], length=4) In[15]: pd.set_option("display.max_seq_items", 1) In[16]: pd.MultiIndex.from_tuples(tuples) Out[16]: MultiIndex([... (1, 'red'), (1, 'blue'), (2, 'red'), (2, 'blue')], length=4) ``` #### Problem description The output of `MultiIndex.__repr__` is dependent on `display.max_seq_items`, the output is correct for different values of `max_seq_items` except when it is set to 1. When it is set to 1, the entire records in MultiIndex are being printed and also `"..."` are being prepended to the data output. #### Expected Output ```python In[12]: pd.MultiIndex.from_tuples(tuples) Out[12]: MultiIndex([(1, 'red'), ...], length=40) ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : b5958ee1999e9aead1938c0bba2b674378807b3d python : 3.7.9.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-53-generic Version : #59-Ubuntu SMP Wed Oct 21 09:38:44 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.5 numpy : 1.19.4 pytz : 2020.4 dateutil : 2.8.1 pip : 20.3.1 setuptools : 49.6.0.post20201009 Cython : 0.29.21 pytest : 6.1.2 hypothesis : 5.43.3 sphinx : 3.3.1 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : 0.8.4 fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 1.0.1 pytables : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : 0.52.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38415/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38415/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38416
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38416/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38416/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38416/events
https://github.com/pandas-dev/pandas/pull/38416
762,788,742
MDExOlB1bGxSZXF1ZXN0NTM3MzAwNjUx
38,416
TYP: pandas/core/frame.py
{ "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": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
14
2020-12-11T19:20:59Z
2021-03-15T15:32:40Z
2021-03-15T15:32:28Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry I plan to do a pass through the whole file - putting it up in case anybody has feedback on what I have
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38416/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38416/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38416.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38416", "merged_at": "2021-03-15T15:32:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38416.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38416" }
https://api.github.com/repos/pandas-dev/pandas/issues/38417
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38417/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38417/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38417/events
https://github.com/pandas-dev/pandas/pull/38417
762,881,767
MDExOlB1bGxSZXF1ZXN0NTM3Mzg1MjAx
38,417
ENH: Add method argument to rolling constructor to allow table-wise rolling
{ "avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4", "events_url": "https://api.github.com/users/mroeschke/events{/privacy}", "followers_url": "https://api.github.com/users/mroeschke/followers", "following_url": "https://api.github.com/users/mroeschke/following{/other_user}", "gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mroeschke", "id": 10647082, "login": "mroeschke", "node_id": "MDQ6VXNlcjEwNjQ3MDgy", "organizations_url": "https://api.github.com/users/mroeschke/orgs", "received_events_url": "https://api.github.com/users/mroeschke/received_events", "repos_url": "https://api.github.com/users/mroeschke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions", "type": "User", "url": "https://api.github.com/users/mroeschke" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
8
2020-12-11T20:44:59Z
2020-12-27T23:38:35Z
2020-12-27T23:02:31Z
MEMBER
null
- [x] closes #15095 - [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/38417/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38417/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38417.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38417", "merged_at": "2020-12-27T23:02:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38417.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38417" }
https://api.github.com/repos/pandas-dev/pandas/issues/38418
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38418/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38418/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38418/events
https://github.com/pandas-dev/pandas/issues/38418
762,953,803
MDU6SXNzdWU3NjI5NTM4MDM=
38,418
PERF/QST: Pandas merge is an order of magnitude slower than map for joining a Series to a DataFrame on a column
{ "avatar_url": "https://avatars.githubusercontent.com/u/12672505?v=4", "events_url": "https://api.github.com/users/JosephHogg/events{/privacy}", "followers_url": "https://api.github.com/users/JosephHogg/followers", "following_url": "https://api.github.com/users/JosephHogg/following{/other_user}", "gists_url": "https://api.github.com/users/JosephHogg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/JosephHogg", "id": 12672505, "login": "JosephHogg", "node_id": "MDQ6VXNlcjEyNjcyNTA1", "organizations_url": "https://api.github.com/users/JosephHogg/orgs", "received_events_url": "https://api.github.com/users/JosephHogg/received_events", "repos_url": "https://api.github.com/users/JosephHogg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/JosephHogg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JosephHogg/subscriptions", "type": "User", "url": "https://api.github.com/users/JosephHogg" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "02d7e1", "default": 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" } ]
open
false
null
[]
null
2
2020-12-11T21:51:36Z
2021-08-14T22:13:47Z
null
NONE
null
Summary of situation: We have some large ```DataFrame``` and a ```Series``` with some additional data corresponding to particular groups in the ```DataFrame``` (for example, from some supplementary data source, the result of a ```groupby``` or just from some other computation regarding the groups). To make a toy example, here we have 5000 different groups and 1e6 rows: ``` df = pd.DataFrame({"group": [i for i in range(5000)]*200, "value": np.random.random(int(1e6))}) grp_data = pd.DataFrame({"group":[i for i in range(5000)], "grp_value":np.random.random(5000)}) ``` ``` df group value 0 0 0.760855 1 1 0.811482 2 2 0.115438 3 3 0.766736 4 4 0.651614 ... ... ... 999995 4995 0.679567 999996 4996 0.016641 999997 4997 0.159281 999998 4998 0.762351 999999 4999 0.352805 [1000000 rows x 2 columns] ``` ``` grp_data group grp_value 0 0 0.628370 1 1 0.457861 2 2 0.954026 3 3 0.509669 4 4 0.297275 ... ... ... 4995 4995 0.415900 4996 4996 0.511556 4997 4997 0.698350 4998 4998 0.905850 4999 4999 0.197737 [5000 rows x 2 columns] ``` Here are two methods for joining on the extra group data, one using ```merge``` and the other using ```map```. ``` tic = time.perf_counter() merge_df = df.merge(grp_data, on="group", how="left") print(str((time.perf_counter() - tic)*1000) + " milliseconds") ``` ``` 96.42482600065705 milliseconds ``` ``` tic = time.perf_counter() map_df = df.copy() map_df["grp_value"] = map_df.group.map(grp_data.set_index("group").grp_value) print(str((time.perf_counter() - tic)*1000) + " milliseconds") ``` ``` 16.401605999988078 milliseconds ``` Each produce the same DataFrame as desired with the ```grp_value```'s paired with their corresponding ```group``` for each row: ``` group value grp_value 0 0 0.760855 0.628370 1 1 0.811482 0.457861 2 2 0.115438 0.954026 3 3 0.766736 0.509669 4 4 0.651614 0.297275 ... ... ... ... 999995 4995 0.679567 0.415900 999996 4996 0.016641 0.511556 999997 4997 0.159281 0.698350 999998 4998 0.762351 0.905850 999999 4999 0.352805 0.197737 [1000000 rows x 3 columns] ``` But map is an order of magnitude faster for the same operation. With the actual DataFrame that I found this difference (which has more columns and is longer), the performance difference was even worse at 15x slower. From what I've read online, I only ever see merge suggested for this kind of thing and I find myself doing this kind of operation a lot. My question is twofold: 1) What is the natural way to combine data in the way described above using pandas? 2) Why is merge so much slower than map in this case? #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.7.6.final.0 python-bits : 64 OS : Linux OS-release : 5.4.49+ Version : #1 SMP Mon Nov 30 19:42:49 PST 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : C.UTF-8 LANG : C.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.3 numpy : 1.18.5 pytz : 2019.3 dateutil : 2.8.1 pip : 20.2.4 setuptools : 46.1.3.post20200325 Cython : 0.29.21 pytest : 5.4.1 hypothesis : 5.10.0 sphinx : 3.0.2 blosc : None feather : 0.4.1 xlsxwriter : 1.2.8 lxml.etree : 4.5.0 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.13.0 pandas_datareader: 0.9.0 bs4 : 4.9.0 bottleneck : 1.3.2 fsspec : 0.8.4 fastparquet : None gcsfs : 0.6.1 matplotlib : 3.2.1 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : 0.16.0 pytables : None pyxlsb : None s3fs : 0.5.1 scipy : 1.4.1 sqlalchemy : 1.3.16 tables : 3.6.1 tabulate : 0.8.7 xarray : 0.16.1 xlrd : 1.2.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/38418/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38418/timeline
null
null
null