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/38819
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38819/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38819/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38819/events
https://github.com/pandas-dev/pandas/pull/38819
776,528,924
MDExOlB1bGxSZXF1ZXN0NTQ3MDAyNDYz
38,819
REGR: read_excel does not work for most file handles
{ "avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4", "events_url": "https://api.github.com/users/twoertwein/events{/privacy}", "followers_url": "https://api.github.com/users/twoertwein/followers", "following_url": "https://api.github.com/users/twoertwein/following{/other_user}", "gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/twoertwein", "id": 6618166, "login": "twoertwein", "node_id": "MDQ6VXNlcjY2MTgxNjY=", "organizations_url": "https://api.github.com/users/twoertwein/orgs", "received_events_url": "https://api.github.com/users/twoertwein/received_events", "repos_url": "https://api.github.com/users/twoertwein/repos", "site_admin": false, "starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions", "type": "User", "url": "https://api.github.com/users/twoertwein" }
[ { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
closed
false
null
[]
{ "closed_at": "2021-01-20T19:40:18Z", "closed_issues": 138, "created_at": "2020-12-13T17:06:11Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-01-18T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/81", "id": 6207963, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels", "node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==", "number": 81, "open_issues": 0, "state": "closed", "title": "1.2.1", "updated_at": "2021-01-20T19:40:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81" }
3
2020-12-30T16:11:15Z
2020-12-31T16:24:45Z
2020-12-30T21:12:30Z
CONTRIBUTOR
null
- [x] closes #38788 - [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/38819/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38819/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38819.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38819", "merged_at": "2020-12-30T21:12:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38819.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38819" }
https://api.github.com/repos/pandas-dev/pandas/issues/38820
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38820/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38820/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38820/events
https://github.com/pandas-dev/pandas/pull/38820
776,532,209
MDExOlB1bGxSZXF1ZXN0NTQ3MDA0OTU3
38,820
CI,STYLE: GH38802 narrow down list of ignored words
{ "avatar_url": "https://avatars.githubusercontent.com/u/24590067?v=4", "events_url": "https://api.github.com/users/chinggg/events{/privacy}", "followers_url": "https://api.github.com/users/chinggg/followers", "following_url": "https://api.github.com/users/chinggg/following{/other_user}", "gists_url": "https://api.github.com/users/chinggg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chinggg", "id": 24590067, "login": "chinggg", "node_id": "MDQ6VXNlcjI0NTkwMDY3", "organizations_url": "https://api.github.com/users/chinggg/orgs", "received_events_url": "https://api.github.com/users/chinggg/received_events", "repos_url": "https://api.github.com/users/chinggg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chinggg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chinggg/subscriptions", "type": "User", "url": "https://api.github.com/users/chinggg" }
[ { "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
3
2020-12-30T16:18:54Z
2020-12-31T09:07:34Z
2020-12-31T09:07:34Z
CONTRIBUTOR
null
- [x] closes #38811 - [ ] 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/38820/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38820/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38820.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38820", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38820.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38820" }
https://api.github.com/repos/pandas-dev/pandas/issues/38821
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38821/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38821/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38821/events
https://github.com/pandas-dev/pandas/issues/38821
776,558,738
MDU6SXNzdWU3NzY1NTg3Mzg=
38,821
ENH: concat & merge: return True if left DataFrame is modified
{ "avatar_url": "https://avatars.githubusercontent.com/u/13206058?v=4", "events_url": "https://api.github.com/users/yohplala/events{/privacy}", "followers_url": "https://api.github.com/users/yohplala/followers", "following_url": "https://api.github.com/users/yohplala/following{/other_user}", "gists_url": "https://api.github.com/users/yohplala/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yohplala", "id": 13206058, "login": "yohplala", "node_id": "MDQ6VXNlcjEzMjA2MDU4", "organizations_url": "https://api.github.com/users/yohplala/orgs", "received_events_url": "https://api.github.com/users/yohplala/received_events", "repos_url": "https://api.github.com/users/yohplala/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yohplala/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yohplala/subscriptions", "type": "User", "url": "https://api.github.com/users/yohplala" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
3
2020-12-30T17:27:06Z
2020-12-30T19:36:53Z
2020-12-30T19:36:52Z
NONE
null
Hi, This ticket is to propose 2 changes: 1st change: make available `concat` as method of DataFrame (similar to `merge`) Concat could accept a list of DataFrame, similar to `pd.concat`. 2nd change: whichever `pandas.DataFrame.merge` or (newly implemented) `pandas.DataFrame.concat` - modify left DataFrame in place - return a boolean: - `True`if left DataFrame has actually been modified - `False`if left DataFrame has actually not been modified Such a feature would prevent the user to make a check `pandas.DataFrame.equals()` to know if the left DataFrame has been modified or not. Personnally, in my case, the left DataFrame can be a DataFrame I am just reading from a data file, and the right DataFrame, some 'new data' I am thinking it is new and needs to be merged/concatenated to the existing one. If my merge/concat processing do not result in any change, I will not overwrite the same DataFrame on disk (useless: it has not been modified) Could this be considered? Thanks for your help. Bests
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38821/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38821/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38822
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38822/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38822/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38822/events
https://github.com/pandas-dev/pandas/issues/38822
776,572,138
MDU6SXNzdWU3NzY1NzIxMzg=
38,822
CLN: Simplify inspect_excel_format
{ "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": "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": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" }, { "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": 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-30T18:01:36Z
2020-12-30T19:21:48Z
2020-12-30T19:21:27Z
MEMBER
null
The function `io.excel._base.inspect_excel_format` does not need to take two parameters `path` and `content` since either is passed to get_handle. It should instead take a single parameter, `path_or_buf`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38822/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38822/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38823
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38823/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38823/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38823/events
https://github.com/pandas-dev/pandas/issues/38823
776,572,455
MDU6SXNzdWU3NzY1NzI0NTU=
38,823
CLN: Simplify inspect_excel_format
{ "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": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" }, { "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4", "events_url": "https://api.github.com/users/lithomas1/events{/privacy}", "followers_url": "https://api.github.com/users/lithomas1/followers", "following_url": "https://api.github.com/users/lithomas1/following{/other_user}", "gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lithomas1", "id": 47963215, "login": "lithomas1", "node_id": "MDQ6VXNlcjQ3OTYzMjE1", "organizations_url": "https://api.github.com/users/lithomas1/orgs", "received_events_url": "https://api.github.com/users/lithomas1/received_events", "repos_url": "https://api.github.com/users/lithomas1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions", "type": "User", "url": "https://api.github.com/users/lithomas1" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4", "events_url": "https://api.github.com/users/lithomas1/events{/privacy}", "followers_url": "https://api.github.com/users/lithomas1/followers", "following_url": "https://api.github.com/users/lithomas1/following{/other_user}", "gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lithomas1", "id": 47963215, "login": "lithomas1", "node_id": "MDQ6VXNlcjQ3OTYzMjE1", "organizations_url": "https://api.github.com/users/lithomas1/orgs", "received_events_url": "https://api.github.com/users/lithomas1/received_events", "repos_url": "https://api.github.com/users/lithomas1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions", "type": "User", "url": "https://api.github.com/users/lithomas1" } ]
{ "closed_at": "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-30T18:02:22Z
2021-01-08T21:39:23Z
2021-01-08T21:39:23Z
MEMBER
null
ref: #38819 The function `io.excel._base.inspect_excel_format` does not need to take two parameters `path` and `content` since either is passed to get_handle. It should instead take a single parameter, `path_or_buf`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38823/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38823/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38824
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38824/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38824/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38824/events
https://github.com/pandas-dev/pandas/pull/38824
776,577,369
MDExOlB1bGxSZXF1ZXN0NTQ3MDQwNTUy
38,824
TST: add missing loc label indexing test
{ "avatar_url": "https://avatars.githubusercontent.com/u/71941335?v=4", "events_url": "https://api.github.com/users/vangorade/events{/privacy}", "followers_url": "https://api.github.com/users/vangorade/followers", "following_url": "https://api.github.com/users/vangorade/following{/other_user}", "gists_url": "https://api.github.com/users/vangorade/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vangorade", "id": 71941335, "login": "vangorade", "node_id": "MDQ6VXNlcjcxOTQxMzM1", "organizations_url": "https://api.github.com/users/vangorade/orgs", "received_events_url": "https://api.github.com/users/vangorade/received_events", "repos_url": "https://api.github.com/users/vangorade/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vangorade/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vangorade/subscriptions", "type": "User", "url": "https://api.github.com/users/vangorade" }
[ { "color": "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
[]
null
2
2020-12-30T18:15:28Z
2021-01-01T18:18:05Z
2021-01-01T18:16:37Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [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/38824/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38824/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38824.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38824", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38824.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38824" }
https://api.github.com/repos/pandas-dev/pandas/issues/38825
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38825/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38825/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38825/events
https://github.com/pandas-dev/pandas/pull/38825
776,578,703
MDExOlB1bGxSZXF1ZXN0NTQ3MDQxNTUw
38,825
TST: GH30999 Change all pytest.raises in pandas/tests/indexing to tm.external_error_raised
{ "avatar_url": "https://avatars.githubusercontent.com/u/1084147?v=4", "events_url": "https://api.github.com/users/moink/events{/privacy}", "followers_url": "https://api.github.com/users/moink/followers", "following_url": "https://api.github.com/users/moink/following{/other_user}", "gists_url": "https://api.github.com/users/moink/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/moink", "id": 1084147, "login": "moink", "node_id": "MDQ6VXNlcjEwODQxNDc=", "organizations_url": "https://api.github.com/users/moink/orgs", "received_events_url": "https://api.github.com/users/moink/received_events", "repos_url": "https://api.github.com/users/moink/repos", "site_admin": false, "starred_url": "https://api.github.com/users/moink/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/moink/subscriptions", "type": "User", "url": "https://api.github.com/users/moink" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "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" }
1
2020-12-30T18:18:50Z
2020-12-31T16:40:17Z
2020-12-31T16:40:14Z
MEMBER
null
Addresses xref #30999 for pandas/tests/indexing by changing three bare `pytest.raise` instances to `tm.external_error_raised` This is the last of the simpler PRs for #30999 - after that it gets more complex. - [ ] 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/38825/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38825/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38825.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38825", "merged_at": "2020-12-31T16:40:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38825.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38825" }
https://api.github.com/repos/pandas-dev/pandas/issues/38826
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38826/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38826/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38826/events
https://github.com/pandas-dev/pandas/pull/38826
776,582,108
MDExOlB1bGxSZXF1ZXN0NTQ3MDQ0MTAw
38,826
CLN: add typing to dtype arg in selection of files in core/arrays (GH38808)
{ "avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4", "events_url": "https://api.github.com/users/avinashpancham/events{/privacy}", "followers_url": "https://api.github.com/users/avinashpancham/followers", "following_url": "https://api.github.com/users/avinashpancham/following{/other_user}", "gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/avinashpancham", "id": 44933366, "login": "avinashpancham", "node_id": "MDQ6VXNlcjQ0OTMzMzY2", "organizations_url": "https://api.github.com/users/avinashpancham/orgs", "received_events_url": "https://api.github.com/users/avinashpancham/received_events", "repos_url": "https://api.github.com/users/avinashpancham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions", "type": "User", "url": "https://api.github.com/users/avinashpancham" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
2020-12-30T18:27:55Z
2020-12-31T03:08:33Z
2020-12-31T03:08:30Z
CONTRIBUTOR
null
Follow on PR for #38808 - [ ] 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/38826/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38826/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38826.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38826", "merged_at": "2020-12-31T03:08:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38826.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38826" }
https://api.github.com/repos/pandas-dev/pandas/issues/38827
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38827/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38827/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38827/events
https://github.com/pandas-dev/pandas/issues/38827
776,583,516
MDU6SXNzdWU3NzY1ODM1MTY=
38,827
ENH: Expanded display of dataframe, akin to postgres \x
{ "avatar_url": "https://avatars.githubusercontent.com/u/2800289?v=4", "events_url": "https://api.github.com/users/samzhang111/events{/privacy}", "followers_url": "https://api.github.com/users/samzhang111/followers", "following_url": "https://api.github.com/users/samzhang111/following{/other_user}", "gists_url": "https://api.github.com/users/samzhang111/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/samzhang111", "id": 2800289, "login": "samzhang111", "node_id": "MDQ6VXNlcjI4MDAyODk=", "organizations_url": "https://api.github.com/users/samzhang111/orgs", "received_events_url": "https://api.github.com/users/samzhang111/received_events", "repos_url": "https://api.github.com/users/samzhang111/repos", "site_admin": false, "starred_url": "https://api.github.com/users/samzhang111/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/samzhang111/subscriptions", "type": "User", "url": "https://api.github.com/users/samzhang111" }
[ { "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": "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
null
[]
null
4
2020-12-30T18:31:49Z
2021-08-14T22:57:13Z
2021-08-14T22:57:13Z
NONE
null
#### Is your feature request related to a problem? When viewing large dataframes in a terminal, it is often preferable to display the data in "expanded format" or "long format" (as opposed to "wide"), essentially the result of melting every column. This makes the entire dataframe less sensitive to the width of the terminal. #### Describe the solution you'd like Postgres handles this nicely with its expanded mode (see [-x or --expanded](https://www.postgresql.org/docs/current/app-psql.html)). To take a random postgres example, the following dataframe ``` id | time | humanize_time | value ----+-------+---------------------------------+------- 1 | 09:30 | Early Morning - (9.30 am) | 570 2 | 11:30 | Late Morning - (11.30 am) | 690 3 | 13:30 | Early Afternoon - (1.30pm) | 810 4 | 15:30 | Late Afternoon - (3.30 pm) | 930 (4 rows) ``` becomes printed as ``` -[ RECORD 1 ]-+--------------------------- id | 1 time | 09:30 humanize_time | Early Morning - (9.30 am) value | 570 -[ RECORD 2 ]-+--------------------------- id | 2 time | 11:30 humanize_time | Late Morning - (11.30 am) value | 690 -[ RECORD 3 ]-+--------------------------- id | 3 time | 13:30 humanize_time | Early Afternoon - (1.30pm) value | 810 -[ RECORD 4 ]-+--------------------------- id | 4 time | 15:30 humanize_time | Late Afternoon - (3.30 pm) value | 930 ``` #### API breaking implications I don't see there being any. #### Additional context My naive suggestion would be to place a global option that turns this on, such as ```python pd.set_option('display.expanded_mode', True) ``` Under the hood, this can be as simple as melting the dataframe, and printing each record out with a separator between them. However I am not familiar with the intricacies of the display logic and leave this here for others' consideration.
{ "+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/38827/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38827/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38828
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38828/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38828/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38828/events
https://github.com/pandas-dev/pandas/pull/38828
776,586,835
MDExOlB1bGxSZXF1ZXN0NTQ3MDQ3ODI3
38,828
Backport PR #38789 on branch 1.2.x (BUG: Fix precise_xstrtod segfault on long exponent)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2021-01-20T19:40:18Z", "closed_issues": 138, "created_at": "2020-12-13T17:06:11Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-01-18T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/81", "id": 6207963, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels", "node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==", "number": 81, "open_issues": 0, "state": "closed", "title": "1.2.1", "updated_at": "2021-01-20T19:40:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81" }
0
2020-12-30T18:41:31Z
2020-12-30T20:28:25Z
2020-12-30T20:28:25Z
NONE
null
Backport PR #38789: BUG: Fix precise_xstrtod segfault on long exponent
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38828/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38828/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38828.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38828", "merged_at": "2020-12-30T20:28:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38828.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38828" }
https://api.github.com/repos/pandas-dev/pandas/issues/38829
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38829/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38829/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38829/events
https://github.com/pandas-dev/pandas/pull/38829
776,612,123
MDExOlB1bGxSZXF1ZXN0NTQ3MDY3NDg2
38,829
Parametrized groupby allowlist test
{ "avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4", "events_url": "https://api.github.com/users/WillAyd/events{/privacy}", "followers_url": "https://api.github.com/users/WillAyd/followers", "following_url": "https://api.github.com/users/WillAyd/following{/other_user}", "gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/WillAyd", "id": 609873, "login": "WillAyd", "node_id": "MDQ6VXNlcjYwOTg3Mw==", "organizations_url": "https://api.github.com/users/WillAyd/orgs", "received_events_url": "https://api.github.com/users/WillAyd/received_events", "repos_url": "https://api.github.com/users/WillAyd/repos", "site_admin": false, "starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions", "type": "User", "url": "https://api.github.com/users/WillAyd" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
null
[]
{ "closed_at": "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-30T19:52:09Z
2020-12-31T01:48:56Z
2020-12-31T01:48:53Z
MEMBER
null
Still exploring a few things to remove setting the .data pointer in Cython - this test is liable to fail but very tough to debug with current loop @jbrockmendel
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38829/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38829/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38829.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38829", "merged_at": "2020-12-31T01:48:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38829.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38829" }
https://api.github.com/repos/pandas-dev/pandas/issues/38830
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38830/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38830/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38830/events
https://github.com/pandas-dev/pandas/issues/38830
776,613,924
MDU6SXNzdWU3NzY2MTM5MjQ=
38,830
BUG: Misaligned columns from read_csv on Ecobee CVS
{ "avatar_url": "https://avatars.githubusercontent.com/u/352067?v=4", "events_url": "https://api.github.com/users/inducer/events{/privacy}", "followers_url": "https://api.github.com/users/inducer/followers", "following_url": "https://api.github.com/users/inducer/following{/other_user}", "gists_url": "https://api.github.com/users/inducer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/inducer", "id": 352067, "login": "inducer", "node_id": "MDQ6VXNlcjM1MjA2Nw==", "organizations_url": "https://api.github.com/users/inducer/orgs", "received_events_url": "https://api.github.com/users/inducer/received_events", "repos_url": "https://api.github.com/users/inducer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/inducer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/inducer/subscriptions", "type": "User", "url": "https://api.github.com/users/inducer" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "5319e7", "default": false, "description": "read_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-30T19:57:34Z
2021-01-06T22:56:26Z
2021-01-06T22:56:26Z
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. --- #### Code Sample, a copy-pastable example ```python import pandas as pd df = pd.read_csv("pdbug.csv", comment="#") df.info() print(df) ``` with `pdbug.csv` being this: ```csv #,Thermostat,identifier,(REDACTED) #,Thermostat,name,Downstairs #,Start,date,2020-12-22 #,End,date,2020-12-30 Date,Time,System Setting,System Mode,Calendar Event,Program Mode,Cool Set Temp (F),Heat Set Temp (F),Current Temp (F),Current Humidity (%RH),Outdoor Temp (F),Wind Speed (km/h),Cool Stage 1 (sec),Heat Stage 1 (sec),Fan (sec),DM Offset,Thermostat Temperature (F),Thermostat Humidity (%RH),Study (F),Study2,Breakfast Nook (F),Breakfast Nook2 2020-12-22,02:55:00,heat,heatOff,,Sleep,85,61,67.4,40,30.8,0,0,0,0,,67.4,40,,,,, 2020-12-22,03:00:00,heat,heatOff,,Sleep,85,61,67.3,40,29.6,0,0,0,0,,67.3,40,,,,, 2020-12-22,03:05:00,heat,heatOff,,Sleep,85,61,67.2,40,29.6,0,0,0,180,,67.2,40,,,,, 2020-12-22,03:10:00,heat,heatOff,,Sleep,85,61,67.1,42,29.6,0,0,0,120,,67.1,42,,,,, 2020-12-22,03:15:00,heat,heatOff,,Sleep,85,61,67.1,40,29.6,0,0,0,0,,67.1,40,,,,, 2020-12-22,03:20:00,heat,heatOff,,Sleep,85,61,67,40,29.6,0,0,0,0,,67,40,,,,, 2020-12-22,03:25:00,heat,heatOff,,Sleep,85,61,67,40,29.6,0,0,0,0,,67,40,,,,, 2020-12-22,03:30:00,heat,heatOff,,Sleep,85,61,66.9,40,29,0,0,0,0,,66.9,40,,,,, ``` (a slight edit of a CSV file of HVAC system performance data downloaded from https://ecobee.com) gives ``` <class 'pandas.core.frame.DataFrame'> Index: 8 entries, 2020-12-22 to 2020-12-22 Data columns (total 22 columns): # Column Non-Null Count Dtype --- ------ -------------- ----- 0 Date 8 non-null object 1 Time 8 non-null object 2 System Setting 8 non-null object 3 System Mode 0 non-null float64 4 Calendar Event 8 non-null object 5 Program Mode 8 non-null int64 6 Cool Set Temp (F) 8 non-null int64 7 Heat Set Temp (F) 8 non-null float64 8 Current Temp (F) 8 non-null int64 9 Current Humidity (%RH) 8 non-null float64 10 Outdoor Temp (F) 8 non-null int64 11 Wind Speed (km/h) 8 non-null int64 12 Cool Stage 1 (sec) 8 non-null int64 13 Heat Stage 1 (sec) 8 non-null int64 14 Fan (sec) 0 non-null float64 15 DM Offset 8 non-null float64 16 Thermostat Temperature (F) 8 non-null int64 17 Thermostat Humidity (%RH) 0 non-null float64 18 Study (F) 0 non-null float64 19 Study2 0 non-null float64 20 Breakfast Nook (F) 0 non-null float64 21 Breakfast Nook2 0 non-null float64 dtypes: float64(10), int64(8), object(4) memory usage: 1.4+ KB Date Time System Setting System Mode Calendar Event Program Mode Cool Set Temp (F) Heat Set Temp (F) Current Temp (F) Current Humidity (%RH) Outdoor Temp (F) Wind Speed (km/h) Cool Stage 1 (sec) Heat Stage 1 (sec) Fan (sec) DM Offset Thermostat Temperature (F) Thermostat Humidity (%RH) Study (F) Study2 Breakfast Nook (F) Breakfast Nook2 2020-12-22 02:55:00 heat heatOff NaN Sleep 85 61 67.4 40 30.8 0 0 0 0 NaN 67.4 40 NaN NaN NaN NaN NaN 2020-12-22 03:00:00 heat heatOff NaN Sleep 85 61 67.3 40 29.6 0 0 0 0 NaN 67.3 40 NaN NaN NaN NaN NaN 2020-12-22 03:05:00 heat heatOff NaN Sleep 85 61 67.2 40 29.6 0 0 0 180 NaN 67.2 40 NaN NaN NaN NaN NaN 2020-12-22 03:10:00 heat heatOff NaN Sleep 85 61 67.1 42 29.6 0 0 0 120 NaN 67.1 42 NaN NaN NaN NaN NaN 2020-12-22 03:15:00 heat heatOff NaN Sleep 85 61 67.1 40 29.6 0 0 0 0 NaN 67.1 40 NaN NaN NaN NaN NaN 2020-12-22 03:20:00 heat heatOff NaN Sleep 85 61 67.0 40 29.6 0 0 0 0 NaN 67.0 40 NaN NaN NaN NaN NaN 2020-12-22 03:25:00 heat heatOff NaN Sleep 85 61 67.0 40 29.6 0 0 0 0 NaN 67.0 40 NaN NaN NaN NaN NaN 2020-12-22 03:30:00 heat heatOff NaN Sleep 85 61 66.9 40 29.0 0 0 0 0 NaN 66.9 40 NaN NaN NaN NaN NaN ``` #### Problem description Observe that the "Date" column absorbs both the date and time values provided, and that the "Time" column returend by read_csv contains data intended for the next column over ("System Setting"). The source CSV seems sane, but the `read_csv` output does not. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 3e89b4c4b1580aa890023fc550774e63d499da25 python : 3.9.1.final.0 python-bits : 64 OS : Linux OS-release : 5.9.0-5-amd64 Version : #1 SMP Debian 5.9.15-1 (2020-12-17) machine : x86_64 processor : byteorder : little LC_ALL : None LANG : de_DE.UTF-8 LOCALE : de_DE.UTF-8 pandas : 1.2.0 numpy : 1.19.4 pytz : 2020.4 dateutil : 2.8.1 pip : 20.3.1 setuptools : 44.0.0 Cython : 0.29.21 pytest : 6.2.0 hypothesis : None sphinx : 3.3.1 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : None pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 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/38830/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38830/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38831
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38831/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38831/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38831/events
https://github.com/pandas-dev/pandas/issues/38831
776,619,746
MDU6SXNzdWU3NzY2MTk3NDY=
38,831
BUG: frame_length_0[key] = nonempty_frame raises ValueError
{ "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-30T20:15:05Z
2021-01-06T00:35:38Z
2021-01-06T00:35:38Z
MEMBER
null
``` df = pd.DataFrame(columns=["A", "B"]) other = pd.DataFrame({"B": [1, 2]}) >>> df["B"] = other ValueError: Cannot set a frame with no defined index and a value that cannot be converted to a Series >>> df[["B"]] = other # <-- works as expected ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38831/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38831/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38832
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38832/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38832/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38832/events
https://github.com/pandas-dev/pandas/pull/38832
776,638,722
MDExOlB1bGxSZXF1ZXN0NTQ3MDg4OTcw
38,832
Backport PR #38819 on branch 1.2.x (REGR: read_excel does not work for most file handles)
{ "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": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
closed
false
null
[]
{ "closed_at": "2021-01-20T19:40:18Z", "closed_issues": 138, "created_at": "2020-12-13T17:06:11Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-01-18T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/81", "id": 6207963, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels", "node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==", "number": 81, "open_issues": 0, "state": "closed", "title": "1.2.1", "updated_at": "2021-01-20T19:40:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81" }
0
2020-12-30T21:12:57Z
2020-12-30T23:18:37Z
2020-12-30T23:18:37Z
NONE
null
Backport PR #38819: REGR: read_excel does not work for most file handles
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38832/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38832/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38832.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38832", "merged_at": "2020-12-30T23:18:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38832.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38832" }
https://api.github.com/repos/pandas-dev/pandas/issues/38833
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38833/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38833/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38833/events
https://github.com/pandas-dev/pandas/pull/38833
776,660,592
MDExOlB1bGxSZXF1ZXN0NTQ3MTA2ODEx
38,833
REF: move putmask internals in array_algos.putmask
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" } ]
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-30T22:25:53Z
2020-12-31T01:59:44Z
2020-12-31T01:49:08Z
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/38833/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38833/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38833.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38833", "merged_at": "2020-12-31T01:49:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38833.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38833" }
https://api.github.com/repos/pandas-dev/pandas/issues/38834
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38834/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38834/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38834/events
https://github.com/pandas-dev/pandas/pull/38834
776,665,611
MDExOlB1bGxSZXF1ZXN0NTQ3MTEwNzUy
38,834
BUG: IntervalIndex.intersection returning duplicates
{ "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": "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" }, { "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" }
3
2020-12-30T22:46:08Z
2021-01-01T21:33:37Z
2020-12-31T01:50:22Z
MEMBER
null
- [x] closes #38743 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Moved the wrong test code into a new test with adjusted behavior
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38834/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38834/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38834.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38834", "merged_at": "2020-12-31T01:50:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38834.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38834" }
https://api.github.com/repos/pandas-dev/pandas/issues/38835
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38835/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38835/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38835/events
https://github.com/pandas-dev/pandas/pull/38835
776,672,304
MDExOlB1bGxSZXF1ZXN0NTQ3MTE2MTA2
38,835
BUG: astype_nansafe with copy=False
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "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": "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" } ]
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-30T23:13:03Z
2020-12-31T01:57:55Z
2020-12-31T01:49:35Z
MEMBER
null
- [x] closes #34456 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Opens up possibility of addressing #23092
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38835/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38835/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38835.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38835", "merged_at": "2020-12-31T01:49:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38835.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38835" }
https://api.github.com/repos/pandas-dev/pandas/issues/38836
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38836/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38836/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38836/events
https://github.com/pandas-dev/pandas/pull/38836
776,675,115
MDExOlB1bGxSZXF1ZXN0NTQ3MTE4NDIw
38,836
DEPR: try_cast kwarg in mask, where
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "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" } ]
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-30T23:23:04Z
2020-12-31T15:56:06Z
2020-12-31T15:51:41Z
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 It is silently ignored ATM.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38836/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38836/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38836.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38836", "merged_at": "2020-12-31T15:51:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38836.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38836" }
https://api.github.com/repos/pandas-dev/pandas/issues/38837
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38837/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38837/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38837/events
https://github.com/pandas-dev/pandas/pull/38837
776,677,841
MDExOlB1bGxSZXF1ZXN0NTQ3MTIwNjE5
38,837
DOC: create shared includes for comparison docs, take II
{ "avatar_url": "https://avatars.githubusercontent.com/u/86842?v=4", "events_url": "https://api.github.com/users/afeld/events{/privacy}", "followers_url": "https://api.github.com/users/afeld/followers", "following_url": "https://api.github.com/users/afeld/following{/other_user}", "gists_url": "https://api.github.com/users/afeld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/afeld", "id": 86842, "login": "afeld", "node_id": "MDQ6VXNlcjg2ODQy", "organizations_url": "https://api.github.com/users/afeld/orgs", "received_events_url": "https://api.github.com/users/afeld/received_events", "repos_url": "https://api.github.com/users/afeld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/afeld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/afeld/subscriptions", "type": "User", "url": "https://api.github.com/users/afeld" }
[ { "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" }
6
2020-12-30T23:35:20Z
2021-01-03T19:39:32Z
2021-01-03T19:39:31Z
MEMBER
null
This is a duplicate of https://github.com/pandas-dev/pandas/pull/38771, but instead of defining `:tips:` in a `:suppress:` block, it attempts to tell flake8-rst to ignore those warnings. In other words, only one of these pull requests should be merged; the other can be closed. - [ ] ~~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/38837/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38837/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38837.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38837", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38837.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38837" }
https://api.github.com/repos/pandas-dev/pandas/issues/38838
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38838/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38838/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38838/events
https://github.com/pandas-dev/pandas/pull/38838
776,678,754
MDExOlB1bGxSZXF1ZXN0NTQ3MTIxMzAz
38,838
Backport PR #38816 on branch 1.2.x (REGR: groupby.sem with nuisance columns)
{ "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": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" } ]
closed
false
null
[]
{ "closed_at": "2021-01-20T19:40:18Z", "closed_issues": 138, "created_at": "2020-12-13T17:06:11Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-01-18T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/81", "id": 6207963, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels", "node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==", "number": 81, "open_issues": 0, "state": "closed", "title": "1.2.1", "updated_at": "2021-01-20T19:40:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81" }
0
2020-12-30T23:39:23Z
2020-12-31T03:02:41Z
2020-12-31T03:02:40Z
NONE
null
Backport PR #38816: REGR: groupby.sem with nuisance columns
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38838/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38838/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38838.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38838", "merged_at": "2020-12-31T03:02:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38838.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38838" }
https://api.github.com/repos/pandas-dev/pandas/issues/38839
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38839/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38839/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38839/events
https://github.com/pandas-dev/pandas/pull/38839
776,687,136
MDExOlB1bGxSZXF1ZXN0NTQ3MTI4MjA3
38,839
DOC: fix includes
{ "avatar_url": "https://avatars.githubusercontent.com/u/86842?v=4", "events_url": "https://api.github.com/users/afeld/events{/privacy}", "followers_url": "https://api.github.com/users/afeld/followers", "following_url": "https://api.github.com/users/afeld/following{/other_user}", "gists_url": "https://api.github.com/users/afeld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/afeld", "id": 86842, "login": "afeld", "node_id": "MDQ6VXNlcjg2ODQy", "organizations_url": "https://api.github.com/users/afeld/orgs", "received_events_url": "https://api.github.com/users/afeld/received_events", "repos_url": "https://api.github.com/users/afeld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/afeld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/afeld/subscriptions", "type": "User", "url": "https://api.github.com/users/afeld" }
[ { "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-31T00:10:27Z
2021-01-01T21:14:25Z
2020-12-31T16:39:16Z
MEMBER
null
- Added missing `.` to the `.. include`s - Put the includes in a folder to exclude from Sphinx, to avoid `:orphan:` being written to the HTML Before: <img width="1156" alt="Screen_Shot_2020-12-30_at_7_08_52_PM" src="https://user-images.githubusercontent.com/86842/103387595-99de4380-4ad2-11eb-85bf-8ac8da85676a.png"> After: <img width="1186" alt="Screen Shot 2020-12-30 at 7 07 41 PM" src="https://user-images.githubusercontent.com/86842/103387540-5f74a680-4ad2-11eb-992c-44de074462ff.png"> --- - [ ] ~~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/38839/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38839/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38839.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38839", "merged_at": "2020-12-31T16:39:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38839.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38839" }
https://api.github.com/repos/pandas-dev/pandas/issues/38840
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38840/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38840/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38840/events
https://github.com/pandas-dev/pandas/pull/38840
776,729,661
MDExOlB1bGxSZXF1ZXN0NTQ3MTY0OTk1
38,840
TYP: follow-ups to recent PRs
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "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-31T02:31:36Z
2020-12-31T19:10:02Z
2020-12-31T18:44: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/38840/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38840/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38840.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38840", "merged_at": "2020-12-31T18:44:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38840.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38840" }
https://api.github.com/repos/pandas-dev/pandas/issues/38841
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38841/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38841/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38841/events
https://github.com/pandas-dev/pandas/pull/38841
776,729,776
MDExOlB1bGxSZXF1ZXN0NTQ3MTY1MDkw
38,841
Update conf.py to execute imports during pdf building
{ "avatar_url": "https://avatars.githubusercontent.com/u/4179106?v=4", "events_url": "https://api.github.com/users/gepcel/events{/privacy}", "followers_url": "https://api.github.com/users/gepcel/followers", "following_url": "https://api.github.com/users/gepcel/following{/other_user}", "gists_url": "https://api.github.com/users/gepcel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gepcel", "id": 4179106, "login": "gepcel", "node_id": "MDQ6VXNlcjQxNzkxMDY=", "organizations_url": "https://api.github.com/users/gepcel/orgs", "received_events_url": "https://api.github.com/users/gepcel/received_events", "repos_url": "https://api.github.com/users/gepcel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gepcel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gepcel/subscriptions", "type": "User", "url": "https://api.github.com/users/gepcel" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-01-20T19:40:18Z", "closed_issues": 138, "created_at": "2020-12-13T17:06:11Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-01-18T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/81", "id": 6207963, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels", "node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==", "number": 81, "open_issues": 0, "state": "closed", "title": "1.2.1", "updated_at": "2021-01-20T19:40:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81" }
6
2020-12-31T02:32:07Z
2021-01-06T04:38:01Z
2021-01-05T12:57:09Z
CONTRIBUTOR
null
closes #38451 According [https://ipython.readthedocs.io/en/stable/sphinxext.html](), it should be `ipython_execlines` not `ipython_exec_lines`. Should close issue #38451
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38841/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38841/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38841.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38841", "merged_at": "2021-01-05T12:57:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38841.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38841" }
https://api.github.com/repos/pandas-dev/pandas/issues/38842
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38842/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38842/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38842/events
https://github.com/pandas-dev/pandas/issues/38842
776,736,327
MDU6SXNzdWU3NzY3MzYzMjc=
38,842
API/BUG: silently-ignored dtype in DataFrame constructor
{ "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": "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": "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
[]
null
1
2020-12-31T02:57:48Z
2020-12-31T15:36:58Z
2020-12-31T15:36:58Z
MEMBER
null
I would expect this to raise rather than silently ignore: ``` df = pd.DataFrame({"A": ["foo", "bar"]}, dtype="i8") >>> df A 0 foo 1 bar >>> df.dtypes A object dtype: object ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38842/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38842/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38843
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38843/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38843/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38843/events
https://github.com/pandas-dev/pandas/pull/38843
776,738,033
MDExOlB1bGxSZXF1ZXN0NTQ3MTcxNjg2
38,843
BUG: inconsistent concat casting EA vs non-EA
{ "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": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "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" }
8
2020-12-31T03:04:11Z
2021-01-05T22:14:19Z
2021-01-01T23:03:25Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Because we dont have 2D EAs, we end up passing axis=0 to concat_compat from internals.concat. As a result we drop empty arrays only when EAs are present. This leads to dtypes being preserved in EA cases while being cast to object in non-EA cases. One solution is just to support 2D EAs. But since I like the dropping-empties behavior better anyway, this is good 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/38843/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38843/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38843.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38843", "merged_at": "2021-01-01T23:03:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38843.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38843" }
https://api.github.com/repos/pandas-dev/pandas/issues/38844
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38844/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38844/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38844/events
https://github.com/pandas-dev/pandas/issues/38844
776,747,844
MDU6SXNzdWU3NzY3NDc4NDQ=
38,844
BUG: pandas.Series.round not yet implemented for FloatingArray
{ "avatar_url": "https://avatars.githubusercontent.com/u/2374371?v=4", "events_url": "https://api.github.com/users/klanderson/events{/privacy}", "followers_url": "https://api.github.com/users/klanderson/followers", "following_url": "https://api.github.com/users/klanderson/following{/other_user}", "gists_url": "https://api.github.com/users/klanderson/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/klanderson", "id": 2374371, "login": "klanderson", "node_id": "MDQ6VXNlcjIzNzQzNzE=", "organizations_url": "https://api.github.com/users/klanderson/orgs", "received_events_url": "https://api.github.com/users/klanderson/received_events", "repos_url": "https://api.github.com/users/klanderson/repos", "site_admin": false, "starred_url": "https://api.github.com/users/klanderson/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/klanderson/subscriptions", "type": "User", "url": "https://api.github.com/users/klanderson" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "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" }
4
2020-12-31T03:39:14Z
2021-08-04T18:38:14Z
2021-03-08T14:32:31Z
NONE
null
- [X ] I have checked that this issue has not already been reported. - [ X] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import pandas as pd df = pd.DataFrame([{'a':1.2},{'a':2.5}]) df = df.convert_dtypes() df['a'] = df['a'].round() ``` #### Problem description Getting an error when applying `round` to a Series with new FloatingArray. ```python import pandas as pd df = pd.DataFrame([{'a':1.2},{'a':2.5}]) df = df.convert_dtypes() df['a'] = df['a'].round() ``` The error message is: ``` File ".../lib/python3.8/site-packages/pandas/core/series.py", line 2183, in round result = self._values.round(decimals) AttributeError: 'FloatingArray' object has no attribute 'round' ``` #### Expected Output rounded floats #### Output of ``pd.show_versions()`` INSTALLED VERSIONS ------------------ commit : 3e89b4c4b1580aa890023fc550774e63d499da25 python : 3.8.5.final.0 python-bits : 64 OS : Darwin OS-release : 20.2.0 Version : Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.0 numpy : 1.19.4 pytz : 2020.4 dateutil : 2.8.1 pip : 20.3 setuptools : 50.3.2.post20201201 Cython : None pytest : 6.1.2 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : 0.8.4 fastparquet : None gcsfs : 0.7.1 matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : None sqlalchemy : 1.3.20 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/38844/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38844/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38845
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38845/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38845/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38845/events
https://github.com/pandas-dev/pandas/issues/38845
776,750,118
MDU6SXNzdWU3NzY3NTAxMTg=
38,845
BUG: DataFrame([listlikes]) different shape if first listlike is Categorical
{ "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": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" }, { "color": "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" }
13
2020-12-31T03:47:50Z
2021-05-21T16:46:34Z
2021-05-21T16:46:34Z
MEMBER
null
``` arrs = [np.arange(0, 40, 10), np.arange(0, 40, 10), np.arange(0, 40, 10)] arrs2 = arrs.copy() arrs2[0] = pd.Categorical(arrs2[0]) df = pd.DataFrame(arrs) df2 = pd.DataFrame(arrs2) df3 = pd.DataFrame(arrs2[::-1]) >>> df.shape (3, 4) >>> df2.shape (4, 3) >>> df3.shape (3, 4) ``` It's specific to Categorical, as we check `isinstance(data[0], Categorical)` in nested_data_to_arrays
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38845/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38845/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38846
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38846/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38846/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38846/events
https://github.com/pandas-dev/pandas/pull/38846
776,762,373
MDExOlB1bGxSZXF1ZXN0NTQ3MTkzMTM4
38,846
remove docs from packages
{ "avatar_url": "https://avatars.githubusercontent.com/u/7608904?v=4", "events_url": "https://api.github.com/users/jameslamb/events{/privacy}", "followers_url": "https://api.github.com/users/jameslamb/followers", "following_url": "https://api.github.com/users/jameslamb/following{/other_user}", "gists_url": "https://api.github.com/users/jameslamb/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jameslamb", "id": 7608904, "login": "jameslamb", "node_id": "MDQ6VXNlcjc2MDg5MDQ=", "organizations_url": "https://api.github.com/users/jameslamb/orgs", "received_events_url": "https://api.github.com/users/jameslamb/received_events", "repos_url": "https://api.github.com/users/jameslamb/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jameslamb/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jameslamb/subscriptions", "type": "User", "url": "https://api.github.com/users/jameslamb" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" }, { "color": "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" }
19
2020-12-31T04:15:58Z
2021-04-09T00:10:24Z
2021-04-09T00:04:51Z
CONTRIBUTOR
null
- ~closes #xxxx~ - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry #30741 discusses removing documentation and tests from package distributions. This is valuable because it makes `pandas` easier to use in storage-sensitive environments such as AWS Lambda (https://github.com/pandas-dev/pandas/issues/30741#issuecomment-638158062, https://github.com/pandas-dev/pandas/issues/30741#issuecomment-752751976). This PR does not close that issue, but it's a first step. This proposes removing the content of `doc/` from package distributions. This PR trims about 1MB (compressed) and 6MB (uncompressed) out of the `sdist` package. | | `master` | this PR | |:-----------------------:|:----------:|:--------:| | sdist (compressed) | 5.7M | 4.5M | | sdist (uncompressed) | 25M | 19M | <details><summary>how I checked these sizes</summary> ```shell rm -rf pandas.egg-info rm -rf dist/ rm -rf __pycache__ echo "" echo "building source distribution" echo "" python setup.py sdist > /dev/null cp pandas.egg-info/SOURCES.txt ~/PANDAS-SOURCES.txt pushd dist/ echo "" echo "sdist compressed size" echo "" du -a -h . tar -xf pandas*.tar.gz rm pandas*.tar.gz ls . echo "" echo "sdist uncompressed size" echo "" du -sh . popd ``` </details> To confirm that the documentation files were removed correctly by these changes, I ran the following ```shell python setup.py sdist cat pandas.egg-info/SOURCES.txt | grep -E "^doc" ``` Thanks for your time and consideration.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 2, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 2, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38846/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38846/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38846.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38846", "merged_at": "2021-04-09T00:04:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38846.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38846" }
https://api.github.com/repos/pandas-dev/pandas/issues/38847
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38847/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38847/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38847/events
https://github.com/pandas-dev/pandas/pull/38847
776,889,896
MDExOlB1bGxSZXF1ZXN0NTQ3MzAzODQ3
38,847
CI,STYLE: narrow down ignore-words-list of codespell
{ "avatar_url": "https://avatars.githubusercontent.com/u/24590067?v=4", "events_url": "https://api.github.com/users/chinggg/events{/privacy}", "followers_url": "https://api.github.com/users/chinggg/followers", "following_url": "https://api.github.com/users/chinggg/following{/other_user}", "gists_url": "https://api.github.com/users/chinggg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chinggg", "id": 24590067, "login": "chinggg", "node_id": "MDQ6VXNlcjI0NTkwMDY3", "organizations_url": "https://api.github.com/users/chinggg/orgs", "received_events_url": "https://api.github.com/users/chinggg/received_events", "repos_url": "https://api.github.com/users/chinggg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chinggg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chinggg/subscriptions", "type": "User", "url": "https://api.github.com/users/chinggg" }
[ { "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" }
5
2020-12-31T09:25:12Z
2021-01-04T01:13:47Z
2021-01-04T01:13:44Z
CONTRIBUTOR
null
- [x] xref #38820 - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry see Issue #38802, task4
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38847/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38847/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38847.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38847", "merged_at": "2021-01-04T01:13:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38847.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38847" }
https://api.github.com/repos/pandas-dev/pandas/issues/38848
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38848/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38848/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38848/events
https://github.com/pandas-dev/pandas/pull/38848
776,912,041
MDExOlB1bGxSZXF1ZXN0NTQ3MzIwNjM4
38,848
Backport PR #38806: DOC: fix sphinx directive error in 1.2.1 release notes
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-01-20T19:40:18Z", "closed_issues": 138, "created_at": "2020-12-13T17:06:11Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-01-18T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/81", "id": 6207963, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels", "node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==", "number": 81, "open_issues": 0, "state": "closed", "title": "1.2.1", "updated_at": "2021-01-20T19:40:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81" }
0
2020-12-31T10:35:30Z
2020-12-31T12:00:42Z
2020-12-31T12:00:36Z
MEMBER
null
Backport PR #38806
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38848/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38848/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38848.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38848", "merged_at": "2020-12-31T12:00:36Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38848.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38848" }
https://api.github.com/repos/pandas-dev/pandas/issues/38849
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38849/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38849/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38849/events
https://github.com/pandas-dev/pandas/pull/38849
776,941,947
MDExOlB1bGxSZXF1ZXN0NTQ3MzQzMzg2
38,849
TST: GH30999 address all bare pytest.raises in pandas/tests/arrays/boolean/test_arithmetic.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/1084147?v=4", "events_url": "https://api.github.com/users/moink/events{/privacy}", "followers_url": "https://api.github.com/users/moink/followers", "following_url": "https://api.github.com/users/moink/following{/other_user}", "gists_url": "https://api.github.com/users/moink/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/moink", "id": 1084147, "login": "moink", "node_id": "MDQ6VXNlcjEwODQxNDc=", "organizations_url": "https://api.github.com/users/moink/orgs", "received_events_url": "https://api.github.com/users/moink/received_events", "repos_url": "https://api.github.com/users/moink/repos", "site_admin": false, "starred_url": "https://api.github.com/users/moink/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/moink/subscriptions", "type": "User", "url": "https://api.github.com/users/moink" }
[ { "color": "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" }
0
2020-12-31T12:14:36Z
2021-01-01T00:03:54Z
2021-01-01T00:03:54Z
MEMBER
null
xref #30999 I thought I was done with the simple bare `pytest.raise` instances but I somehow missed this test module. Four instances, three fixed by adding `match` and one by using `tm.external_error_raised` because I believe the error comes from numpy. - [ ] 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/38849/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38849/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38849.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38849", "merged_at": "2021-01-01T00:03:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38849.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38849" }
https://api.github.com/repos/pandas-dev/pandas/issues/38850
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38850/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38850/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38850/events
https://github.com/pandas-dev/pandas/pull/38850
776,942,971
MDExOlB1bGxSZXF1ZXN0NTQ3MzQ0MjM2
38,850
DOC: sphinx error in 1.2.1 release notes
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-01-20T19:40:18Z", "closed_issues": 138, "created_at": "2020-12-13T17:06:11Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-01-18T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/81", "id": 6207963, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels", "node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==", "number": 81, "open_issues": 0, "state": "closed", "title": "1.2.1", "updated_at": "2021-01-20T19:40:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81" }
1
2020-12-31T12:17:45Z
2020-12-31T15:59:40Z
2020-12-31T15:49:30Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38850/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38850/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38850.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38850", "merged_at": "2020-12-31T15:49:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38850.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38850" }
https://api.github.com/repos/pandas-dev/pandas/issues/38851
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38851/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38851/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38851/events
https://github.com/pandas-dev/pandas/issues/38851
776,991,851
MDU6SXNzdWU3NzY5OTE4NTE=
38,851
REGR: fillna on datetime64[ns, UTC] column hits RecursionError
{ "avatar_url": "https://avatars.githubusercontent.com/u/210858?v=4", "events_url": "https://api.github.com/users/akrherz/events{/privacy}", "followers_url": "https://api.github.com/users/akrherz/followers", "following_url": "https://api.github.com/users/akrherz/following{/other_user}", "gists_url": "https://api.github.com/users/akrherz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/akrherz", "id": 210858, "login": "akrherz", "node_id": "MDQ6VXNlcjIxMDg1OA==", "organizations_url": "https://api.github.com/users/akrherz/orgs", "received_events_url": "https://api.github.com/users/akrherz/received_events", "repos_url": "https://api.github.com/users/akrherz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/akrherz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/akrherz/subscriptions", "type": "User", "url": "https://api.github.com/users/akrherz" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, 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" }, { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" }, { "color": "5319e7", "default": false, "description": "Timezone data dtype", "id": 60458168, "name": "Timezones", "node_id": "MDU6TGFiZWw2MDQ1ODE2OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones" } ]
closed
false
null
[]
{ "closed_at": "2021-01-20T19:40:18Z", "closed_issues": 138, "created_at": "2020-12-13T17:06:11Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-01-18T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/81", "id": 6207963, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels", "node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==", "number": 81, "open_issues": 0, "state": "closed", "title": "1.2.1", "updated_at": "2021-01-20T19:40:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81" }
6
2020-12-31T13:34:39Z
2021-01-16T01:09:21Z
2021-01-16T01:09:21Z
NONE
null
#### Code Sample ```python from datetime import datetime, timezone import pandas as pd df = pd.DataFrame(range(31)) df["dt"] = pd.date_range("2020/12/01", "2020/12/31", tz="UTC") df["dt"].iloc[5] = pd.NaT df["dt"] = df["dt"].fillna(datetime(1980, 1, 1, tzinfo=timezone.utc)) ``` #### Problem description pandas 1.2.0 is throwing a RecursionError while attempting to `fillna` on a `datetime64[ns, UTC]` column. Same code worked in prior releases. ``` raceback (most recent call last): File "recursion.py", line 7, in <module> df["dt"] = df["dt"].fillna(utc(1980, 1, 1, tzinfo=timezone.utc)) File "/opt/miniconda3/envs/prod/lib/python3.8/site-packages/pandas/core/series.py", line 4433, in fillna return super().fillna( File "/opt/miniconda3/envs/prod/lib/python3.8/site-packages/pandas/core/generic.py", line 6403, in fillna new_data = self._mgr.fillna( File "/opt/miniconda3/envs/prod/lib/python3.8/site-packages/pandas/core/internals/managers.py", line 621, in fillna return self.apply( File "/opt/miniconda3/envs/prod/lib/python3.8/site-packages/pandas/core/internals/managers.py", line 427, in apply applied = getattr(b, f)(**kwargs) File "/opt/miniconda3/envs/prod/lib/python3.8/site-packages/pandas/core/internals/blocks.py", line 461, in fillna return self.split_and_operate(None, f, inplace) File "/opt/miniconda3/envs/prod/lib/python3.8/site-packages/pandas/core/internals/blocks.py", line 516, in split_and_operate nv = f(mask, new_values, None) File "/opt/miniconda3/envs/prod/lib/python3.8/site-packages/pandas/core/internals/blocks.py", line 459, in f return block.fillna(value, limit=limit, inplace=inplace, downcast=None) File "/opt/miniconda3/envs/prod/lib/python3.8/site-packages/pandas/core/internals/blocks.py", line 461, in fillna return self.split_and_operate(None, f, inplace) File "/opt/miniconda3/envs/prod/lib/python3.8/site-packages/pandas/core/internals/blocks.py", line 516, in split_and_operate nv = f(mask, new_values, None) File "/opt/miniconda3/envs/prod/lib/python3.8/site-packages/pandas/core/internals/blocks.py", line 459, in f return block.fillna(value, limit=limit, inplace=inplace, downcast=None) ...snipped... File "/opt/miniconda3/envs/prod/lib/python3.8/site-packages/pandas/core/internals/blocks.py", line 441, in fillna if self._can_hold_element(value): File "/opt/miniconda3/envs/prod/lib/python3.8/site-packages/pandas/core/internals/blocks.py", line 2267, in _can_hold_element tipo = maybe_infer_dtype_type(element) File "/opt/miniconda3/envs/prod/lib/python3.8/site-packages/pandas/core/dtypes/cast.py", line 924, in maybe_infer_dtype_type elif is_list_like(element): File "pandas/_libs/lib.pyx", line 1033, in pandas._libs.lib.is_list_like File "pandas/_libs/lib.pyx", line 1038, in pandas._libs.lib.c_is_list_like File "/opt/miniconda3/envs/prod/lib/python3.8/abc.py", line 98, in __instancecheck__ return _abc_instancecheck(cls, instance) RecursionError: maximum recursion depth exceeded in comparison ``` #### Expected Output #### Output of ``pd.show_versions()`` <details> pd.show_versions() /opt/miniconda3/envs/prod/lib/python3.8/site-packages/_distutils_hack/__init__.py:30: UserWarning: Setuptools is replacing distutils. warnings.warn("Setuptools is replacing distutils.") INSTALLED VERSIONS ------------------ commit : 3e89b4c4b1580aa890023fc550774e63d499da25 python : 3.8.6.final.0 python-bits : 64 OS : Linux OS-release : 4.18.0-240.8.1.el8_3.x86_64 Version : #1 SMP Fri Dec 4 12:24:03 EST 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.2.0 numpy : 1.19.4 pytz : 2020.5 dateutil : 2.8.1 pip : 20.3.3 setuptools : 50.0.0.post20200830 Cython : 0.29.21 pytest : 6.2.1 hypothesis : None sphinx : 3.4.1 blosc : None feather : None xlsxwriter : 1.3.7 lxml.etree : 4.6.2 html5lib : 1.1 pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : 0.8.5 fastparquet : None gcsfs : None matplotlib : 3.3.3 numexpr : None odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.5.3 sqlalchemy : 1.3.22 tables : None tabulate : None xarray : 0.16.2 xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.52.0 </details> Thank you.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38851/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38851/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38852
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38852/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38852/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38852/events
https://github.com/pandas-dev/pandas/pull/38852
777,063,087
MDExOlB1bGxSZXF1ZXN0NTQ3NDUwOTI2
38,852
BLD: move metadata to setup.cfg
{ "avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4", "events_url": "https://api.github.com/users/fangchenli/events{/privacy}", "followers_url": "https://api.github.com/users/fangchenli/followers", "following_url": "https://api.github.com/users/fangchenli/following{/other_user}", "gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fangchenli", "id": 7614606, "login": "fangchenli", "node_id": "MDQ6VXNlcjc2MTQ2MDY=", "organizations_url": "https://api.github.com/users/fangchenli/orgs", "received_events_url": "https://api.github.com/users/fangchenli/received_events", "repos_url": "https://api.github.com/users/fangchenli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions", "type": "User", "url": "https://api.github.com/users/fangchenli" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" } ]
closed
false
null
[]
{ "closed_at": "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" }
32
2020-12-31T15:28:54Z
2021-06-12T15:40:36Z
2021-02-16T09:51:44Z
MEMBER
null
move metadata to setup.cfg to separate them from build logic.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38852/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38852/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38852.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38852", "merged_at": "2021-02-16T09:51:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38852.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38852" }
https://api.github.com/repos/pandas-dev/pandas/issues/38853
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38853/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38853/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38853/events
https://github.com/pandas-dev/pandas/pull/38853
777,069,262
MDExOlB1bGxSZXF1ZXN0NTQ3NDU1NjY2
38,853
Backport PR #38850 on branch 1.2.x (DOC: sphinx error in 1.2.1 release notes)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-01-20T19:40:18Z", "closed_issues": 138, "created_at": "2020-12-13T17:06:11Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-01-18T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/81", "id": 6207963, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels", "node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==", "number": 81, "open_issues": 0, "state": "closed", "title": "1.2.1", "updated_at": "2021-01-20T19:40:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81" }
0
2020-12-31T15:51:36Z
2020-12-31T17:19:33Z
2020-12-31T17:19:33Z
NONE
null
Backport PR #38850: DOC: sphinx error in 1.2.1 release notes
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38853/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38853/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38853.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38853", "merged_at": "2020-12-31T17:19:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38853.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38853" }
https://api.github.com/repos/pandas-dev/pandas/issues/38854
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38854/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38854/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38854/events
https://github.com/pandas-dev/pandas/pull/38854
777,071,117
MDExOlB1bGxSZXF1ZXN0NTQ3NDU3MDI1
38,854
Fix broken link in docs of DataFrame.to_hdf
{ "avatar_url": "https://avatars.githubusercontent.com/u/4403130?v=4", "events_url": "https://api.github.com/users/felixdivo/events{/privacy}", "followers_url": "https://api.github.com/users/felixdivo/followers", "following_url": "https://api.github.com/users/felixdivo/following{/other_user}", "gists_url": "https://api.github.com/users/felixdivo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/felixdivo", "id": 4403130, "login": "felixdivo", "node_id": "MDQ6VXNlcjQ0MDMxMzA=", "organizations_url": "https://api.github.com/users/felixdivo/orgs", "received_events_url": "https://api.github.com/users/felixdivo/received_events", "repos_url": "https://api.github.com/users/felixdivo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/felixdivo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/felixdivo/subscriptions", "type": "User", "url": "https://api.github.com/users/felixdivo" }
[ { "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-31T15:58:31Z
2021-01-01T12:14:28Z
2020-12-31T18:48:28Z
CONTRIBUTOR
null
The link in https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_hdf.html in "See also" seems to be broken. This should fix it. - [ ] 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/38854/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38854/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38854.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38854", "merged_at": "2020-12-31T18:48:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38854.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38854" }
https://api.github.com/repos/pandas-dev/pandas/issues/38855
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38855/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38855/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38855/events
https://github.com/pandas-dev/pandas/pull/38855
777,072,644
MDExOlB1bGxSZXF1ZXN0NTQ3NDU4MTYz
38,855
TST: GH30999 address all bare pytest.raises in pandas/tests/series and add EMPTY_STRING_PATTERN to tm
{ "avatar_url": "https://avatars.githubusercontent.com/u/1084147?v=4", "events_url": "https://api.github.com/users/moink/events{/privacy}", "followers_url": "https://api.github.com/users/moink/followers", "following_url": "https://api.github.com/users/moink/following{/other_user}", "gists_url": "https://api.github.com/users/moink/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/moink", "id": 1084147, "login": "moink", "node_id": "MDQ6VXNlcjEwODQxNDc=", "organizations_url": "https://api.github.com/users/moink/orgs", "received_events_url": "https://api.github.com/users/moink/received_events", "repos_url": "https://api.github.com/users/moink/repos", "site_admin": false, "starred_url": "https://api.github.com/users/moink/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/moink/subscriptions", "type": "User", "url": "https://api.github.com/users/moink" }
[ { "color": "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" }
1
2020-12-31T16:04:09Z
2020-12-31T18:47:41Z
2020-12-31T18:47:38Z
MEMBER
null
This PR is to address xref #30999 in pandas/tests/series Three of the four errors raised within `pytest.raises` were for `NotImplementedError` with the empty string as the error message. Rather than individually making a regular expression for the empty string, I added one as a constant to `pandas/_testing/__init__.py` . There are two more similar cases in other modules so I wanted to put it somewhere that all the testing modules import. But if you don't like it I can revert it and instead use an individual empty string pattern in each case. - [ ] 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/38855/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38855/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38855.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38855", "merged_at": "2020-12-31T18:47:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38855.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38855" }
https://api.github.com/repos/pandas-dev/pandas/issues/38856
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38856/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38856/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38856/events
https://github.com/pandas-dev/pandas/issues/38856
777,081,590
MDU6SXNzdWU3NzcwODE1OTA=
38,856
BUG: Groupby + Fillna loses the group
{ "avatar_url": "https://avatars.githubusercontent.com/u/8282510?v=4", "events_url": "https://api.github.com/users/randomgambit/events{/privacy}", "followers_url": "https://api.github.com/users/randomgambit/followers", "following_url": "https://api.github.com/users/randomgambit/following{/other_user}", "gists_url": "https://api.github.com/users/randomgambit/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/randomgambit", "id": 8282510, "login": "randomgambit", "node_id": "MDQ6VXNlcjgyODI1MTA=", "organizations_url": "https://api.github.com/users/randomgambit/orgs", "received_events_url": "https://api.github.com/users/randomgambit/received_events", "repos_url": "https://api.github.com/users/randomgambit/repos", "site_admin": false, "starred_url": "https://api.github.com/users/randomgambit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/randomgambit/subscriptions", "type": "User", "url": "https://api.github.com/users/randomgambit" }
[ { "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": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" } ]
closed
false
null
[]
{ "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" }
4
2020-12-31T16:39:55Z
2021-01-01T00:00:55Z
2021-01-01T00:00:55Z
NONE
null
Hello there and happy new year! Perhaps one of the last bugs of 2020... Please consider this example where I fill forward missing values by groups. ``` pd.__version__ Out[33]: '1.2.0' df = pd.DataFrame({'group' : ['a','a','a','b','b'], 'time' : [pd.to_datetime('2020-01-01 10:00:00'), pd.to_datetime('2020-01-01 10:00:01'), pd.to_datetime('2020-01-01 10:00:02'), pd.to_datetime('2020-01-01 10:00:00'), pd.to_datetime('2020-01-01 10:00:01')], 'values' : [np.NaN,2,np.NaN,1,np.NaN]}) df.set_index('time', inplace = True) df Out[32]: group values time 2020-01-01 10:00:00 a NaN 2020-01-01 10:00:01 a 2.00000000 2020-01-01 10:00:02 a NaN 2020-01-01 10:00:00 b 1.00000000 2020-01-01 10:00:01 b NaN ``` The folllowing used to work but now it loses the `group` var entirely! ``` df.groupby('group').fillna(method = 'ffill') Out[34]: values time 2020-01-01 10:00:00 NaN 2020-01-01 10:00:01 2.00000000 2020-01-01 10:00:02 2.00000000 2020-01-01 10:00:00 1.00000000 2020-01-01 10:00:01 1.00000000 ``` ``` df.groupby('group', as_index = False).fillna(method = 'ffill') Out[35]: values time 2020-01-01 10:00:00 NaN 2020-01-01 10:00:01 2.00000000 2020-01-01 10:00:02 2.00000000 2020-01-01 10:00:00 1.00000000 2020-01-01 10:00:01 1.00000000 ``` Is this the expected behavior? I can still use `apply` as a workaround ``` df.groupby('group').apply(lambda x: x.fillna(method = 'ffill')) Out[36]: group values time 2020-01-01 10:00:00 a NaN 2020-01-01 10:00:01 a 2.00000000 2020-01-01 10:00:02 a 2.00000000 2020-01-01 10:00:00 b 1.00000000 2020-01-01 10:00:01 b 1.00000000 ``` Thanks!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38856/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38856/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38857
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38857/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38857/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38857/events
https://github.com/pandas-dev/pandas/pull/38857
777,086,682
MDExOlB1bGxSZXF1ZXN0NTQ3NDY5MDky
38,857
BUG: DataFrame(ndarray, dtype=categoricaldtype)
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" }, { "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" }
2
2020-12-31T17:01:44Z
2021-01-02T02:17:50Z
2021-01-02T02:00:55Z
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/38857/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38857/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38857.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38857", "merged_at": "2021-01-02T02:00:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38857.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38857" }
https://api.github.com/repos/pandas-dev/pandas/issues/38858
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38858/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38858/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38858/events
https://github.com/pandas-dev/pandas/pull/38858
777,092,947
MDExOlB1bGxSZXF1ZXN0NTQ3NDczNzg0
38,858
DOC/CI: Fix building docs with --no-api
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2020-12-31T17:28:16Z
2021-01-13T15:03:03Z
2021-01-13T14:30:21Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Fixes running docs via python make.py --no-api A few notes: - The removed check `if os.path.exists(path):`; will incorrectly raise if docs are being rebuilt. - The value `dirname` returned by `os.walk` is an absolute path, but the check was treating it as relative. - If docs are built with api and then rebuilt with --no-api, we want to exclude everything in the `reference` directory; in particular `reference/api`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38858/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38858/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38858.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38858", "merged_at": "2021-01-13T14:30:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38858.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38858" }
https://api.github.com/repos/pandas-dev/pandas/issues/38859
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38859/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38859/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38859/events
https://github.com/pandas-dev/pandas/issues/38859
777,095,163
MDU6SXNzdWU3NzcwOTUxNjM=
38,859
ENH: Implement '_period_dtype_code' attribute to 'pandas._libs.tslibs.offsets.MonthBegin'
{ "avatar_url": "https://avatars.githubusercontent.com/u/13206058?v=4", "events_url": "https://api.github.com/users/yohplala/events{/privacy}", "followers_url": "https://api.github.com/users/yohplala/followers", "following_url": "https://api.github.com/users/yohplala/following{/other_user}", "gists_url": "https://api.github.com/users/yohplala/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/yohplala", "id": 13206058, "login": "yohplala", "node_id": "MDQ6VXNlcjEzMjA2MDU4", "organizations_url": "https://api.github.com/users/yohplala/orgs", "received_events_url": "https://api.github.com/users/yohplala/received_events", "repos_url": "https://api.github.com/users/yohplala/repos", "site_admin": false, "starred_url": "https://api.github.com/users/yohplala/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/yohplala/subscriptions", "type": "User", "url": "https://api.github.com/users/yohplala" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
open
false
null
[]
null
6
2020-12-31T17:37:55Z
2021-08-14T22:57:49Z
null
NONE
null
Code... ```python index_offsets = pd.tseries.frequencies.to_offset('1MS') time_marker = pd.Timestamp('2020/01/02 1:59') period = pd.Period(time_marker, freq = index_offsets.freqstr) ``` ... raises following error message: ```python Traceback (most recent call last): File "pandas/_libs/tslibs/period.pyx", line 2436, in pandas._libs.tslibs.period.freq_to_dtype_code AttributeError: 'pandas._libs.tslibs.offsets.MonthBegin' object has no attribute '_period_dtype_code' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "<ipython-input-63-c78e6c74b47c>", line 1, in <module> period = pd.Period(time_marker, freq = index_offsets.freqstr) File "pandas/_libs/tslibs/period.pyx", line 2422, in pandas._libs.tslibs.period.Period.__new__ File "pandas/_libs/tslibs/period.pyx", line 2438, in pandas._libs.tslibs.period.freq_to_dtype_code ValueError: Invalid frequency: {0} ``` Please, could an appropriate '_period_dtype_code' attribute be provided to 'pandas._libs.tslibs.offsets.MonthBegin' object to solve this error? Thanks for your amazing lib! ```python INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-58-generic Version : #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : fr_FR.UTF-8 LOCALE : fr_FR.UTF-8 pandas : 1.1.3 numpy : 1.19.2 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.4 setuptools : 50.3.1.post20201107 Cython : 0.29.21 pytest : 6.1.1 hypothesis : None sphinx : 3.2.1 blosc : None feather : None xlsxwriter : 1.3.7 lxml.etree : 4.6.1 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 0.8.3 fastparquet : 0.4.2 gcsfs : None matplotlib : 3.3.2 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : 1.3.20 tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.51.2 ``` Not building from sources (using anaconda)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38859/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38859/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38860
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38860/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38860/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38860/events
https://github.com/pandas-dev/pandas/issues/38860
777,097,357
MDU6SXNzdWU3NzcwOTczNTc=
38,860
TYP: add RandomState alias
{ "avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4", "events_url": "https://api.github.com/users/erfannariman/events{/privacy}", "followers_url": "https://api.github.com/users/erfannariman/followers", "following_url": "https://api.github.com/users/erfannariman/following{/other_user}", "gists_url": "https://api.github.com/users/erfannariman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/erfannariman", "id": 34067903, "login": "erfannariman", "node_id": "MDQ6VXNlcjM0MDY3OTAz", "organizations_url": "https://api.github.com/users/erfannariman/orgs", "received_events_url": "https://api.github.com/users/erfannariman/received_events", "repos_url": "https://api.github.com/users/erfannariman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/erfannariman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/erfannariman/subscriptions", "type": "User", "url": "https://api.github.com/users/erfannariman" }
[ { "color": "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": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
2020-12-31T17:47:15Z
2021-06-22T00:34:09Z
2021-06-22T00:34:09Z
CONTRIBUTOR
null
This is a follow up of #38594. When adding type hints to the `sample` method, I ran into some problems for `random_state`. The reason is that `numpy < 1.17.0` does not have the `random.Generator` class implemented. I tried to solve this with checking the numpy version with: ```python if np_version_under1p17: RandomState = Union[int, ArrayLike, np.random.RandomState] else: RandomState = Union[int, ArrayLike, np.random.Generator, np.random.RandomState] ``` But this resulted in: ```commandline Cannot assign multiple types to name "RandomState" without an explicit "Type[...]" annotation [misc] ``` To solve this issue we have to add typing for `random_state`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38860/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38860/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38861
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38861/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38861/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38861/events
https://github.com/pandas-dev/pandas/pull/38861
777,101,658
MDExOlB1bGxSZXF1ZXN0NTQ3NDgwNjI1
38,861
BUG: additional keys in groupby indices when NAs are present
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2020-12-31T18:06:26Z
2021-01-02T20:52:46Z
2021-01-01T20:41:44Z
MEMBER
null
- [x] closes #9304 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry `lib.indices_fast` included logic to skip over null values (-1's), but did not include the case where the first index is null. Currently this function is only used in `sorting.get_indexer_dict` where the case of all null group_index is handled separately.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38861/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38861/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38861.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38861", "merged_at": "2021-01-01T20:41:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38861.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38861" }
https://api.github.com/repos/pandas-dev/pandas/issues/38862
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38862/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38862/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38862/events
https://github.com/pandas-dev/pandas/issues/38862
777,109,840
MDU6SXNzdWU3NzcxMDk4NDA=
38,862
CI speed-up @github-actions pre-commit by only running it on changed files
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" }, { "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/44227165?v=4", "events_url": "https://api.github.com/users/gunjan-solanki/events{/privacy}", "followers_url": "https://api.github.com/users/gunjan-solanki/followers", "following_url": "https://api.github.com/users/gunjan-solanki/following{/other_user}", "gists_url": "https://api.github.com/users/gunjan-solanki/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gunjan-solanki", "id": 44227165, "login": "gunjan-solanki", "node_id": "MDQ6VXNlcjQ0MjI3MTY1", "organizations_url": "https://api.github.com/users/gunjan-solanki/orgs", "received_events_url": "https://api.github.com/users/gunjan-solanki/received_events", "repos_url": "https://api.github.com/users/gunjan-solanki/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gunjan-solanki/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gunjan-solanki/subscriptions", "type": "User", "url": "https://api.github.com/users/gunjan-solanki" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/44227165?v=4", "events_url": "https://api.github.com/users/gunjan-solanki/events{/privacy}", "followers_url": "https://api.github.com/users/gunjan-solanki/followers", "following_url": "https://api.github.com/users/gunjan-solanki/following{/other_user}", "gists_url": "https://api.github.com/users/gunjan-solanki/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gunjan-solanki", "id": 44227165, "login": "gunjan-solanki", "node_id": "MDQ6VXNlcjQ0MjI3MTY1", "organizations_url": "https://api.github.com/users/gunjan-solanki/orgs", "received_events_url": "https://api.github.com/users/gunjan-solanki/received_events", "repos_url": "https://api.github.com/users/gunjan-solanki/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gunjan-solanki/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gunjan-solanki/subscriptions", "type": "User", "url": "https://api.github.com/users/gunjan-solanki" } ]
null
3
2020-12-31T18:45:37Z
2021-01-31T19:36:22Z
2021-01-31T19:36:22Z
MEMBER
null
From #38858 it seems the actions works fine, though is perhaps a bit slow as it has to run on all files If we apply the diff ```diff diff --git a/.github/workflows/comment_bot.yml b/.github/workflows/comment_bot.yml index 98b8e10f6..dc396be75 100644 --- a/.github/workflows/comment_bot.yml +++ b/.github/workflows/comment_bot.yml @@ -29,7 +29,7 @@ jobs: - name: Install-pre-commit run: python -m pip install --upgrade pre-commit - name: Run pre-commit - run: pre-commit run --all-files || (exit 0) + run: pre-commit run --from-ref=origin/master --to-ref=HEAD --all-files || (exit 0) - name: Commit results run: | git config user.name "$(git log -1 --pretty=format:%an)" ``` then it should run much faster
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38862/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38862/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38863
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38863/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38863/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38863/events
https://github.com/pandas-dev/pandas/issues/38863
777,121,706
MDU6SXNzdWU3NzcxMjE3MDY=
38,863
DOC: refactor CSV parser section in user guide
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
1
2020-12-31T19:39:06Z
2021-01-07T07:30:01Z
null
MEMBER
null
xref https://github.com/pandas-dev/pandas/pull/31817#discussion_r509808971 We want to refactor that entire section of the user guide to provide a table-like comparison of all of the parsers. This should wait until #38370 is merged and the `pyarrow` engine is available.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38863/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38863/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38864
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38864/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38864/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38864/events
https://github.com/pandas-dev/pandas/pull/38864
777,127,046
MDExOlB1bGxSZXF1ZXN0NTQ3NDk5Nzc4
38,864
TST: GH30999 add match=msg to 2 pytest.raises in pandas/tests/io/json/test_normalize.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/1084147?v=4", "events_url": "https://api.github.com/users/moink/events{/privacy}", "followers_url": "https://api.github.com/users/moink/followers", "following_url": "https://api.github.com/users/moink/following{/other_user}", "gists_url": "https://api.github.com/users/moink/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/moink", "id": 1084147, "login": "moink", "node_id": "MDQ6VXNlcjEwODQxNDc=", "organizations_url": "https://api.github.com/users/moink/orgs", "received_events_url": "https://api.github.com/users/moink/received_events", "repos_url": "https://api.github.com/users/moink/repos", "site_admin": false, "starred_url": "https://api.github.com/users/moink/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/moink/subscriptions", "type": "User", "url": "https://api.github.com/users/moink" }
[ { "color": "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" }
4
2020-12-31T20:06:22Z
2021-01-01T20:43:23Z
2021-01-01T20:43:19Z
MEMBER
null
xref #30999 for pandas/tests/io/json/test_normalize.py And with this my work on #30999 is done. Will head over to the issue to explain why I am not fixing the remaining 15 instances of `pytest.raise` - [ ] 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/38864/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38864/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38864.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38864", "merged_at": "2021-01-01T20:43:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38864.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38864" }
https://api.github.com/repos/pandas-dev/pandas/issues/38865
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38865/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38865/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38865/events
https://github.com/pandas-dev/pandas/issues/38865
777,138,311
MDU6SXNzdWU3NzcxMzgzMTE=
38,865
REGR: Sorted pandas series is not plotted in the expected order in pandas 1.2.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/25637736?v=4", "events_url": "https://api.github.com/users/GajjarMihir/events{/privacy}", "followers_url": "https://api.github.com/users/GajjarMihir/followers", "following_url": "https://api.github.com/users/GajjarMihir/following{/other_user}", "gists_url": "https://api.github.com/users/GajjarMihir/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/GajjarMihir", "id": 25637736, "login": "GajjarMihir", "node_id": "MDQ6VXNlcjI1NjM3NzM2", "organizations_url": "https://api.github.com/users/GajjarMihir/orgs", "received_events_url": "https://api.github.com/users/GajjarMihir/received_events", "repos_url": "https://api.github.com/users/GajjarMihir/repos", "site_admin": false, "starred_url": "https://api.github.com/users/GajjarMihir/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/GajjarMihir/subscriptions", "type": "User", "url": "https://api.github.com/users/GajjarMihir" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "cdea3c", "default": false, "description": "Unit test(s) needed to prevent regressions", "id": 986278782, "name": "Needs Tests", "node_id": "MDU6TGFiZWw5ODYyNzg3ODI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4", "events_url": "https://api.github.com/users/avinashpancham/events{/privacy}", "followers_url": "https://api.github.com/users/avinashpancham/followers", "following_url": "https://api.github.com/users/avinashpancham/following{/other_user}", "gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/avinashpancham", "id": 44933366, "login": "avinashpancham", "node_id": "MDQ6VXNlcjQ0OTMzMzY2", "organizations_url": "https://api.github.com/users/avinashpancham/orgs", "received_events_url": "https://api.github.com/users/avinashpancham/received_events", "repos_url": "https://api.github.com/users/avinashpancham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions", "type": "User", "url": "https://api.github.com/users/avinashpancham" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4", "events_url": "https://api.github.com/users/avinashpancham/events{/privacy}", "followers_url": "https://api.github.com/users/avinashpancham/followers", "following_url": "https://api.github.com/users/avinashpancham/following{/other_user}", "gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/avinashpancham", "id": 44933366, "login": "avinashpancham", "node_id": "MDQ6VXNlcjQ0OTMzMzY2", "organizations_url": "https://api.github.com/users/avinashpancham/orgs", "received_events_url": "https://api.github.com/users/avinashpancham/received_events", "repos_url": "https://api.github.com/users/avinashpancham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions", "type": "User", "url": "https://api.github.com/users/avinashpancham" } ]
{ "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-31T21:09:45Z
2021-02-02T01:42:42Z
2021-02-02T01:42:42Z
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 Note: The code was executed in Jupyter notebook. ``` import pandas as pd print(pd.__version__) d = {'col1': [4,2,3,1]} df = pd.DataFrame(data=d) df['col1'].sort_values().plot(kind='bar') ``` #### Problem description In Pandas 1.2.0, the sorted values are not plotted in the correct order. Note that ```df['col1'].sort_values()``` does return sorted values. ![pandas 1.2.0](https://user-images.githubusercontent.com/25637736/103424892-eb430d00-4b7c-11eb-999d-0e525d122776.png) #### Expected Output In Pandas 1.1.5, this works as expected. This might be the case in older versions of pandas as well. ![pandas 1.1.5](https://user-images.githubusercontent.com/25637736/103424905-001fa080-4b7d-11eb-9577-0ff812d6d6fe.png) #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : b5958ee1999e9aead1938c0bba2b674378807b3d python : 3.8.5.final.0 python-bits : 64 OS : Darwin OS-release : 20.2.0 Version : Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_CA.UTF-8 LOCALE : en_CA.UTF-8 pandas : 1.1.5 numpy : 1.19.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.4 setuptools : 50.3.0.post20201006 Cython : 0.29.21 pytest : 6.1.1 hypothesis : 5.37.4 sphinx : 3.2.1 blosc : None feather : None xlsxwriter : 1.3.7 lxml.etree : 4.6.1 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.18.1 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 0.8.3 fastparquet : None gcsfs : None matplotlib : 3.3.2 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.5 pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.0 sqlalchemy : 1.3.19 tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.51.2 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38865/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38865/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38866
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38866/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38866/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38866/events
https://github.com/pandas-dev/pandas/pull/38866
777,143,460
MDExOlB1bGxSZXF1ZXN0NTQ3NTEyNzI4
38,866
ENH: implement FloatingArray.round()
{ "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": "8dd5fc", "default": false, "description": "Series data structure", "id": 1357732944, "name": "Series", "node_id": "MDU6TGFiZWwxMzU3NzMyOTQ0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Series" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" }, { "color": "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
[]
{ "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-31T21:43:06Z
2021-02-11T01:30:19Z
2021-02-11T01:30:19Z
MEMBER
null
- [x] closes #38844 - [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/38866/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38866/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38866.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38866", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38866.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38866" }
https://api.github.com/repos/pandas-dev/pandas/issues/38867
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38867/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38867/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38867/events
https://github.com/pandas-dev/pandas/pull/38867
777,144,619
MDExOlB1bGxSZXF1ZXN0NTQ3NTEzNjQ4
38,867
REF: Move aggregation into apply
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2020-12-31T21:51:41Z
2021-01-28T23:02:00Z
2021-01-03T16:56:06Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This is a step toward #35725. We can't simply ban agg from not aggregating because it's used by apply for series, dataframe, groupby, resampler, and rolling. There are two other related issues. First, apply, agg, and transform are all doing similar things but with different implementations leading to unintended inconsistencies. Second, we would also like to ban mutation in apply (and presumably agg and transform for the same reasons). It seems best to me to handle all of these by first combining the implementation into apply, cleaning up and sharing code between the implementations, and then we would be in a good place to ban agg from not aggregating. This starts the process by moving aggregation.aggregate into apply, but it is only utilized for frames. Once this is done for the remaining objects (series, groupby, resampler, rolling), the rest of the functions in aggregation can be moved into apply as well.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38867/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38867/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38867.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38867", "merged_at": "2021-01-03T16:56:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38867.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38867" }
https://api.github.com/repos/pandas-dev/pandas/issues/38868
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38868/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38868/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38868/events
https://github.com/pandas-dev/pandas/issues/38868
777,147,735
MDU6SXNzdWU3NzcxNDc3MzU=
38,868
DOC: Methods of conditional selection
{ "avatar_url": "https://avatars.githubusercontent.com/u/21358940?v=4", "events_url": "https://api.github.com/users/alindman/events{/privacy}", "followers_url": "https://api.github.com/users/alindman/followers", "following_url": "https://api.github.com/users/alindman/following{/other_user}", "gists_url": "https://api.github.com/users/alindman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alindman", "id": 21358940, "login": "alindman", "node_id": "MDQ6VXNlcjIxMzU4OTQw", "organizations_url": "https://api.github.com/users/alindman/orgs", "received_events_url": "https://api.github.com/users/alindman/received_events", "repos_url": "https://api.github.com/users/alindman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alindman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alindman/subscriptions", "type": "User", "url": "https://api.github.com/users/alindman" }
[ { "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
2
2020-12-31T22:12:00Z
2021-08-14T22:58:25Z
null
NONE
null
#### Location of the documentation https://pandas.pydata.org/pandas-docs/stable/user_guide/10min.html#setting https://pandas.pydata.org/pandas-docs/stable/user_guide/10min.html#selection https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.where.html https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.query.html https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#query-python-versus-pandas-syntax-comparison #### Documentation problem and suggested fixes ##### Selection with `df[df.A > 10]` Since I started using Pandas, I have exclusively used syntax like `df[df.A > 10]` to select rows of a DataFrame, or elements therein (`df[df.A > 10].B`) matching some condition. (By the way, is there a name for this style of selection?) I probably picked up this technique from "10 minutes to pandas" (https://pandas.pydata.org/pandas-docs/stable/user_guide/10min.html#setting), specifically ``` A where operation with setting. In [52]: df2 = df.copy() In [53]: df2[df2 > 0] = -df2 ``` While that section intends to describe how to set values, it also by chance shows selection with the `df[df.A > 10]` method. As far as I can tell, this is the only time this page shows how to perform conditional selection. Since selecting part of a DataFrame is such a common operation, I suggest adding a specific subsection under https://pandas.pydata.org/pandas-docs/stable/user_guide/10min.html#selection for `Conditional selection` or similar. As discussed below, it should illustrate both `df[df.A > 10]` and `query`. ##### How to select conditionally From the "10 minutes" page, one might wish to learn more about how to select conditionally. The obvious place to look is https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.where.html, since the "10 minutes" page specifically mentions `where` just before `df2[df2 > 0]`. However, `where` is intended for replacement, not selection. I suggest adding a note to the `where` page that points to https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.query.html, since `query` is the appropriate tool for conditional selection. ##### Dynamic construction of column names I would also like to suggest an addition to https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#query-python-versus-pandas-syntax-comparison and the other places where `df[df.A > 10]` selection appears. Suppose one has a DataFrame with columns including `'A1', 'A2', 'A3', ..., B`, and that one wishes to run some process on subsets of each column. Rather than building the list of columns and iterating over them, like with `for col in ['A1', 'A2', 'A3']:`, I prefer to use ``` for col_suffix in [1,2,3]: these_data = df[df[f'A{col_suffix}'] > 0] x = these_data.B y = these_data[f'A{col_suffix}'] ``` I have not seen this particular idiom in the pandas docs. While the standard advice (https://stackoverflow.com/questions/2259224/python-inserting-a-variable-value-into-a-variable-name) is to avoid such constructions, DataFrames often come with collections of column names like `['A1', 'A2', 'A3']`, so I have found this "dynamic" approach quite useful—particularly when translating code that I wrote and tested on a single column name to operate on many columns. ##### Differences in the output of `df[df.A > 10]` and `query` Finally, in selecting with `df[df.A > 10]`, I have encountered a warning that does not appear with `query`. I am running this code in a Jupyter notebook. When I perform the selection with ``` nonzero_data = df[df[f'A{col_suffix} %'] > 0] ``` and then plot two columns from `nonzero_data` against one another, I get the following error: ``` .../lib/python3.6/site-packages/matplotlib/cbook/__init__.py:2062: FutureWarning: Support for multi-dimensional indexing (e.g. `obj[:, None]`) is deprecated and will be removed in a future version. Convert to a numpy array before indexing instead. x[:, None] ``` If I run the same code but replace the selection line with ``` nonzero_data = df.query(f"`A{col_suffix} %` > 0") ``` no error appears. I can see that matplotlib is throwing the error, but the fact that it depends on how I select the data in pandas suggests the latter is returning objects that differ in some way with each selection method. While I suspect this behavior is documented, I was not able to locate that information. In both cases, the `x` and `y` values being plotted appear to be identical. Calling `display(<var>)` just before `plt.plot(x,y)`, I find that `x` is ``` datetime 2020-12-20 21:48:00 106.140 2020-12-20 22:29:00 108.690 ... Name: B, dtype: float64 ``` and `y` is ``` datetime 2020-12-20 21:48:00 6.980 2020-12-20 22:29:00 7.325 ... Name: A1 %, dtype: float64 ``` The error disappears, even selecting with `nonzero_data = df[df[f'A{col_suffix} %'] > 0]`, if I recast `x` and `y` as numpy arrays. What, then, is the difference in the DataFrames that `query` or `df[df[f'A{col_suffix} %'] > 0]` return?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38868/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38868/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38869
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38869/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38869/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38869/events
https://github.com/pandas-dev/pandas/pull/38869
777,155,027
MDExOlB1bGxSZXF1ZXN0NTQ3NTIxNzY4
38,869
TST/REF: implement tests.frame.constructors
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "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" }
0
2020-12-31T23:07:40Z
2021-01-01T02:02:11Z
2020-12-31T23:52:13Z
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/38869/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38869/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38869.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38869", "merged_at": "2020-12-31T23:52:13Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38869.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38869" }
https://api.github.com/repos/pandas-dev/pandas/issues/38870
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38870/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38870/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38870/events
https://github.com/pandas-dev/pandas/issues/38870
777,161,243
MDU6SXNzdWU3NzcxNjEyNDM=
38,870
DEPS: bump pyarrow min to 0.17.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }
[ { "color": "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4", "events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}", "followers_url": "https://api.github.com/users/alimcmaster1/followers", "following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}", "gists_url": "https://api.github.com/users/alimcmaster1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alimcmaster1", "id": 16733618, "login": "alimcmaster1", "node_id": "MDQ6VXNlcjE2NzMzNjE4", "organizations_url": "https://api.github.com/users/alimcmaster1/orgs", "received_events_url": "https://api.github.com/users/alimcmaster1/received_events", "repos_url": "https://api.github.com/users/alimcmaster1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alimcmaster1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alimcmaster1/subscriptions", "type": "User", "url": "https://api.github.com/users/alimcmaster1" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4", "events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}", "followers_url": "https://api.github.com/users/alimcmaster1/followers", "following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}", "gists_url": "https://api.github.com/users/alimcmaster1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alimcmaster1", "id": 16733618, "login": "alimcmaster1", "node_id": "MDQ6VXNlcjE2NzMzNjE4", "organizations_url": "https://api.github.com/users/alimcmaster1/orgs", "received_events_url": "https://api.github.com/users/alimcmaster1/received_events", "repos_url": "https://api.github.com/users/alimcmaster1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alimcmaster1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alimcmaster1/subscriptions", "type": "User", "url": "https://api.github.com/users/alimcmaster1" } ]
{ "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-31T23:58:06Z
2021-05-17T15:21:56Z
2021-05-17T15:21:56Z
CONTRIBUTOR
null
this would remove some complexity around parquet, csv engine & string array. this is an optional dep and so i don't think this a big deal. keep in mind that we likley won't release 1.3 until june time frame anyhow
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38870/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38870/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38871
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38871/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38871/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38871/events
https://github.com/pandas-dev/pandas/pull/38871
777,183,051
MDExOlB1bGxSZXF1ZXN0NTQ3NTQzNTkw
38,871
TST: move generic/methods/ files to frame/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": "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" }
0
2021-01-01T03:04:28Z
2021-01-01T21:11:38Z
2021-01-01T20:38:59Z
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/38871/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38871/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38871.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38871", "merged_at": "2021-01-01T20:38:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38871.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38871" }
https://api.github.com/repos/pandas-dev/pandas/issues/38872
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38872/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38872/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38872/events
https://github.com/pandas-dev/pandas/issues/38872
777,184,225
MDU6SXNzdWU3NzcxODQyMjU=
38,872
Pyarrow CSV Reader Integration Tracker
{ "avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4", "events_url": "https://api.github.com/users/lithomas1/events{/privacy}", "followers_url": "https://api.github.com/users/lithomas1/followers", "following_url": "https://api.github.com/users/lithomas1/following{/other_user}", "gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lithomas1", "id": 47963215, "login": "lithomas1", "node_id": "MDQ6VXNlcjQ3OTYzMjE1", "organizations_url": "https://api.github.com/users/lithomas1/orgs", "received_events_url": "https://api.github.com/users/lithomas1/received_events", "repos_url": "https://api.github.com/users/lithomas1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions", "type": "User", "url": "https://api.github.com/users/lithomas1" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "fbca04", "default": false, "description": "High level tracker for similar issues", "id": 183784729, "name": "Master Tracker", "node_id": "MDU6TGFiZWwxODM3ODQ3Mjk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Master%20Tracker" }, { "color": "5319e7", "default": false, "description": "parquet, feather", "id": 685114413, "name": "IO Parquet", "node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet" } ]
open
false
null
[]
null
1
2021-01-01T03:14:25Z
2021-01-01T19:48:33Z
null
MEMBER
null
Issue tracking Pyarrow engine integration in read_csv (for after #38370 is merged) **Current unsupported options** - [ ] skipfooter - [ ] float_precision - [ ] chunksize - [ ] comment - [ ] nrows - [ ] thousands - [ ] memory map - [ ] dialect - [ ] warn_bad_lines - [ ] error_bad_lines - [ ] delim_whitespace - [ ] quoting - [ ] lineterminator (this is c-only) - [ ] converters - [ ] decimal - [ ] iterator - [ ] dayfirst - [ ] infer_datetime_format - [ ] verbose - [ ] skipinitialspace - [ ] low_memory (this is c-only) **TODO** - [ ] Revert skipping of test_parse_dates due to removal of np.asarray in date_converters in #38370 - [ ] Enable skiprows tests disabled in #38370 - [ ] Enable encoding tests. **Proposed enhancements** - [ ] ENH: Pass arguments to `to_pandas` in `read_csv(engine="pyarrow") #34823
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38872/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38872/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38873
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38873/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38873/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38873/events
https://github.com/pandas-dev/pandas/pull/38873
777,242,654
MDExOlB1bGxSZXF1ZXN0NTQ3NTk0NTgx
38,873
TST: Series.update with categorical
{ "avatar_url": "https://avatars.githubusercontent.com/u/24451137?v=4", "events_url": "https://api.github.com/users/ftrihardjo/events{/privacy}", "followers_url": "https://api.github.com/users/ftrihardjo/followers", "following_url": "https://api.github.com/users/ftrihardjo/following{/other_user}", "gists_url": "https://api.github.com/users/ftrihardjo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ftrihardjo", "id": 24451137, "login": "ftrihardjo", "node_id": "MDQ6VXNlcjI0NDUxMTM3", "organizations_url": "https://api.github.com/users/ftrihardjo/orgs", "received_events_url": "https://api.github.com/users/ftrihardjo/received_events", "repos_url": "https://api.github.com/users/ftrihardjo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ftrihardjo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ftrihardjo/subscriptions", "type": "User", "url": "https://api.github.com/users/ftrihardjo" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
2021-01-01T08:35:16Z
2021-01-03T17:10:45Z
2021-01-03T17:10:42Z
CONTRIBUTOR
null
- [ ] closes #25744, closes #27338 - [ ] 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/38873/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38873/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38873.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38873", "merged_at": "2021-01-03T17:10:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38873.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38873" }
https://api.github.com/repos/pandas-dev/pandas/issues/38874
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38874/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38874/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38874/events
https://github.com/pandas-dev/pandas/issues/38874
777,248,323
MDU6SXNzdWU3NzcyNDgzMjM=
38,874
REGR: incorrect results with std on rolling window since 1.2.0
{ "avatar_url": "https://avatars.githubusercontent.com/u/4200196?v=4", "events_url": "https://api.github.com/users/cragod/events{/privacy}", "followers_url": "https://api.github.com/users/cragod/followers", "following_url": "https://api.github.com/users/cragod/following{/other_user}", "gists_url": "https://api.github.com/users/cragod/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cragod", "id": 4200196, "login": "cragod", "node_id": "MDQ6VXNlcjQyMDAxOTY=", "organizations_url": "https://api.github.com/users/cragod/orgs", "received_events_url": "https://api.github.com/users/cragod/received_events", "repos_url": "https://api.github.com/users/cragod/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cragod/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cragod/subscriptions", "type": "User", "url": "https://api.github.com/users/cragod" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
null
6
2021-01-01T09:08:54Z
2021-01-16T10:16:50Z
2021-01-16T01:23:13Z
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 import pandas as pd import numpy as np df = pd.DataFrame({'A': [1e-8, -1.1e-8, 1.2e-8, -1.1e-8] * 5}) df['std'] = df['A'].rolling(10).std(ddof=0) print(df) ``` #### Problem description when i ran above code in 1.2.0, the output is: ``` A std 0 1.000000e-08 NaN 1 -1.100000e-08 NaN 2 1.200000e-08 NaN 3 -1.100000e-08 NaN 4 1.000000e-08 NaN 5 -1.100000e-08 NaN 6 1.200000e-08 NaN 7 -1.100000e-08 NaN 8 1.000000e-08 NaN 9 -1.100000e-08 0.0 10 1.200000e-08 0.0 11 -1.100000e-08 0.0 12 1.000000e-08 0.0 13 -1.100000e-08 0.0 14 1.200000e-08 0.0 15 -1.100000e-08 0.0 16 1.000000e-08 0.0 17 -1.100000e-08 0.0 18 1.200000e-08 0.0 19 -1.100000e-08 0.0 ``` #### Expected Output ran in 1.1.5: ``` A std 0 1.000000e-08 NaN 1 -1.100000e-08 NaN 2 1.200000e-08 NaN 3 -1.100000e-08 NaN 4 1.000000e-08 NaN 5 -1.100000e-08 NaN 6 1.200000e-08 NaN 7 -1.100000e-08 NaN 8 1.000000e-08 NaN 9 -1.100000e-08 1.092200e-08 10 1.200000e-08 1.112160e-08 11 -1.100000e-08 1.112160e-08 12 1.000000e-08 1.092200e-08 13 -1.100000e-08 1.092200e-08 14 1.200000e-08 1.112160e-08 15 -1.100000e-08 1.112160e-08 16 1.000000e-08 1.092200e-08 17 -1.100000e-08 1.092200e-08 18 1.200000e-08 1.112160e-08 19 -1.100000e-08 1.112160e-08 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 3e89b4c4b1580aa890023fc550774e63d499da25 python : 3.7.5.final.0 python-bits : 64 OS : Darwin OS-release : 20.2.0 Version : Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : zh_CN.UTF-8 LOCALE : zh_CN.UTF-8 pandas : 1.2.0 numpy : 1.18.2 pytz : 2019.3 dateutil : 2.8.1 pip : 20.3.3 setuptools : 41.2.0 Cython : None pytest : 5.4.1 hypothesis : None sphinx : 1.8.5 blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.2 html5lib : None pymysql : 0.9.3 psycopg2 : None jinja2 : 2.10.3 IPython : 7.11.1 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : None sqlalchemy : 1.3.15 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/38874/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38874/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38875
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38875/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38875/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38875/events
https://github.com/pandas-dev/pandas/issues/38875
777,248,416
MDU6SXNzdWU3NzcyNDg0MTY=
38,875
QST: function similarity
{ "avatar_url": "https://avatars.githubusercontent.com/u/68580303?v=4", "events_url": "https://api.github.com/users/ZhangLockerberg/events{/privacy}", "followers_url": "https://api.github.com/users/ZhangLockerberg/followers", "following_url": "https://api.github.com/users/ZhangLockerberg/following{/other_user}", "gists_url": "https://api.github.com/users/ZhangLockerberg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ZhangLockerberg", "id": 68580303, "login": "ZhangLockerberg", "node_id": "MDQ6VXNlcjY4NTgwMzAz", "organizations_url": "https://api.github.com/users/ZhangLockerberg/orgs", "received_events_url": "https://api.github.com/users/ZhangLockerberg/received_events", "repos_url": "https://api.github.com/users/ZhangLockerberg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ZhangLockerberg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ZhangLockerberg/subscriptions", "type": "User", "url": "https://api.github.com/users/ZhangLockerberg" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
1
2021-01-01T09:09:19Z
2021-01-01T09:15:40Z
2021-01-01T09:14:59Z
NONE
null
Does Pandas also support a function like what np.vstack or np.hstack does?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38875/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38875/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38876
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38876/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38876/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38876/events
https://github.com/pandas-dev/pandas/pull/38876
777,253,854
MDExOlB1bGxSZXF1ZXN0NTQ3NjAzODEx
38,876
TST: GH30999 TESTING PR do not merge or review
{ "avatar_url": "https://avatars.githubusercontent.com/u/1084147?v=4", "events_url": "https://api.github.com/users/moink/events{/privacy}", "followers_url": "https://api.github.com/users/moink/followers", "following_url": "https://api.github.com/users/moink/following{/other_user}", "gists_url": "https://api.github.com/users/moink/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/moink", "id": 1084147, "login": "moink", "node_id": "MDQ6VXNlcjEwODQxNDc=", "organizations_url": "https://api.github.com/users/moink/orgs", "received_events_url": "https://api.github.com/users/moink/received_events", "repos_url": "https://api.github.com/users/moink/repos", "site_admin": false, "starred_url": "https://api.github.com/users/moink/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/moink/subscriptions", "type": "User", "url": "https://api.github.com/users/moink" }
[ { "color": "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
6
2021-01-01T09:47:17Z
2021-01-03T10:31:13Z
2021-01-03T10:31:13Z
MEMBER
null
There are 3 tests that don't run on my dev machine even with tweaks. They should fail in the CI and I can get the messages from there. So for now this is just a PR designed to run (and fail) the CI pipelines. - [ ] 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/38876/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38876/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38876.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38876", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38876.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38876" }
https://api.github.com/repos/pandas-dev/pandas/issues/38877
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38877/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38877/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38877/events
https://github.com/pandas-dev/pandas/issues/38877
777,254,292
MDU6SXNzdWU3NzcyNTQyOTI=
38,877
BUG: rolling does not accept MultiIndex name
{ "avatar_url": "https://avatars.githubusercontent.com/u/39023576?v=4", "events_url": "https://api.github.com/users/metazoic/events{/privacy}", "followers_url": "https://api.github.com/users/metazoic/followers", "following_url": "https://api.github.com/users/metazoic/following{/other_user}", "gists_url": "https://api.github.com/users/metazoic/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/metazoic", "id": 39023576, "login": "metazoic", "node_id": "MDQ6VXNlcjM5MDIzNTc2", "organizations_url": "https://api.github.com/users/metazoic/orgs", "received_events_url": "https://api.github.com/users/metazoic/received_events", "repos_url": "https://api.github.com/users/metazoic/repos", "site_admin": false, "starred_url": "https://api.github.com/users/metazoic/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/metazoic/subscriptions", "type": "User", "url": "https://api.github.com/users/metazoic" }
[ { "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
2021-01-01T09:50:55Z
2021-01-02T02:21:36Z
2021-01-02T02:21:36Z
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 If ```python df = pandas.DataFrame() df['date'] = pandas.date_range('2021-1-1', '2021-1-5', freq='h') df.loc[df.date <= '2021-1-3', 'category'] = 'A' df.loc[df.date > '2021-1-3', 'category'] = 'B' df.set_index(['category','date'], inplace=True) df['value'] = 1 ``` then ```python df.groupby('category').rolling('D', on='date') ``` breaks with ```python ValueError: invalid on specified as date, must be a column (of DataFrame), an Index or None ``` #### Problem description The [documentation](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.rolling.html?highlight=rolling#pandas.DataFrame.rolling) states that the `on` argument can be a `MultiIndex` level (and then confusingly adds "rather than the DataFrame's index"). #### Expected Output `rolling` should accept a `MultiIndex` level. Interestingly, ```python df.groupby('category').resample('D', level='date') ``` works, but it would be nice to unify the interfaces: `resample` accepts `level` and `on` for index and column respectively, while `rolling` accepts `on` for both.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38877/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38877/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38878
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38878/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38878/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38878/events
https://github.com/pandas-dev/pandas/issues/38878
777,277,366
MDU6SXNzdWU3NzcyNzczNjY=
38,878
BUG: Unexpected typecast on datetime.date in groupby.key()
{ "avatar_url": "https://avatars.githubusercontent.com/u/68729196?v=4", "events_url": "https://api.github.com/users/ktrxcmsn/events{/privacy}", "followers_url": "https://api.github.com/users/ktrxcmsn/followers", "following_url": "https://api.github.com/users/ktrxcmsn/following{/other_user}", "gists_url": "https://api.github.com/users/ktrxcmsn/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ktrxcmsn", "id": 68729196, "login": "ktrxcmsn", "node_id": "MDQ6VXNlcjY4NzI5MTk2", "organizations_url": "https://api.github.com/users/ktrxcmsn/orgs", "received_events_url": "https://api.github.com/users/ktrxcmsn/received_events", "repos_url": "https://api.github.com/users/ktrxcmsn/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ktrxcmsn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ktrxcmsn/subscriptions", "type": "User", "url": "https://api.github.com/users/ktrxcmsn" }
[ { "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": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "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/71941335?v=4", "events_url": "https://api.github.com/users/vangorade/events{/privacy}", "followers_url": "https://api.github.com/users/vangorade/followers", "following_url": "https://api.github.com/users/vangorade/following{/other_user}", "gists_url": "https://api.github.com/users/vangorade/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vangorade", "id": 71941335, "login": "vangorade", "node_id": "MDQ6VXNlcjcxOTQxMzM1", "organizations_url": "https://api.github.com/users/vangorade/orgs", "received_events_url": "https://api.github.com/users/vangorade/received_events", "repos_url": "https://api.github.com/users/vangorade/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vangorade/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vangorade/subscriptions", "type": "User", "url": "https://api.github.com/users/vangorade" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/71941335?v=4", "events_url": "https://api.github.com/users/vangorade/events{/privacy}", "followers_url": "https://api.github.com/users/vangorade/followers", "following_url": "https://api.github.com/users/vangorade/following{/other_user}", "gists_url": "https://api.github.com/users/vangorade/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vangorade", "id": 71941335, "login": "vangorade", "node_id": "MDQ6VXNlcjcxOTQxMzM1", "organizations_url": "https://api.github.com/users/vangorade/orgs", "received_events_url": "https://api.github.com/users/vangorade/received_events", "repos_url": "https://api.github.com/users/vangorade/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vangorade/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vangorade/subscriptions", "type": "User", "url": "https://api.github.com/users/vangorade" } ]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
2021-01-01T12:27:19Z
2021-01-08T14:17:27Z
2021-01-08T14:17:27Z
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 datetime as dt >>> import pandas as pd >>> df = pd.DataFrame([[dt.date(2021,1,1), 1, 'a'], [dt.date(2021,1,2), 2, 'b']]) >>> g = df.groupby([0, 1]) >>> g.groups.key() ... dict_keys([(Timestamp('2021-01-01 00:00:00'), 1), (Timestamp('2021-01-02 00:00:00'), 2)]) ``` #### Problem description When multiple columns pass to groupby, the `datetime.date` type columns cast o the `Timestamp` type. Due to the unexpected type casting, following code raises a `KeyError`. ```python >>> list(g.get_group(key) for key in g.groups.keys()) ... KeyError: (Timestamp('2021-01-01 00:00:00'), 1) ``` [this should explain **why** the current behaviour is a problem and why the expected output is a better solution] This typecast will only be performed if multiple indexes are specified. ```python >>> g = df.groupby([0]) >>> g.groups.key() ... dict_keys([datetime.date(2021, 1, 1), datetime.date(2021, 1, 2)]) ``` #### Expected Output ```python >>> g.groups.key() ... dict_keys([(datetime.date(2021, 1, 1), 1), (datetime.date(2021, 1, 2), 2)]) ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 3e89b4c4b1580aa890023fc550774e63d499da25 python : 3.8.7.final.0 python-bits : 64 OS : Darwin OS-release : 20.2.0 Version : Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : ja_JP.UTF-8 pandas : 1.2.0 numpy : 1.19.4 pytz : 2020.5 dateutil : 2.8.1 pip : 20.3.3 setuptools : 51.1.1 Cython : 0.29.21 pytest : 6.2.1 hypothesis : None sphinx : 3.4.1 blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.2 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.3 numexpr : 2.7.2 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.0 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : 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/38878/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38878/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38879
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38879/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38879/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38879/events
https://github.com/pandas-dev/pandas/pull/38879
777,331,926
MDExOlB1bGxSZXF1ZXN0NTQ3NjYxOTAy
38,879
BUG: silently ignoring dtype kwarg in Index.__new__
{ "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": "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" }, { "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" }
2
2021-01-01T18:37:36Z
2021-01-02T01:37:47Z
2021-01-01T23:02:18Z
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 ATM we handle object but not others, xref #21311
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38879/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38879/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38879.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38879", "merged_at": "2021-01-01T23:02:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38879.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38879" }
https://api.github.com/repos/pandas-dev/pandas/issues/38880
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38880/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38880/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38880/events
https://github.com/pandas-dev/pandas/pull/38880
777,336,053
MDExOlB1bGxSZXF1ZXN0NTQ3NjY0NjE0
38,880
TST: add missing loc label indexing test
{ "avatar_url": "https://avatars.githubusercontent.com/u/71941335?v=4", "events_url": "https://api.github.com/users/vangorade/events{/privacy}", "followers_url": "https://api.github.com/users/vangorade/followers", "following_url": "https://api.github.com/users/vangorade/following{/other_user}", "gists_url": "https://api.github.com/users/vangorade/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/vangorade", "id": 71941335, "login": "vangorade", "node_id": "MDQ6VXNlcjcxOTQxMzM1", "organizations_url": "https://api.github.com/users/vangorade/orgs", "received_events_url": "https://api.github.com/users/vangorade/received_events", "repos_url": "https://api.github.com/users/vangorade/repos", "site_admin": false, "starred_url": "https://api.github.com/users/vangorade/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/vangorade/subscriptions", "type": "User", "url": "https://api.github.com/users/vangorade" }
[ { "color": "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" }
3
2021-01-01T19:06:49Z
2021-01-10T11:02:40Z
2021-01-03T17:17:59Z
CONTRIBUTOR
null
- [x] xref #38824 - [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/38880/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38880/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38880.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38880", "merged_at": "2021-01-03T17:17:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38880.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38880" }
https://api.github.com/repos/pandas-dev/pandas/issues/38881
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38881/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38881/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38881/events
https://github.com/pandas-dev/pandas/pull/38881
777,336,146
MDExOlB1bGxSZXF1ZXN0NTQ3NjY0Njkw
38,881
TST: strictly xfail mid-test
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
null
5
2021-01-01T19:07:34Z
2021-01-02T15:41:53Z
2021-01-02T15:41:46Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Using `pytest.xfail` when a test is running will immediately stop the test and will not xpass if test would otherwise succeed. It doesn't seem to be documented anywhere, but an alternative would be to use the request fixture. In this demo, I've added an xfail that runs successfully, making the test fail (xpass). If this looks like a good idea, I can make a tracking issue to replace `pytest.xfail` with the method used here.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38881/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38881/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38881.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38881", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38881.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38881" }
https://api.github.com/repos/pandas-dev/pandas/issues/38882
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38882/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38882/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38882/events
https://github.com/pandas-dev/pandas/pull/38882
777,351,534
MDExOlB1bGxSZXF1ZXN0NTQ3Njc1NzA3
38,882
CLN: Use signed integers in khash maps for signed integer keys
{ "avatar_url": "https://avatars.githubusercontent.com/u/17513912?v=4", "events_url": "https://api.github.com/users/realead/events{/privacy}", "followers_url": "https://api.github.com/users/realead/followers", "following_url": "https://api.github.com/users/realead/following{/other_user}", "gists_url": "https://api.github.com/users/realead/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/realead", "id": 17513912, "login": "realead", "node_id": "MDQ6VXNlcjE3NTEzOTEy", "organizations_url": "https://api.github.com/users/realead/orgs", "received_events_url": "https://api.github.com/users/realead/received_events", "repos_url": "https://api.github.com/users/realead/repos", "site_admin": false, "starred_url": "https://api.github.com/users/realead/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/realead/subscriptions", "type": "User", "url": "https://api.github.com/users/realead" }
[ { "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" }
3
2021-01-01T20:56:10Z
2021-01-03T16:56:28Z
2021-01-03T16:56:24Z
CONTRIBUTOR
null
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` The goal of this PR is to make this comment obsolete: https://github.com/pandas-dev/pandas/blob/1fc5efd76ea1f85979fa2364a292d85482e338aa/pandas/_libs/src/klib/khash.h#L619-L624 see also [this discussion]( https://github.com/pandas-dev/pandas/pull/37920#discussion_r527191378) for even more details. The issue is: - the current way (inherited from khash-original) is too clever (and suprising) - it is wrong as the (unsigned) keys are converted back to signed values (which is implementation defined behavior) for example here: https://github.com/pandas-dev/pandas/blob/1fc5efd76ea1f85979fa2364a292d85482e338aa/pandas/_libs/hashtable_func_helper.pxi.in#L110 Using signed integer, one must take into account that hash-function with signed integers might have undefined/implementation defined behavior, thus we cast signed integers to unsigned counterpart in the (64bit-) hash function now.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38882/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38882/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38882.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38882", "merged_at": "2021-01-03T16:56:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38882.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38882" }
https://api.github.com/repos/pandas-dev/pandas/issues/38883
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38883/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38883/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38883/events
https://github.com/pandas-dev/pandas/pull/38883
777,351,857
MDExOlB1bGxSZXF1ZXN0NTQ3Njc1OTIz
38,883
TST: Add test_groupby_std_on_nullable_column.
{ "avatar_url": "https://avatars.githubusercontent.com/u/42247511?v=4", "events_url": "https://api.github.com/users/GabrielSimonetto/events{/privacy}", "followers_url": "https://api.github.com/users/GabrielSimonetto/followers", "following_url": "https://api.github.com/users/GabrielSimonetto/following{/other_user}", "gists_url": "https://api.github.com/users/GabrielSimonetto/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/GabrielSimonetto", "id": 42247511, "login": "GabrielSimonetto", "node_id": "MDQ6VXNlcjQyMjQ3NTEx", "organizations_url": "https://api.github.com/users/GabrielSimonetto/orgs", "received_events_url": "https://api.github.com/users/GabrielSimonetto/received_events", "repos_url": "https://api.github.com/users/GabrielSimonetto/repos", "site_admin": false, "starred_url": "https://api.github.com/users/GabrielSimonetto/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/GabrielSimonetto/subscriptions", "type": "User", "url": "https://api.github.com/users/GabrielSimonetto" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
5
2021-01-01T20:59:20Z
2021-03-21T20:18:46Z
2021-01-03T17:12:36Z
NONE
null
- [x] closes #35516 - [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/38883/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38883/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38883.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38883", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38883.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38883" }
https://api.github.com/repos/pandas-dev/pandas/issues/38884
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38884/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38884/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38884/events
https://github.com/pandas-dev/pandas/issues/38884
777,359,121
MDU6SXNzdWU3NzczNTkxMjE=
38,884
DEPR: Remove xlrd as being the default reader for xlsx
{ "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": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" }, { "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" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
2021-01-01T21:52:51Z
2021-02-16T23:08:52Z
2021-02-16T23:08:52Z
MEMBER
null
Currently the default reader for xlsx is openpyxl if installed, otherwise it is xlrd. While xlrd == 1.2.0 will work with xlsx files, xlrd >= 2.0 will not. In pandas 1.2, a FutureWarning is raised if xlrd is used on non-xls files. We should remove xlrd as being the default for xlsx files in pandas 2.0, but perhaps even 1.3 (if 1.3 != 2.0). 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/38884/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38884/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38885
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38885/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38885/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38885/events
https://github.com/pandas-dev/pandas/issues/38885
777,361,611
MDU6SXNzdWU3NzczNjE2MTE=
38,885
BUG: DatetimeIndex.to_period().to_timestamp() forgets freq value
{ "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": "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": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" }, { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" } ]
open
false
null
[]
null
9
2021-01-01T22:12:36Z
2021-08-16T19:47:51Z
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **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 >>> pd.date_range(start='1/1/2018 00:00:00', end='2/1/2018 00:01:00', freq="MS") DatetimeIndex(['2018-01-01', '2018-02-01'], dtype='datetime64[ns]', freq='MS') >>> pd.date_range(start='1/1/2018 00:00:00', end='2/1/2018 00:01:00', freq="MS").to_period().to_timestamp() DatetimeIndex(['2018-01-01', '2018-02-01'], dtype='datetime64[ns]', freq=None) ``` #### Problem description Why is `freq=None` here in the end? Is it possible to make conversion between `DatetimeIndex` and `PeriodIndex` more reliable in any way? How can I know which `freq` values are not able to be converted from `PeriodIndex` into `DatetimeIndex`? #### Expected Output: I would expect to have the same `freq` value after doing `.to_period().to_timestamp()`. ```python >>> pd.date_range(start='1/1/2018 00:00:00', end='2/1/2018 00:01:00', freq="MS").to_period().to_timestamp() DatetimeIndex(['2018-01-01', '2018-02-01'], dtype='datetime64[ns]', freq="MS") ``` #### Output of ``pd.show_versions()`` `````` <details> INSTALLED VERSIONS ------------------ commit : 3e89b4c4b1580aa890023fc550774e63d499da25 python : 3.7.9.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18362 machine : AMD64 processor : AMD64 Family 21 Model 112 Stepping 0, AuthenticAMD byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.2.0 numpy : 1.19.4 pytz : 2019.3 dateutil : 2.8.1 pip : 20.3.1 setuptools : 51.0.0.post20201207 Cython : 0.29.17 pytest : 6.1.2 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : 0.8.4 fastparquet : None gcsfs : None matplotlib : 3.3.3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.5.4 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : 0.50.1 </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/38885/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38885/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38886
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38886/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38886/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38886/events
https://github.com/pandas-dev/pandas/pull/38886
777,363,615
MDExOlB1bGxSZXF1ZXN0NTQ3Njg0MjY5
38,886
CLN: add typing for dtype arg in core/arrays (GH38808)
{ "avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4", "events_url": "https://api.github.com/users/avinashpancham/events{/privacy}", "followers_url": "https://api.github.com/users/avinashpancham/followers", "following_url": "https://api.github.com/users/avinashpancham/following{/other_user}", "gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/avinashpancham", "id": 44933366, "login": "avinashpancham", "node_id": "MDQ6VXNlcjQ0OTMzMzY2", "organizations_url": "https://api.github.com/users/avinashpancham/orgs", "received_events_url": "https://api.github.com/users/avinashpancham/received_events", "repos_url": "https://api.github.com/users/avinashpancham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions", "type": "User", "url": "https://api.github.com/users/avinashpancham" }
[ { "color": "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": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2021-01-01T22:25:32Z
2021-01-05T02:02:14Z
2021-01-05T02:02:08Z
CONTRIBUTOR
null
Follow on PR for #38808 - [ ] 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/38886/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38886/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38886.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38886", "merged_at": "2021-01-05T02:02:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38886.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38886" }
https://api.github.com/repos/pandas-dev/pandas/issues/38887
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38887/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38887/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38887/events
https://github.com/pandas-dev/pandas/pull/38887
777,364,834
MDExOlB1bGxSZXF1ZXN0NTQ3Njg1MDEz
38,887
DOC: create shared includes for comparison docs, take III
{ "avatar_url": "https://avatars.githubusercontent.com/u/86842?v=4", "events_url": "https://api.github.com/users/afeld/events{/privacy}", "followers_url": "https://api.github.com/users/afeld/followers", "following_url": "https://api.github.com/users/afeld/following{/other_user}", "gists_url": "https://api.github.com/users/afeld/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/afeld", "id": 86842, "login": "afeld", "node_id": "MDQ6VXNlcjg2ODQy", "organizations_url": "https://api.github.com/users/afeld/orgs", "received_events_url": "https://api.github.com/users/afeld/received_events", "repos_url": "https://api.github.com/users/afeld/repos", "site_admin": false, "starred_url": "https://api.github.com/users/afeld/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/afeld/subscriptions", "type": "User", "url": "https://api.github.com/users/afeld" }
[ { "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
2021-01-01T22:35:15Z
2021-01-04T08:43:07Z
2021-01-03T17:26:02Z
MEMBER
null
From original pull request (https://github.com/pandas-dev/pandas/pull/38771): > This will help ensure consistency between the examples. - [ ] ~~closes #xxxx~~ - [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/38887/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38887/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38887.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38887", "merged_at": "2021-01-03T17:26:02Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38887.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38887" }
https://api.github.com/repos/pandas-dev/pandas/issues/38888
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38888/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38888/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38888/events
https://github.com/pandas-dev/pandas/issues/38888
777,365,250
MDU6SXNzdWU3NzczNjUyNTA=
38,888
BUG: import_optional_dependency doesn't check version for submodules
{ "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": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "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
{ "avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4", "events_url": "https://api.github.com/users/lithomas1/events{/privacy}", "followers_url": "https://api.github.com/users/lithomas1/followers", "following_url": "https://api.github.com/users/lithomas1/following{/other_user}", "gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lithomas1", "id": 47963215, "login": "lithomas1", "node_id": "MDQ6VXNlcjQ3OTYzMjE1", "organizations_url": "https://api.github.com/users/lithomas1/orgs", "received_events_url": "https://api.github.com/users/lithomas1/received_events", "repos_url": "https://api.github.com/users/lithomas1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions", "type": "User", "url": "https://api.github.com/users/lithomas1" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4", "events_url": "https://api.github.com/users/lithomas1/events{/privacy}", "followers_url": "https://api.github.com/users/lithomas1/followers", "following_url": "https://api.github.com/users/lithomas1/following{/other_user}", "gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/lithomas1", "id": 47963215, "login": "lithomas1", "node_id": "MDQ6VXNlcjQ3OTYzMjE1", "organizations_url": "https://api.github.com/users/lithomas1/orgs", "received_events_url": "https://api.github.com/users/lithomas1/received_events", "repos_url": "https://api.github.com/users/lithomas1/repos", "site_admin": false, "starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions", "type": "User", "url": "https://api.github.com/users/lithomas1" } ]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2021-01-01T22:38:39Z
2021-01-04T00:14:16Z
2021-01-04T00:14:16Z
MEMBER
null
xref https://github.com/pandas-dev/pandas/pull/38370#discussion_r550723991 We'd like `import_optional_dependency` to correctly handle submodule imports AND to be able to import a specified minimum version of the dependency (for when a particular feature requires higher than global minimum version). cc @lithomas1 #### Expected Output ``` In [14]: import pandas as pd ...: from pandas.compat._optional import import_optional_dependency ...: import_optional_dependency("pyarrow.csv", min_version="3.0") --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-14-7cfc85634756> in <module> 1 import pandas as pd 2 from pandas.compat._optional import import_optional_dependency ----> 3 import_optional_dependency("pyarrow.csv", min_version="3.0") ~/repos/pandas/pandas/compat/_optional.py in import_optional_dependency(name, extra, raise_on_missing, on_version, min_version) ImportError: Pandas requires version '3.0' or newer of 'pyarrow.csv' (version '2.0.0' currently installed). ``` ``` In [16]: import_optional_dependency("pyarrow.csv", min_version="3.0", on_version="warn") /Users/andrewwieteska/repos/pandas/pandas/compat/_optional.py:137: UserWarning: Pandas requires version '3.0' or newer of 'pyarrow.csv' (version '2.0.0' currently installed). ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38888/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38888/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38889
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38889/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38889/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38889/events
https://github.com/pandas-dev/pandas/issues/38889
777,365,719
MDU6SXNzdWU3NzczNjU3MTk=
38,889
CLN/TST: 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": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "fbca04", "default": false, "description": "High level tracker for similar issues", "id": 183784729, "name": "Master Tracker", "node_id": "MDU6TGFiZWwxODM3ODQ3Mjk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Master%20Tracker" }, { "color": "5319e7", "default": false, "description": "parquet, feather", "id": 685114413, "name": "IO Parquet", "node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet" } ]
open
false
null
[]
null
1
2021-01-01T22:43:13Z
2021-08-28T18:38:05Z
null
MEMBER
null
This is a master tracker for the more cosmetic follow-ups to #38370: styling, testing, etc. - [ ] #38888 correctly check version for optional dependency submodule imports (to handle `import pyarrow.csv`)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38889/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38889/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38890
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38890/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38890/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38890/events
https://github.com/pandas-dev/pandas/pull/38890
777,370,246
MDExOlB1bGxSZXF1ZXN0NTQ3Njg4OTUx
38,890
CLN: add typing for dtype arg in directories core/indexes and core/strings (GH38808)
{ "avatar_url": "https://avatars.githubusercontent.com/u/44933366?v=4", "events_url": "https://api.github.com/users/avinashpancham/events{/privacy}", "followers_url": "https://api.github.com/users/avinashpancham/followers", "following_url": "https://api.github.com/users/avinashpancham/following{/other_user}", "gists_url": "https://api.github.com/users/avinashpancham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/avinashpancham", "id": 44933366, "login": "avinashpancham", "node_id": "MDQ6VXNlcjQ0OTMzMzY2", "organizations_url": "https://api.github.com/users/avinashpancham/orgs", "received_events_url": "https://api.github.com/users/avinashpancham/received_events", "repos_url": "https://api.github.com/users/avinashpancham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/avinashpancham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/avinashpancham/subscriptions", "type": "User", "url": "https://api.github.com/users/avinashpancham" }
[ { "color": "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": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2021-01-01T23:22:05Z
2021-01-04T01:11:41Z
2021-01-04T01:11:37Z
CONTRIBUTOR
null
Follow on PR for #38808 - [ ] 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/38890/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38890/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38890.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38890", "merged_at": "2021-01-04T01:11:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38890.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38890" }
https://api.github.com/repos/pandas-dev/pandas/issues/38891
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38891/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38891/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38891/events
https://github.com/pandas-dev/pandas/pull/38891
777,371,042
MDExOlB1bGxSZXF1ZXN0NTQ3Njg5NTEy
38,891
Backport PR #38471 on branch 1.2.x (DOC: fixes for assert_frame_equal check_freq argument)
{ "avatar_url": "https://avatars.githubusercontent.com/u/14239619?v=4", "events_url": "https://api.github.com/users/kylekeppler/events{/privacy}", "followers_url": "https://api.github.com/users/kylekeppler/followers", "following_url": "https://api.github.com/users/kylekeppler/following{/other_user}", "gists_url": "https://api.github.com/users/kylekeppler/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kylekeppler", "id": 14239619, "login": "kylekeppler", "node_id": "MDQ6VXNlcjE0MjM5NjE5", "organizations_url": "https://api.github.com/users/kylekeppler/orgs", "received_events_url": "https://api.github.com/users/kylekeppler/received_events", "repos_url": "https://api.github.com/users/kylekeppler/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kylekeppler/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kylekeppler/subscriptions", "type": "User", "url": "https://api.github.com/users/kylekeppler" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-01-20T19:40:18Z", "closed_issues": 138, "created_at": "2020-12-13T17:06:11Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-01-18T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/81", "id": 6207963, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels", "node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==", "number": 81, "open_issues": 0, "state": "closed", "title": "1.2.1", "updated_at": "2021-01-20T19:40:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81" }
2
2021-01-01T23:29:45Z
2021-01-04T16:49:22Z
2021-01-02T11:11:58Z
CONTRIBUTOR
null
Backport PR #38471
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38891/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38891/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38891.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38891", "merged_at": "2021-01-02T11:11:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38891.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38891" }
https://api.github.com/repos/pandas-dev/pandas/issues/38892
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38892/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38892/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38892/events
https://github.com/pandas-dev/pandas/pull/38892
777,374,153
MDExOlB1bGxSZXF1ZXN0NTQ3NjkxODg2
38,892
ASV: Add asv for groupby.indices
{ "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "ae68cc", "default": false, "description": "Performance (ASV) benchmarks", "id": 732775912, "name": "Benchmark", "node_id": "MDU6TGFiZWw3MzI3NzU5MTI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2021-01-01T23:56:57Z
2021-01-03T18:44:59Z
2021-01-03T18:44:22Z
MEMBER
null
- [x] closes #38495 Asv for the indices performance regression
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38892/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38892/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38892.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38892", "merged_at": "2021-01-03T18:44:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38892.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38892" }
https://api.github.com/repos/pandas-dev/pandas/issues/38893
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38893/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38893/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38893/events
https://github.com/pandas-dev/pandas/pull/38893
777,379,295
MDExOlB1bGxSZXF1ZXN0NTQ3Njk1NzQ1
38,893
doc fix for testing.assert_series_equal check_freq arg
{ "avatar_url": "https://avatars.githubusercontent.com/u/14239619?v=4", "events_url": "https://api.github.com/users/kylekeppler/events{/privacy}", "followers_url": "https://api.github.com/users/kylekeppler/followers", "following_url": "https://api.github.com/users/kylekeppler/following{/other_user}", "gists_url": "https://api.github.com/users/kylekeppler/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kylekeppler", "id": 14239619, "login": "kylekeppler", "node_id": "MDQ6VXNlcjE0MjM5NjE5", "organizations_url": "https://api.github.com/users/kylekeppler/orgs", "received_events_url": "https://api.github.com/users/kylekeppler/received_events", "repos_url": "https://api.github.com/users/kylekeppler/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kylekeppler/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kylekeppler/subscriptions", "type": "User", "url": "https://api.github.com/users/kylekeppler" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-01-20T19:40:18Z", "closed_issues": 138, "created_at": "2020-12-13T17:06:11Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-01-18T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/81", "id": 6207963, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels", "node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==", "number": 81, "open_issues": 0, "state": "closed", "title": "1.2.1", "updated_at": "2021-01-20T19:40:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81" }
2
2021-01-02T00:46:40Z
2021-01-04T16:50:08Z
2021-01-03T17:01:53Z
CONTRIBUTOR
null
This fixes `check_freq` arg docs for `assert_series_equal` like #38471 did for `assert_frame_equal`. - [ ] closes #xxxx - [ ] 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/38893/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38893/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38893.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38893", "merged_at": "2021-01-03T17:01:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38893.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38893" }
https://api.github.com/repos/pandas-dev/pandas/issues/38894
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38894/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38894/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38894/events
https://github.com/pandas-dev/pandas/pull/38894
777,381,652
MDExOlB1bGxSZXF1ZXN0NTQ3Njk3NDI4
38,894
TST/CLN: deduplicate troublesome rank values
{ "avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4", "events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}", "followers_url": "https://api.github.com/users/mzeitlin11/followers", "following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}", "gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mzeitlin11", "id": 37011898, "login": "mzeitlin11", "node_id": "MDQ6VXNlcjM3MDExODk4", "organizations_url": "https://api.github.com/users/mzeitlin11/orgs", "received_events_url": "https://api.github.com/users/mzeitlin11/received_events", "repos_url": "https://api.github.com/users/mzeitlin11/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions", "type": "User", "url": "https://api.github.com/users/mzeitlin11" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
2021-01-02T01:11:31Z
2021-01-04T03:55:08Z
2021-01-04T03:35:48Z
MEMBER
null
xref https://github.com/pandas-dev/pandas/pull/38681#discussion_r548554225
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38894/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38894/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38894.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38894", "merged_at": "2021-01-04T03:35:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38894.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38894" }
https://api.github.com/repos/pandas-dev/pandas/issues/38895
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38895/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38895/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38895/events
https://github.com/pandas-dev/pandas/pull/38895
777,386,722
MDExOlB1bGxSZXF1ZXN0NTQ3NzAxMDkw
38,895
ENH: Add numba engine to several rolling aggregations
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
6
2021-01-02T02:06:51Z
2021-06-14T20:11:38Z
2021-01-04T21:10:56Z
MEMBER
null
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Adds `engine ` and `engine_kwargs` argument to `mean`, `median`, `sum`, `min`, `max`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38895/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38895/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38895.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38895", "merged_at": "2021-01-04T21:10:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38895.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38895" }
https://api.github.com/repos/pandas-dev/pandas/issues/38896
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38896/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38896/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38896/events
https://github.com/pandas-dev/pandas/issues/38896
777,386,991
MDU6SXNzdWU3NzczODY5OTE=
38,896
API: setitem copy/view behavior ndarray vs Categorical vs other EA
{ "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": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" }, { "color": "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": "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" }, { "color": "70e5ca", "default": false, "description": "", "id": 2085877452, "name": "Copy / view semantics", "node_id": "MDU6TGFiZWwyMDg1ODc3NDUy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Copy%20/%20view%20semantics" } ]
open
false
null
[]
null
12
2021-01-02T02:09:29Z
2021-08-14T23:06:11Z
null
MEMBER
null
xref #33457 which is about similar issue but goes through different code paths. In `Block.setitem` in cases where we are setting all the values for this block we have: ``` elif exact_match and is_categorical_dtype(arr_value.dtype): # GH25495 - If the current dtype is not categorical, we need to create a new categorical block values[indexer] = value return self.make_block(Categorical(self.values, dtype=arr_value.dtype)) elif exact_match and is_ea_value: # GH#32395 if we're going to replace the values entirely, just substitute in the new array return self.make_block(arr_value) elif exact_match: # We are setting _all_ of the array's values, so can cast to new dtype values[indexer] = value values = values.astype(arr_value.dtype, copy=False) ``` So we overwrite the existing values for categorical `value` or non-EA `value`. Example: ``` df = pd.DataFrame({ "A": [.1, .2, .3], "B": pd.array([1, 2, None], dtype="Int64"), "C": ["a", "b", "c"] }) orig_df = df[:] arr_np = df["A"]._values arr_ea = df["B"]._values cat = pd.Categorical(df["C"]) # Note: there are many equivalent-looking ways of doing this setitem operation but few of them go through this code path. df.loc[range(3), "A"] = arr_np[::-1] df.loc[range(3), "B"] = arr_ea[::-1] df.loc[range(3), "C"] = cat[::-1] >>> df A B C 0 0.3 <NA> c 1 0.2 2 b 2 0.1 1 a >>> df.dtypes A float64 B Int64 C category dtype: object >>> orig_df A B C 0 0.3 1 a 1 0.2 2 b 2 0.1 <NA> c >>> orig_df.dtypes A float64 B Int64 C object dtype: object ``` The categorical behavior we implemented in #23393 and AFAICT the over-writing behavior was not discussed/intentional. Similarly the other EA behavior was implemented in #32479 and I don't see anything about the overwrite-or-not. I haven't tracked down the origin of the non-EA behavior. I think all three cases should have the same behavior. We should also have the same behavior for should-be-equivalent setters, e.g. if we used iloc instead of loc, or `[:, "A"]` instead of `[range(3), "A"]`. I think I agree with @TomAugspurger's [comment](https://github.com/pandas-dev/pandas/issues/33457#issuecomment-660126628) that these should always be in-place, but not sure ATM if that can be done without breaking consistency elsewhere.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38896/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38896/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38897
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38897/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38897/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38897/events
https://github.com/pandas-dev/pandas/pull/38897
777,426,807
MDExOlB1bGxSZXF1ZXN0NTQ3NzMwNzk2
38,897
TST/REF: split io/parsers/test_common into multiple files
{ "avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4", "events_url": "https://api.github.com/users/arw2019/events{/privacy}", "followers_url": "https://api.github.com/users/arw2019/followers", "following_url": "https://api.github.com/users/arw2019/following{/other_user}", "gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/arw2019", "id": 48889395, "login": "arw2019", "node_id": "MDQ6VXNlcjQ4ODg5Mzk1", "organizations_url": "https://api.github.com/users/arw2019/orgs", "received_events_url": "https://api.github.com/users/arw2019/received_events", "repos_url": "https://api.github.com/users/arw2019/repos", "site_admin": false, "starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/arw2019/subscriptions", "type": "User", "url": "https://api.github.com/users/arw2019" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
2021-01-02T08:35:39Z
2021-01-04T00:50:18Z
2021-01-04T00:50:12Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Another precursor to #38370
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38897/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38897/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38897.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38897", "merged_at": "2021-01-04T00:50:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38897.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38897" }
https://api.github.com/repos/pandas-dev/pandas/issues/38898
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38898/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38898/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38898/events
https://github.com/pandas-dev/pandas/issues/38898
777,427,514
MDU6SXNzdWU3Nzc0Mjc1MTQ=
38,898
BUG: Categorical RollingGroupby will raise IndexError
{ "avatar_url": "https://avatars.githubusercontent.com/u/5796276?v=4", "events_url": "https://api.github.com/users/Heerozh/events{/privacy}", "followers_url": "https://api.github.com/users/Heerozh/followers", "following_url": "https://api.github.com/users/Heerozh/following{/other_user}", "gists_url": "https://api.github.com/users/Heerozh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Heerozh", "id": 5796276, "login": "Heerozh", "node_id": "MDQ6VXNlcjU3OTYyNzY=", "organizations_url": "https://api.github.com/users/Heerozh/orgs", "received_events_url": "https://api.github.com/users/Heerozh/received_events", "repos_url": "https://api.github.com/users/Heerozh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Heerozh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Heerozh/subscriptions", "type": "User", "url": "https://api.github.com/users/Heerozh" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
2
2021-01-02T08:42:24Z
2021-05-10T18:43:59Z
2021-01-02T08:51:57Z
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. --- ```python import pandas as pd print(pd.__version__, '\n') df = pd.DataFrame([1, 2, 3, 4, 5], index=pd.CategoricalIndex(["a", "b", "b", "a", "c"])) print(df) print(df.iloc[:4].groupby(level=0).rolling(2).sum()) ``` #### Problem description When the index contains only part of the Categorical, RollingGroupby will raise an error: ``` pandas\core\window\indexers.py in get_window_bounds(self, num_values, min_periods, center, closed) 320 # Extend as we'll be slicing window like [start, end) 321 window_indicies = np.append( --> 322 window_indicies, [window_indicies[-1] + 1] 323 ).astype(np.int64) 324 start_arrays.append(window_indicies.take(start)) IndexError: index -1 is out of bounds for axis 0 with size 0 ``` This problem has appeared since 1.1.0, and 1.0.5 runs normally #### Expected Output ``` 1.0.5 0 a 1 b 2 b 3 a 4 c 5 0 a a NaN a 5.0 b b NaN b 5.0 ``` <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.7.9.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : Intel64 Family 6 Model 85 Stepping 4, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.1.3 numpy : 1.19.2 pytz : 2020.4 dateutil : 2.8.1 pip : 20.3.3 setuptools : 51.0.0.post20201207 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.2 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.15.1 pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : None tables : None tabulate : 0.8.7 xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38898/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38898/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38899
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38899/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38899/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38899/events
https://github.com/pandas-dev/pandas/pull/38899
777,459,707
MDExOlB1bGxSZXF1ZXN0NTQ3NzUzNTc2
38,899
Validate axis args
{ "avatar_url": "https://avatars.githubusercontent.com/u/70824089?v=4", "events_url": "https://api.github.com/users/tonyyyyip/events{/privacy}", "followers_url": "https://api.github.com/users/tonyyyyip/followers", "following_url": "https://api.github.com/users/tonyyyyip/following{/other_user}", "gists_url": "https://api.github.com/users/tonyyyyip/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tonyyyyip", "id": 70824089, "login": "tonyyyyip", "node_id": "MDQ6VXNlcjcwODI0MDg5", "organizations_url": "https://api.github.com/users/tonyyyyip/orgs", "received_events_url": "https://api.github.com/users/tonyyyyip/received_events", "repos_url": "https://api.github.com/users/tonyyyyip/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tonyyyyip/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tonyyyyip/subscriptions", "type": "User", "url": "https://api.github.com/users/tonyyyyip" }
[ { "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" }
2
2021-01-02T13:21:07Z
2021-01-03T17:14:44Z
2021-01-03T17:14:40Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry This is a follow up PR on #37924 @jreback cheers
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38899/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38899/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38899.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38899", "merged_at": "2021-01-03T17:14:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38899.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38899" }
https://api.github.com/repos/pandas-dev/pandas/issues/38900
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38900/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38900/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38900/events
https://github.com/pandas-dev/pandas/issues/38900
777,470,877
MDU6SXNzdWU3Nzc0NzA4Nzc=
38,900
REGR: Buffer dtype mismatch, expected 'Python object' but got a string
{ "avatar_url": "https://avatars.githubusercontent.com/u/7630866?v=4", "events_url": "https://api.github.com/users/forgetso/events{/privacy}", "followers_url": "https://api.github.com/users/forgetso/followers", "following_url": "https://api.github.com/users/forgetso/following{/other_user}", "gists_url": "https://api.github.com/users/forgetso/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/forgetso", "id": 7630866, "login": "forgetso", "node_id": "MDQ6VXNlcjc2MzA4NjY=", "organizations_url": "https://api.github.com/users/forgetso/orgs", "received_events_url": "https://api.github.com/users/forgetso/received_events", "repos_url": "https://api.github.com/users/forgetso/repos", "site_admin": false, "starred_url": "https://api.github.com/users/forgetso/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/forgetso/subscriptions", "type": "User", "url": "https://api.github.com/users/forgetso" }
[ { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" }, { "color": "01a886", "default": false, "description": "replace method", "id": 1652721180, "name": "replace", "node_id": "MDU6TGFiZWwxNjUyNzIxMTgw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/replace" } ]
closed
false
null
[]
{ "closed_at": "2021-01-20T19:40:18Z", "closed_issues": 138, "created_at": "2020-12-13T17:06:11Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-01-18T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/81", "id": 6207963, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels", "node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==", "number": 81, "open_issues": 0, "state": "closed", "title": "1.2.1", "updated_at": "2021-01-20T19:40:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81" }
5
2021-01-02T14:42:12Z
2021-01-09T22:05:13Z
2021-01-09T22:05:13Z
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 # Your code here >>> import pandas as pd >>> df = pd.DataFrame(['o',"o'doul's",'oad','oaf','oafish']) >>> df = df.astype('|S') >>> df 0 0 b'o' 1 b"o'doul's" 2 b'oad' 3 b'oaf' 4 b'oafish' >>> import numpy as np >>> df.replace({None:np.nan}) ``` #### Problem description This was working in 1.1.5 ``` df[c].replace({None: np.NaN}, inplace=True) File "/home/user/anaconda3/envs/uniqueness/lib/python3.8/site-packages/pandas/core/series.py", line 4479, in replace return super().replace( File "/home/user/anaconda3/envs/uniqueness/lib/python3.8/site-packages/pandas/core/generic.py", line 6840, in replace return self.replace( File "/home/user/anaconda3/envs/uniqueness/lib/python3.8/site-packages/pandas/core/series.py", line 4479, in replace return super().replace( File "/home/user/anaconda3/envs/uniqueness/lib/python3.8/site-packages/pandas/core/generic.py", line 6889, in replace new_data = self._mgr.replace_list( File "/home/user/anaconda3/envs/uniqueness/lib/python3.8/site-packages/pandas/core/internals/managers.py", line 664, in replace_list bm = self.apply( File "/home/user/anaconda3/envs/uniqueness/lib/python3.8/site-packages/pandas/core/internals/managers.py", line 427, in apply applied = getattr(b, f)(**kwargs) File "/home/user/anaconda3/envs/uniqueness/lib/python3.8/site-packages/pandas/core/internals/blocks.py", line 910, in _replace_list [b.convert(numeric=False, copy=True) for b in result] File "/home/user/anaconda3/envs/uniqueness/lib/python3.8/site-packages/pandas/core/internals/blocks.py", line 910, in <listcomp> [b.convert(numeric=False, copy=True) for b in result] File "/home/user/anaconda3/envs/uniqueness/lib/python3.8/site-packages/pandas/core/internals/blocks.py", line 2558, in convert values = f(None, self.values.ravel(), None) File "/home/user/anaconda3/envs/uniqueness/lib/python3.8/site-packages/pandas/core/internals/blocks.py", line 2542, in f values = soft_convert_objects( File "/home/user/anaconda3/envs/uniqueness/lib/python3.8/site-packages/pandas/core/dtypes/cast.py", line 1139, in soft_convert_objects values = lib.maybe_convert_objects(values, convert_datetime=True) File "pandas/_libs/lib.pyx", line 2125, in pandas._libs.lib.maybe_convert_objects ValueError: Buffer dtype mismatch, expected 'Python object' but got a string ``` #### Expected Output Nones are replaced with nans #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : b5958ee1999e9aead1938c0bba2b674378807b3d python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-128-generic Version : #131-Ubuntu SMP Wed Dec 9 06:57:35 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 1.1.5 numpy : 1.19.4 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2.4 setuptools : 50.3.2 Cython : 3.0a6 pytest : 6.1.2 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.5.2 html5lib : None pymysql : None psycopg2 : 2.8.5 (dt dec pq3 ext lo64) jinja2 : 3.0.0a1 IPython : 7.17.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.20 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/38900/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38900/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38901
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38901/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38901/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38901/events
https://github.com/pandas-dev/pandas/pull/38901
777,479,224
MDExOlB1bGxSZXF1ZXN0NTQ3NzY3MDgx
38,901
TST: strictly xfail
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
5
2021-01-02T15:40:36Z
2021-01-03T20:35:30Z
2021-01-03T19:43:59Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Continuation of #38881. This handles cases where replacing pytest.xfail is clear, opened #38902 for the handful of remaining cases. In the case where `pytest.xfail` is used for a test which has been yet to be implemented, I've added ~~`assert False` to maintain the current behavior of counting it as an xfail. Maybe there is a better alternative here.~~ `raise NotImplementedError`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38901/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38901/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38901.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38901", "merged_at": "2021-01-03T19:43:59Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38901.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38901" }
https://api.github.com/repos/pandas-dev/pandas/issues/38902
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38902/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38902/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38902/events
https://github.com/pandas-dev/pandas/issues/38902
777,479,259
MDU6SXNzdWU3Nzc0NzkyNTk=
38,902
TST: Disallow pytest.xfail
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2021-01-02T15:40:50Z
2021-02-08T21:47:50Z
2021-02-08T21:47:50Z
MEMBER
null
pytest.xfail will immediately stop a test, not checking if it would have otherwise succeeded. The request fixture can used to run a test and only pass if the test does indeed fail: request.node.add_marker(pytest.mark.xfail(reason="...")) - [x] Remove all occurrences of `pytest.xfail` - [ ] Update docs - [ ] Add pre-commit hook PR #38901 handles many of the current occurrences. The remaining ones are in: - [x] indexes/test_common - [x] pandas/conftest - [x] indexes/test_setops - [x] indexing/test_coercion - [x] series/indexing/test_setitem - [x] series/test_arithmetic - [x] series/indexing/test_where - [x] tseries/offsets
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38902/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38902/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38903
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38903/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38903/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38903/events
https://github.com/pandas-dev/pandas/pull/38903
777,481,922
MDExOlB1bGxSZXF1ZXN0NTQ3NzY4OTA4
38,903
ENH: Use Kahan summation to calculate groupby.sum()
{ "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
2021-01-02T15:58:45Z
2021-01-03T23:29:09Z
2021-01-03T23:25:09Z
MEMBER
null
- [x] closes #38778 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry This simplifies the op example. I think ``` series = Series([1e16, 99, -5e15, -5e15]) series.sum() ``` is dispatched to numpy? The result is wrong too. ``100.0`` Mean doesn't work either. I will look through the functions to determine which need Kahan summation too and open an issue to track these.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38903/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38903/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38903.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38903", "merged_at": "2021-01-03T23:25:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38903.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38903" }
https://api.github.com/repos/pandas-dev/pandas/issues/38904
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38904/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38904/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38904/events
https://github.com/pandas-dev/pandas/issues/38904
777,492,018
MDU6SXNzdWU3Nzc0OTIwMTg=
38,904
TST: skips in extension.test_categorical
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" } ]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2021-01-02T17:03:19Z
2021-01-12T01:17:22Z
2021-01-12T01:17:22Z
MEMBER
null
ref: https://github.com/pandas-dev/pandas/pull/38901#discussion_r550899659 At least some of the tests that are skipped here should instead be xfailed.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38904/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38904/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38905
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38905/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38905/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38905/events
https://github.com/pandas-dev/pandas/pull/38905
777,500,754
MDExOlB1bGxSZXF1ZXN0NTQ3NzgxNDM0
38,905
CI: enable parallel testing on arm64 build #36719
{ "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" }, { "color": "c2e0c6", "default": false, "description": "aarch64 architecture", "id": 2628846204, "name": "ARM", "node_id": "MDU6TGFiZWwyNjI4ODQ2MjA0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ARM" } ]
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" }
15
2021-01-02T18:02:06Z
2021-03-18T16:42:06Z
2021-01-24T21:47:46Z
MEMBER
null
- [x] closes #36719
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38905/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38905/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38905.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38905", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/38905.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38905" }
https://api.github.com/repos/pandas-dev/pandas/issues/38906
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38906/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38906/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38906/events
https://github.com/pandas-dev/pandas/issues/38906
777,510,890
MDU6SXNzdWU3Nzc1MTA4OTA=
38,906
BUG: reindexing empty CategoricalIndex fails if target contains duplicates
{ "avatar_url": "https://avatars.githubusercontent.com/u/18488?v=4", "events_url": "https://api.github.com/users/batterseapower/events{/privacy}", "followers_url": "https://api.github.com/users/batterseapower/followers", "following_url": "https://api.github.com/users/batterseapower/following{/other_user}", "gists_url": "https://api.github.com/users/batterseapower/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/batterseapower", "id": 18488, "login": "batterseapower", "node_id": "MDQ6VXNlcjE4NDg4", "organizations_url": "https://api.github.com/users/batterseapower/orgs", "received_events_url": "https://api.github.com/users/batterseapower/received_events", "repos_url": "https://api.github.com/users/batterseapower/repos", "site_admin": false, "starred_url": "https://api.github.com/users/batterseapower/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/batterseapower/subscriptions", "type": "User", "url": "https://api.github.com/users/batterseapower" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2021-01-02T19:16:35Z
2021-01-10T02:39:53Z
2021-01-10T02:39:53Z
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. (Tested version 1.2.0) - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- This fails: ```python pd.DataFrame(columns=pd.CategoricalIndex([]), index=['K']).reindex(columns=pd.CategoricalIndex(['A', 'A'])) ``` But these succeed: ```python pd.DataFrame(columns=pd.Index([]), index=['K']).reindex(columns=pd.CategoricalIndex(['A', 'A'])) pd.DataFrame(columns=pd.CategoricalIndex([]), index=['K']).reindex(columns=pd.CategoricalIndex(['A', 'B'])) pd.DataFrame(columns=pd.CategoricalIndex([]), index=['K']).reindex(columns=pd.CategoricalIndex([])) ``` The error is: ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Users\mboling\Anaconda3\envs\pandastest\lib\site-packages\pandas\util\_decorators.py", line 312, in wrapper return func(*args, **kwargs) File "C:\Users\mboling\Anaconda3\envs\pandastest\lib\site-packages\pandas\core\frame.py", line 4173, in reindex return super().reindex(**kwargs) File "C:\Users\mboling\Anaconda3\envs\pandastest\lib\site-packages\pandas\core\generic.py", line 4806, in reindex return self._reindex_axes( File "C:\Users\mboling\Anaconda3\envs\pandastest\lib\site-packages\pandas\core\frame.py", line 4013, in _reindex_axes frame = frame._reindex_columns( File "C:\Users\mboling\Anaconda3\envs\pandastest\lib\site-packages\pandas\core\frame.py", line 4055, in _reindex_columns new_columns, indexer = self.columns.reindex( File "C:\Users\mboling\Anaconda3\envs\pandastest\lib\site-packages\pandas\core\indexes\category.py", line 448, in reindex new_target, indexer, _ = result._reindex_non_unique(np.array(target)) File "C:\Users\mboling\Anaconda3\envs\pandastest\lib\site-packages\pandas\core\indexes\base.py", line 3589, in _reindex_non_unique new_indexer = np.arange(len(self.take(indexer))) File "C:\Users\mboling\Anaconda3\envs\pandastest\lib\site-packages\pandas\core\indexes\base.py", line 751, in take taken = algos.take( File "C:\Users\mboling\Anaconda3\envs\pandastest\lib\site-packages\pandas\core\algorithms.py", line 1657, in take result = arr.take(indices, axis=axis) IndexError: cannot do a non-empty take from an empty axes. ``` #### Problem description It is unexpected that `CategoricalIndex` behaves differently than `Index` in this regard. A problem similar to this was already reported and solved in #16770, but it looks like there is a remaining bug in the edge case where the target index contains duplicates. #### Expected Output The failing code should return a dataframe with two columns and one row. #### Output of ``pd.show_versions()`` <details> pd.show_versions() fails because I dont' have numba installed in this environment and it's currently impossible to install it simultaneously with Pandas 1.2.0, so this is the output of "conda list" instead: blas 1.0 mkl bottleneck 1.3.2 py39h7cc1a96_1 ca-certificates 2020.12.8 haa95532_0 certifi 2020.12.5 py39haa95532_0 et_xmlfile 1.0.1 py_1001 icc_rt 2019.0.0 h0cc432a_1 intel-openmp 2020.3 h57928b3_311 conda-forge jdcal 1.4.1 py_0 libblas 3.9.0 5_mkl conda-forge libcblas 3.9.0 5_mkl conda-forge liblapack 3.9.0 5_mkl conda-forge mkl 2020.4 hb70f87d_311 conda-forge mkl-service 2.3.0 py39h196d8e1_0 numpy 1.19.4 py39h6635163_1 conda-forge openpyxl 3.0.5 py_0 openssl 1.1.1i h2bbff1b_0 pandas 1.2.0 py39h2e25243_0 conda-forge pip 20.3.3 pyhd8ed1ab_0 conda-forge python 3.9.1 h7840368_2_cpython conda-forge python-dateutil 2.8.1 py_0 conda-forge python_abi 3.9 1_cp39 conda-forge pytz 2020.5 pyhd8ed1ab_0 conda-forge scipy 1.5.2 py39h14eb087_0 setuptools 49.6.0 py39h467e6f4_2 conda-forge six 1.15.0 pyh9f0ad1d_0 conda-forge sqlite 3.34.0 h8ffe710_0 conda-forge tzdata 2020f he74cb21_0 conda-forge vc 14.2 hb210afc_2 conda-forge vs2015_runtime 14.28.29325 h5e1d092_0 conda-forge wheel 0.36.2 pyhd3deb0d_0 conda-forge wincertstore 0.2 py39hde42818_1005 conda-forge xlrd 2.0.1 pyhd3eb1b0_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/38906/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38906/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38907
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38907/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38907/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38907/events
https://github.com/pandas-dev/pandas/pull/38907
777,513,688
MDExOlB1bGxSZXF1ZXN0NTQ3NzkwMzc1
38,907
BUG: casting on concat with empties
{ "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": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "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
2021-01-02T19:38:03Z
2021-01-03T18:08:41Z
2021-01-03T16:58:04Z
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 Covers the case missed by #38843
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38907/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38907/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38907.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38907", "merged_at": "2021-01-03T16:58:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38907.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38907" }
https://api.github.com/repos/pandas-dev/pandas/issues/38908
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38908/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38908/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38908/events
https://github.com/pandas-dev/pandas/issues/38908
777,519,516
MDU6SXNzdWU3Nzc1MTk1MTY=
38,908
BUG: pandas 1.2.0 df.rolling().aggregate('skew') modified original data
{ "avatar_url": "https://avatars.githubusercontent.com/u/357506?v=4", "events_url": "https://api.github.com/users/qinxuye/events{/privacy}", "followers_url": "https://api.github.com/users/qinxuye/followers", "following_url": "https://api.github.com/users/qinxuye/following{/other_user}", "gists_url": "https://api.github.com/users/qinxuye/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/qinxuye", "id": 357506, "login": "qinxuye", "node_id": "MDQ6VXNlcjM1NzUwNg==", "organizations_url": "https://api.github.com/users/qinxuye/orgs", "received_events_url": "https://api.github.com/users/qinxuye/received_events", "repos_url": "https://api.github.com/users/qinxuye/repos", "site_admin": false, "starred_url": "https://api.github.com/users/qinxuye/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/qinxuye/subscriptions", "type": "User", "url": "https://api.github.com/users/qinxuye" }
[ { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "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-01-20T19:40:18Z", "closed_issues": 138, "created_at": "2020-12-13T17:06:11Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-01-18T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/81", "id": 6207963, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels", "node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==", "number": 81, "open_issues": 0, "state": "closed", "title": "1.2.1", "updated_at": "2021-01-20T19:40:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81" }
3
2021-01-02T20:22:25Z
2021-01-04T13:37:14Z
2021-01-04T13:37:14Z
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 # Your code here In [1]: import pandas as pd In [2]: pd.__version__ Out[2]: '1.2.0' In [3]: import numpy as np In [4]: df = pd.DataFrame({'a': [1., np.nan, 5.], 'b': [.1, .5, 1.0]}) In [5]: df Out[5]: a b 0 1.0 0.1 1 NaN 0.5 2 5.0 1.0 In [6]: df.rolling(4).aggregate('skew') Out[6]: a b 0 NaN NaN 1 NaN NaN 2 NaN NaN In [7]: df Out[7]: a b 0 -2.0 -0.9 1 NaN -0.5 2 2.0 0.0 ``` #### Problem description [this should explain **why** the current behaviour is a problem and why the expected output is a better solution] For pandas 1.2.0, `df.rolling().aggregate('skew')` modified original data. And I verified that `kurt` has the same problem. #### Expected Output Original data should not be modified, the behavior works well in pandas 1.1.5. ``` In [1]: import pandas as pd In [3]: import numpy as np In [4]: df = pd.DataFrame({'a': [1., np.nan, 5.], 'b': [.1, .5, 1.0]}) In [5]: pd.__version__ Out[5]: '1.1.5' In [6]: df.rolling(4).aggregate('skew') Out[6]: a b 0 NaN NaN 1 NaN NaN 2 NaN NaN In [7]: df Out[7]: a b 0 1.0 0.1 1 NaN 0.5 2 5.0 1.0 ``` #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag] In [8]: pd.show_versions() INSTALLED VERSIONS ------------------ commit : 3e89b4c4b1580aa890023fc550774e63d499da25 python : 3.8.2.final.0 python-bits : 64 OS : Darwin OS-release : 19.6.0 Version : Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141.2.2~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : zh_CN.UTF-8 LOCALE : zh_CN.UTF-8 pandas : 1.2.0 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 46.1.3.post20200330 Cython : 0.29.16 pytest : 5.4.1 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : 7.19.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : 2.7.2 odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.15.1 pyxlsb : None s3fs : None scipy : 1.4.1 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/38908/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38908/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38909
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38909/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38909/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38909/events
https://github.com/pandas-dev/pandas/pull/38909
777,539,772
MDExOlB1bGxSZXF1ZXN0NTQ3ODA4MjE3
38,909
BUG: Fixed regression in rolling.skew and rolling.kurt modifying object
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "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-01-20T19:40:18Z", "closed_issues": 138, "created_at": "2020-12-13T17:06:11Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-01-18T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/81", "id": 6207963, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81/labels", "node_id": "MDk6TWlsZXN0b25lNjIwNzk2Mw==", "number": 81, "open_issues": 0, "state": "closed", "title": "1.2.1", "updated_at": "2021-01-20T19:40:18Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/81" }
2
2021-01-02T23:07:19Z
2021-01-04T14:04:50Z
2021-01-04T13:37:14Z
MEMBER
null
- [x] closes #38908 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Alternative would be np.copy before releasing gil. In this case we would have to touch values_copy twice in case of ``min_val - mean_val > -1e5``
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38909/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38909/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38909.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38909", "merged_at": "2021-01-04T13:37:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38909.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38909" }
https://api.github.com/repos/pandas-dev/pandas/issues/38910
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38910/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38910/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38910/events
https://github.com/pandas-dev/pandas/pull/38910
777,540,082
MDExOlB1bGxSZXF1ZXN0NTQ3ODA4NDEx
38,910
REF: simplify Index.__new__
{ "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" }, { "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
2021-01-02T23:10:19Z
2021-01-03T18:04:46Z
2021-01-03T17:03:03Z
MEMBER
null
Avoid recursing where possible.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38910/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38910/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38910.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38910", "merged_at": "2021-01-03T17:03:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38910.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38910" }
https://api.github.com/repos/pandas-dev/pandas/issues/38911
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38911/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38911/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38911/events
https://github.com/pandas-dev/pandas/pull/38911
777,541,963
MDExOlB1bGxSZXF1ZXN0NTQ3ODA5Njgz
38,911
DOC: how to revert MultiIndex.to_flat_index
{ "avatar_url": "https://avatars.githubusercontent.com/u/12021217?v=4", "events_url": "https://api.github.com/users/adamjstewart/events{/privacy}", "followers_url": "https://api.github.com/users/adamjstewart/followers", "following_url": "https://api.github.com/users/adamjstewart/following{/other_user}", "gists_url": "https://api.github.com/users/adamjstewart/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/adamjstewart", "id": 12021217, "login": "adamjstewart", "node_id": "MDQ6VXNlcjEyMDIxMjE3", "organizations_url": "https://api.github.com/users/adamjstewart/orgs", "received_events_url": "https://api.github.com/users/adamjstewart/received_events", "repos_url": "https://api.github.com/users/adamjstewart/repos", "site_admin": false, "starred_url": "https://api.github.com/users/adamjstewart/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/adamjstewart/subscriptions", "type": "User", "url": "https://api.github.com/users/adamjstewart" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2021-01-02T23:28:30Z
2021-01-04T01:12:59Z
2021-01-04T01:12:07Z
CONTRIBUTOR
null
Took me way too long to figure this out. Hopefully this benefits someone else!
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38911/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38911/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38911.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38911", "merged_at": "2021-01-04T01:12:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38911.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38911" }
https://api.github.com/repos/pandas-dev/pandas/issues/38912
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38912/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38912/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38912/events
https://github.com/pandas-dev/pandas/pull/38912
777,551,680
MDExOlB1bGxSZXF1ZXN0NTQ3ODE2NTM0
38,912
CLN: re-use sanitize_index
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
2021-01-03T01:02:09Z
2021-01-03T18:05:17Z
2021-01-03T17:11:39Z
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/38912/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38912/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38912.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38912", "merged_at": "2021-01-03T17:11:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38912.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38912" }
https://api.github.com/repos/pandas-dev/pandas/issues/38913
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38913/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38913/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38913/events
https://github.com/pandas-dev/pandas/issues/38913
777,564,212
MDU6SXNzdWU3Nzc1NjQyMTI=
38,913
ENH: melt into categorical column
{ "avatar_url": "https://avatars.githubusercontent.com/u/234149?v=4", "events_url": "https://api.github.com/users/v1gnesh/events{/privacy}", "followers_url": "https://api.github.com/users/v1gnesh/followers", "following_url": "https://api.github.com/users/v1gnesh/following{/other_user}", "gists_url": "https://api.github.com/users/v1gnesh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/v1gnesh", "id": 234149, "login": "v1gnesh", "node_id": "MDQ6VXNlcjIzNDE0OQ==", "organizations_url": "https://api.github.com/users/v1gnesh/orgs", "received_events_url": "https://api.github.com/users/v1gnesh/received_events", "repos_url": "https://api.github.com/users/v1gnesh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/v1gnesh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/v1gnesh/subscriptions", "type": "User", "url": "https://api.github.com/users/v1gnesh" }
[ { "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": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
open
false
null
[]
null
2
2021-01-03T03:13:17Z
2021-08-14T23:10:16Z
null
NONE
null
Reference: https://stackoverflow.com/questions/64900604/categorical-column-after-melt-in-pandas When the `value_vars` are being melted into `var_name`, can `var_name` be setup as a categorical dtype, either during or before the `melt`? I'm hoping this would save a load of memory by having just a single copy of repetitive 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/38913/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38913/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38914
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38914/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38914/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38914/events
https://github.com/pandas-dev/pandas/issues/38914
777,570,136
MDU6SXNzdWU3Nzc1NzAxMzY=
38,914
BUG: Timestamp.to_period() fails for freq="MS"
{ "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": "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": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" } ]
open
false
null
[]
null
1
2021-01-03T04:17:29Z
2021-08-14T23:00:24Z
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 idx = pd.date_range(start='1/1/2018', end='12/1/2018', freq="MS") idx[-1].to_period() ``` #### Problem description This results in the following exception: ```python --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) pandas\_libs\tslibs\period.pyx in pandas._libs.tslibs.period.freq_to_dtype_code() AttributeError: 'pandas._libs.tslibs.offsets.MonthBegin' object has no attribute '_period_dtype_code' The above exception was the direct cause of the following exception: ValueError Traceback (most recent call last) <ipython-input-9-8bcd22fce921> in <module> 1 idx = pd.date_range(start='1/1/2018', end='12/1/2018', freq="MS") ----> 2 idx[-1].to_period() pandas\_libs\tslibs\timestamps.pyx in pandas._libs.tslibs.timestamps._Timestamp.to_period() pandas\_libs\tslibs\period.pyx in pandas._libs.tslibs.period.Period.__new__() pandas\_libs\tslibs\period.pyx in pandas._libs.tslibs.period.freq_to_dtype_code() ValueError: Invalid frequency: {0} ``` `Timestamp.to_period()` does not work for `freq="MS"`, other `freq` values might also not work? #### Expected Output ```python Period('2018-01', 'M') ``` This can only be achieved by the following workaround: ```python idx = pd.date_range(start='1/1/2018 00:00:00', end='1/5/2018 00:01:00', freq="MS") cutoff = idx[-1] date = pd.DatetimeIndex([cutoff], freq=cutoff.freq) date.to_period()[0] >>> Period('2018-01', 'M') ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : b5958ee1999e9aead1938c0bba2b674378807b3d python : 3.8.5.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18362 machine : AMD64 processor : AMD64 Family 21 Model 112 Stepping 0, AuthenticAMD byteorder : little LC_ALL : None LANG : None LOCALE : English_United States.1252 pandas : 1.1.5 numpy : 1.19.4 pytz : 2020.4 dateutil : 2.8.1 pip : 20.2.4 setuptools : 50.3.1.post20201107 Cython : 0.29.21 pytest : 3.6.0 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : 0.8.4 fastparquet : None gcsfs : None matplotlib : 3.3.3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.4 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : 0.50.1 </details>
{ "+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/38914/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38914/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38915
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38915/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38915/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38915/events
https://github.com/pandas-dev/pandas/pull/38915
777,576,044
MDExOlB1bGxSZXF1ZXN0NTQ3ODMzOTcx
38,915
REF: de-duplicate code in libparsing/libperiod
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" }, { "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
2021-01-03T05:19:22Z
2021-01-04T01:18:49Z
2021-01-04T00:10:20Z
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/38915/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38915/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38915.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38915", "merged_at": "2021-01-04T00:10:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38915.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38915" }
https://api.github.com/repos/pandas-dev/pandas/issues/38916
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38916/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38916/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38916/events
https://github.com/pandas-dev/pandas/pull/38916
777,579,674
MDExOlB1bGxSZXF1ZXN0NTQ3ODM2NzIx
38,916
Remove Python2 numeric relics
{ "avatar_url": "https://avatars.githubusercontent.com/u/6774676?v=4", "events_url": "https://api.github.com/users/eumiro/events{/privacy}", "followers_url": "https://api.github.com/users/eumiro/followers", "following_url": "https://api.github.com/users/eumiro/following{/other_user}", "gists_url": "https://api.github.com/users/eumiro/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/eumiro", "id": 6774676, "login": "eumiro", "node_id": "MDQ6VXNlcjY3NzQ2NzY=", "organizations_url": "https://api.github.com/users/eumiro/orgs", "received_events_url": "https://api.github.com/users/eumiro/received_events", "repos_url": "https://api.github.com/users/eumiro/repos", "site_admin": false, "starred_url": "https://api.github.com/users/eumiro/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eumiro/subscriptions", "type": "User", "url": "https://api.github.com/users/eumiro" }
[]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
2021-01-03T05:52:11Z
2021-01-05T07:10:41Z
2021-01-03T17:09:49Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Modernize the code to Python 3 by removing Python 2 numeric hacks, such as: - `a / b` of two integers now always returns a float, so no need to convert `a` and/or `b` to float (or to use float literals) - `a // b` of two integers returns an integer, use it instead of `int(a / b)` - `math.ceil`, `math.floor`, and `round` return integer, so no need to convert the result to integer - `1e6` is a float, converting it to `int(1e6)` is slower than `10 ** 6` (or `1_000_000`)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/38916/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38916/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/38916.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/38916", "merged_at": "2021-01-03T17:09:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/38916.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/38916" }
https://api.github.com/repos/pandas-dev/pandas/issues/38917
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38917/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38917/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38917/events
https://github.com/pandas-dev/pandas/issues/38917
777,585,022
MDU6SXNzdWU3Nzc1ODUwMjI=
38,917
Passing DataFrame of values to fillna()
{ "avatar_url": "https://avatars.githubusercontent.com/u/32990698?v=4", "events_url": "https://api.github.com/users/rmwenzel/events{/privacy}", "followers_url": "https://api.github.com/users/rmwenzel/followers", "following_url": "https://api.github.com/users/rmwenzel/following{/other_user}", "gists_url": "https://api.github.com/users/rmwenzel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rmwenzel", "id": 32990698, "login": "rmwenzel", "node_id": "MDQ6VXNlcjMyOTkwNjk4", "organizations_url": "https://api.github.com/users/rmwenzel/orgs", "received_events_url": "https://api.github.com/users/rmwenzel/received_events", "repos_url": "https://api.github.com/users/rmwenzel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rmwenzel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rmwenzel/subscriptions", "type": "User", "url": "https://api.github.com/users/rmwenzel" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0e8a16", "default": true, "description": null, "id": 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/40813941?v=4", "events_url": "https://api.github.com/users/aniaan/events{/privacy}", "followers_url": "https://api.github.com/users/aniaan/followers", "following_url": "https://api.github.com/users/aniaan/following{/other_user}", "gists_url": "https://api.github.com/users/aniaan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aniaan", "id": 40813941, "login": "aniaan", "node_id": "MDQ6VXNlcjQwODEzOTQx", "organizations_url": "https://api.github.com/users/aniaan/orgs", "received_events_url": "https://api.github.com/users/aniaan/received_events", "repos_url": "https://api.github.com/users/aniaan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aniaan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aniaan/subscriptions", "type": "User", "url": "https://api.github.com/users/aniaan" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/40813941?v=4", "events_url": "https://api.github.com/users/aniaan/events{/privacy}", "followers_url": "https://api.github.com/users/aniaan/followers", "following_url": "https://api.github.com/users/aniaan/following{/other_user}", "gists_url": "https://api.github.com/users/aniaan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/aniaan", "id": 40813941, "login": "aniaan", "node_id": "MDQ6VXNlcjQwODEzOTQx", "organizations_url": "https://api.github.com/users/aniaan/orgs", "received_events_url": "https://api.github.com/users/aniaan/received_events", "repos_url": "https://api.github.com/users/aniaan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/aniaan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/aniaan/subscriptions", "type": "User", "url": "https://api.github.com/users/aniaan" } ]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
6
2021-01-03T06:45:05Z
2021-02-20T18:25:19Z
2021-01-25T16:40:37Z
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. I'm not sure if this is a bug, a documentation issue, or just user error. I found related issues #9750 #29048 that help me get the desired output but still don't explain why behavior doesn't match expectation based on my reading of the docs. #### Code Sample Following #9750 here's some code to reproduce the issue. ```python df = pd.DataFrame([[1, 1, 1],[2, 1, 1],[2, 1, 1], [np.nan, np.nan, np.nan]], columns=["a","b","c"]) df.fillna(df.mode()) ``` The resulting DataFrame is just `df` itself, i.e. without any null values filled. #### Problem description I understand from the issues I mentioned (and numerous StackOverflow answers) that this is due to `df.mode()` returning a `DataFrame`, as opposed to a `Series`, (which is why e.g. `df.mean()` gives the expected results). To get the desired output `df.fillna(df.mode().iloc[0])` works in this case. But I'm confused by [the docs](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.fillna.html) which describe the value parameter: > value: scalar, dict, Series, or DataFrame Value to use to fill holes (e.g. 0), alternately a dict/Series/DataFrame of values specifying which value to use for each index (for a Series) or column (for a DataFrame). Values not in the dict/Series/DataFrame will not be filled. This value cannot be a list. From how I read this, you should be able to pass a DataFrame with the same column names and have values filled for those columns. Just in case the passed in `DataFrame` needed to be the same shape, I tried ```python df2 = pd.DataFrame(np.zeros((4, 3))) df.fillna(df2) ``` But still got `df` back. I read the source but the answer still eludes me. #### Expected Output The expected behavior is that the missing values will be filled with mode of each column. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : b5958ee1999e9aead1938c0bba2b674378807b3d python : 3.8.5.final.0 python-bits : 64 OS : Darwin OS-release : 19.6.0 Version : Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.1.5 numpy : 1.19.2 pytz : 2020.5 dateutil : 2.8.1 pip : 20.3.3 setuptools : 51.0.0.post20201207 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 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/38917/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38917/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/38918
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/38918/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/38918/comments
https://api.github.com/repos/pandas-dev/pandas/issues/38918/events
https://github.com/pandas-dev/pandas/issues/38918
777,621,100
MDU6SXNzdWU3Nzc2MjExMDA=
38,918
ENH: change the category type to use unsigned int for the internal pointers
{ "avatar_url": "https://avatars.githubusercontent.com/u/2842616?v=4", "events_url": "https://api.github.com/users/meizy/events{/privacy}", "followers_url": "https://api.github.com/users/meizy/followers", "following_url": "https://api.github.com/users/meizy/following{/other_user}", "gists_url": "https://api.github.com/users/meizy/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meizy", "id": 2842616, "login": "meizy", "node_id": "MDQ6VXNlcjI4NDI2MTY=", "organizations_url": "https://api.github.com/users/meizy/orgs", "received_events_url": "https://api.github.com/users/meizy/received_events", "repos_url": "https://api.github.com/users/meizy/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meizy/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meizy/subscriptions", "type": "User", "url": "https://api.github.com/users/meizy" }
[ { "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": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" } ]
open
false
null
[]
null
5
2021-01-03T11:40:05Z
2021-08-14T23:11:20Z
null
NONE
null
#### Is your feature request related to a problem? It seems that the current implementation of the category type is using signed int for the pointers per item. Thus, it will take 2 bytes (int16) per item as long as the number of unique items is less then 32K, then it goes up to 4 bytes per item. Since there is no need for the sign here, we could use unsigned int (uint16) and have the pointers at 2 bytes for up to 64k unique items. the same is true for moving from 1 byte to 2 bytes, or from 4 bytes to 8 bytes. This can save a lot of memory for very large dataframes which use category types extensively. #### Describe the solution you'd like change the internal pointers to use unsigned int. #### API breaking implications n/a #### Describe alternatives you've considered n/a #### 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/38918/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/38918/timeline
null
null
null