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
unknown
updated_at
unknown
closed_at
unknown
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/43622
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43622/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43622/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43622/events
https://github.com/pandas-dev/pandas/pull/43622
999,533,833
PR_kwDOAA0YD84r5nNN
43,622
Backport PR #43597 on branch 1.3.x (BUG: .cat changing dtype inplace)
{ "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": "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" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "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.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
0
"2021-09-17T16:32:56Z"
"2021-09-18T00:10:50Z"
"2021-09-18T00:10:50Z"
NONE
null
Backport PR #43597: BUG: .cat changing dtype inplace
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43622/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43622/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43622.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43622", "merged_at": "2021-09-18T00:10:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43622.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43622" }
https://api.github.com/repos/pandas-dev/pandas/issues/43623
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43623/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43623/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43623/events
https://github.com/pandas-dev/pandas/pull/43623
999,661,389
PR_kwDOAA0YD84r6AjG
43,623
PERF: default_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": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": 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" }
0
"2021-09-17T19:33:49Z"
"2021-09-17T21:21:14Z"
"2021-09-17T21:17:29Z"
MEMBER
null
Surprisingly big difference here ``` from asv_bench.benchmarks.frame_ctor import * self3 = FromNDArray() self3.setup() %timeit self3.time_frame_from_ndarray() 19.8 µs ± 405 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <- PR 30.9 µs ± 1.38 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <- master ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43623/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43623/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43623.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43623", "merged_at": "2021-09-17T21:17:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43623.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43623" }
https://api.github.com/repos/pandas-dev/pandas/issues/43624
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43624/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43624/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43624/events
https://github.com/pandas-dev/pandas/issues/43624
999,671,445
I_kwDOAA0YD847lcaV
43,624
DOC: Chart visualisation, Colormaps links to old Matplotlib documentation
{ "avatar_url": "https://avatars.githubusercontent.com/u/25457921?v=4", "events_url": "https://api.github.com/users/stelios-c/events{/privacy}", "followers_url": "https://api.github.com/users/stelios-c/followers", "following_url": "https://api.github.com/users/stelios-c/following{/other_user}", "gists_url": "https://api.github.com/users/stelios-c/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stelios-c", "id": 25457921, "login": "stelios-c", "node_id": "MDQ6VXNlcjI1NDU3OTIx", "organizations_url": "https://api.github.com/users/stelios-c/orgs", "received_events_url": "https://api.github.com/users/stelios-c/received_events", "repos_url": "https://api.github.com/users/stelios-c/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stelios-c/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stelios-c/subscriptions", "type": "User", "url": "https://api.github.com/users/stelios-c" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "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/25809364?v=4", "events_url": "https://api.github.com/users/ricardobohadana/events{/privacy}", "followers_url": "https://api.github.com/users/ricardobohadana/followers", "following_url": "https://api.github.com/users/ricardobohadana/following{/other_user}", "gists_url": "https://api.github.com/users/ricardobohadana/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ricardobohadana", "id": 25809364, "login": "ricardobohadana", "node_id": "MDQ6VXNlcjI1ODA5MzY0", "organizations_url": "https://api.github.com/users/ricardobohadana/orgs", "received_events_url": "https://api.github.com/users/ricardobohadana/received_events", "repos_url": "https://api.github.com/users/ricardobohadana/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ricardobohadana/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ricardobohadana/subscriptions", "type": "User", "url": "https://api.github.com/users/ricardobohadana" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/25809364?v=4", "events_url": "https://api.github.com/users/ricardobohadana/events{/privacy}", "followers_url": "https://api.github.com/users/ricardobohadana/followers", "following_url": "https://api.github.com/users/ricardobohadana/following{/other_user}", "gists_url": "https://api.github.com/users/ricardobohadana/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ricardobohadana", "id": 25809364, "login": "ricardobohadana", "node_id": "MDQ6VXNlcjI1ODA5MzY0", "organizations_url": "https://api.github.com/users/ricardobohadana/orgs", "received_events_url": "https://api.github.com/users/ricardobohadana/received_events", "repos_url": "https://api.github.com/users/ricardobohadana/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ricardobohadana/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ricardobohadana/subscriptions", "type": "User", "url": "https://api.github.com/users/ricardobohadana" } ]
{ "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" }
3
"2021-09-17T19:48:53Z"
"2021-09-29T13:30:54Z"
"2021-09-29T13:30:54Z"
NONE
null
### - [X] I have checked that the issue still exists on the latest versions of the docs on `master` [here](https://pandas.pydata.org/docs/dev/) ### Location of the documentation https://pandas.pydata.org/docs/dev/user_guide/visualization.html#colormaps ### Documentation problem The first paragraph of the Colormaps section finishes with > A visualization of the default matplotlib colormaps is available [here](https://matplotlib.org/2.0.2/examples/color/colormaps_reference.html). Following that URL gets you to a page with a red banner warning > You are reading an old version of the documentation (v2.0.2). For the latest version see https://matplotlib.org/stable/ ### Suggested fix for documentation Shouldn't the documentation point to the [stable color examples](https://matplotlib.org/stable/gallery/index.html#color) or perhaps more appropriately to the [tutorial Choosing colormaps in Matplotlib](https://matplotlib.org/stable/tutorials/colors/colormaps.html#sphx-glr-tutorials-colors-colormaps-py)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43624/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43624/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43625
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43625/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43625/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43625/events
https://github.com/pandas-dev/pandas/pull/43625
999,694,300
PR_kwDOAA0YD84r6HAX
43,625
DOC: add json_normalize in See Also for read_json
{ "avatar_url": "https://avatars.githubusercontent.com/u/17162724?v=4", "events_url": "https://api.github.com/users/raybellwaves/events{/privacy}", "followers_url": "https://api.github.com/users/raybellwaves/followers", "following_url": "https://api.github.com/users/raybellwaves/following{/other_user}", "gists_url": "https://api.github.com/users/raybellwaves/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/raybellwaves", "id": 17162724, "login": "raybellwaves", "node_id": "MDQ6VXNlcjE3MTYyNzI0", "organizations_url": "https://api.github.com/users/raybellwaves/orgs", "received_events_url": "https://api.github.com/users/raybellwaves/received_events", "repos_url": "https://api.github.com/users/raybellwaves/repos", "site_admin": false, "starred_url": "https://api.github.com/users/raybellwaves/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/raybellwaves/subscriptions", "type": "User", "url": "https://api.github.com/users/raybellwaves" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "207de5", "default": false, "description": "read_json, to_json, json_normalize", "id": 49379259, "name": "IO JSON", "node_id": "MDU6TGFiZWw0OTM3OTI1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON" } ]
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
"2021-09-17T20:22:45Z"
"2021-09-17T21:35:30Z"
"2021-09-17T21:35:27Z"
CONTRIBUTOR
null
I believe this should link https://pandas.pydata.org/pandas-docs/version/1.2.0/reference/api/pandas.json_normalize.html in https://pandas.pydata.org/docs/reference/api/pandas.io.json.read_json.html#pandas.io.json.read_json `json_normalize` is great and it may help people working with JSON data who are likely to have an entry point of the `read_json` page
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43625/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43625/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43625.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43625", "merged_at": "2021-09-17T21:35:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43625.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43625" }
https://api.github.com/repos/pandas-dev/pandas/issues/43626
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43626/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43626/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43626/events
https://github.com/pandas-dev/pandas/pull/43626
999,720,712
PR_kwDOAA0YD84r6MRf
43,626
REF: concat on bm_axis==0
{ "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": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": 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
"2021-09-17T21:06:07Z"
"2021-09-18T01:10:21Z"
"2021-09-17T23:46:23Z"
MEMBER
null
Makes it so we no longer need `indexers` in `JoinUnit` (and in fact, so that JoinUnit is only used for axis==1) ``` asv continuous -E virtualenv -f 1.01 master HEAD --append-samples --record-samples -b join_merge [...] before after ratio [26064f0f] [5dedf170] <master> <ref-concat-axis0> - 15.8±0.9ms 15.0±0.4ms 0.95 join_merge.MergeAsof.time_on_int('backward', None) - 16.8±0.4ms 15.9±0.3ms 0.94 join_merge.MergeAsof.time_on_int('forward', None) - 19.6±0.9ms 18.5±0.2ms 0.94 join_merge.MergeAsof.time_on_int('nearest', None) - 16.1±0.4ms 15.1±0.3ms 0.94 join_merge.MergeAsof.time_on_int('backward', 5) - 17.8±0.9ms 16.7±0.4ms 0.94 join_merge.MergeAsof.time_on_int32('backward', None) - 84.4±6ms 78.6±2ms 0.93 join_merge.MergeAsof.time_by_object('backward', 5) - 83.1±3ms 77.3±2ms 0.93 join_merge.MergeAsof.time_by_object('backward', None) - 20.1±1ms 18.6±0.5ms 0.93 join_merge.MergeAsof.time_on_uint64('nearest', 5) - 20.2±0.8ms 18.7±0.3ms 0.93 join_merge.MergeAsof.time_on_int('nearest', 5) - 17.5±1ms 16.2±0.3ms 0.92 join_merge.MergeAsof.time_on_int('forward', 5) - 22.3±2ms 20.5±0.4ms 0.92 join_merge.MergeAsof.time_on_int32('nearest', 5) - 18.2±0.4ms 16.8±0.4ms 0.92 join_merge.MergeAsof.time_on_int32('backward', 5) - 21.8±1ms 19.9±0.4ms 0.91 join_merge.MergeAsof.time_on_int32('nearest', None) - 19.0±0.9ms 17.2±0.3ms 0.91 join_merge.MergeAsof.time_on_int32('forward', None) - 17.6±1ms 15.9±0.6ms 0.90 join_merge.MergeAsof.time_on_uint64('forward', 5) - 335±10ms 300±9ms 0.89 join_merge.Merge.time_merge_dataframes_cross(False) - 334±7ms 299±10ms 0.89 join_merge.Merge.time_merge_dataframes_cross(True) - 19.4±2ms 17.2±1ms 0.89 join_merge.Join.time_join_dataframe_index_multi(True) - 17.1±1ms 15.1±0.2ms 0.88 join_merge.MergeAsof.time_on_uint64('backward', None) - 10.3±1ms 8.97±0.4ms 0.87 join_merge.Join.time_join_dataframe_index_shuffle_key_bigger_sort(True) - 19.9±0.7ms 17.4±0.4ms 0.87 join_merge.MergeAsof.time_on_int32('forward', 5) - 18.6±1ms 15.9±0.2ms 0.86 join_merge.MergeAsof.time_on_uint64('forward', None) - 8.44±1ms 7.20±0.7ms 0.85 join_merge.Join.time_join_dataframe_index_single_key_small(False) - 1.98±0.09s 1.58±0.04s 0.80 join_merge.JoinIndex.time_left_outer_join_index - 9.80±0.8ms 7.61±0.8ms 0.78 join_merge.Join.time_join_dataframe_index_single_key_bigger(False) - 9.39±0.5ms 7.25±0.4ms 0.77 join_merge.Concat.time_concat_small_frames(1) - 221±20ms 170±4ms 0.77 join_merge.MergeCategoricals.time_merge_cat - 439±10ms 300±9ms 0.68 join_merge.MergeCategoricals.time_merge_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/43626/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43626/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43626.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43626", "merged_at": "2021-09-17T23:46:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43626.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43626" }
https://api.github.com/repos/pandas-dev/pandas/issues/43627
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43627/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43627/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43627/events
https://github.com/pandas-dev/pandas/pull/43627
999,723,549
PR_kwDOAA0YD84r6M1L
43,627
CLN: remove unused sparse reindex
{ "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": "009800", "default": false, "description": "Sparse Data Type", "id": 49182326, "name": "Sparse", "node_id": "MDU6TGFiZWw0OTE4MjMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse" }, { "color": "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": 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
"2021-09-17T21:10:40Z"
"2021-09-17T23:03:33Z"
"2021-09-17T23:03:30Z"
MEMBER
null
The `BlockIndex` reindex method wasn't even returning anything, which raised suspicions :) (reindexing actually dispatches through take)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43627/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43627/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43627.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43627", "merged_at": "2021-09-17T23:03:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43627.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43627" }
https://api.github.com/repos/pandas-dev/pandas/issues/43628
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43628/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43628/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43628/events
https://github.com/pandas-dev/pandas/issues/43628
999,745,939
I_kwDOAA0YD847lumT
43,628
API/DEPR: SparseArray constructor usability
{ "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": "009800", "default": false, "description": "Sparse Data Type", "id": 49182326, "name": "Sparse", "node_id": "MDU6TGFiZWw0OTE4MjMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" }, { "color": "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" } ]
open
false
null
[]
null
1
"2021-09-17T21:52:36Z"
"2021-10-02T16:13:55Z"
null
MEMBER
null
Currently the constructor includes `sparse_index`, which is not publicly exposed (nor is there a publicly exposed function to make one). Because of this, I'd like to suggest deprecating `sparse_index`. One related issue is that without `sparse_index` (or a preexisting `SparseArray`), there is no way to use the constructor to construct a `SparseArray` without using dense data (which seems to defeat the purpose of using a `SparseArray`. I'd like to replace `sparse_index` with the parameters `indices` and `length` (giving equivalent functionality to what `sparse_index` provided). `indices` would refer to array locations with actual values, `length` would be length of the `SparseArray` (I'm not attached to these names if people prefer others, these just match naming in existing `SparseArray` code). This would allow constructing something sparse without first constructing a dense array, for example `arr = SparseArray([1, 2], indices=[5, 11], length=1_000_000)` or `arr = SparseArray(1, indices=[1000, 2000, 4000, 9000], length=1_000_000)` without needing to materialize an array of length `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/43628/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43628/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43629
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43629/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43629/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43629/events
https://github.com/pandas-dev/pandas/issues/43629
999,830,028
I_kwDOAA0YD847mDIM
43,629
ENH: Arithmetic operations on intervals
{ "avatar_url": "https://avatars.githubusercontent.com/u/1200058?v=4", "events_url": "https://api.github.com/users/Hoeze/events{/privacy}", "followers_url": "https://api.github.com/users/Hoeze/followers", "following_url": "https://api.github.com/users/Hoeze/following{/other_user}", "gists_url": "https://api.github.com/users/Hoeze/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Hoeze", "id": 1200058, "login": "Hoeze", "node_id": "MDQ6VXNlcjEyMDAwNTg=", "organizations_url": "https://api.github.com/users/Hoeze/orgs", "received_events_url": "https://api.github.com/users/Hoeze/received_events", "repos_url": "https://api.github.com/users/Hoeze/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Hoeze/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Hoeze/subscriptions", "type": "User", "url": "https://api.github.com/users/Hoeze" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "006b75", "default": false, "description": "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": "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": "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-09-18T02:14:44Z"
"2021-10-09T14:29:29Z"
null
NONE
null
#### Is your feature request related to a problem? I would like to be able to do arithmetic operations on intervals: - `a + b`: `pd.Interval(3, 6) + pd.Interval(5, 7) == pd.Interval(3, 7)` - `a - b`: `pd.Interval(3, 6) - pd.Interval(5, 7) == pd.Interval(3, 5)` - `[a, b].union() / np.sum([a, b])`: ```python intervals = pd.arrays.IntervalArray.from_tuples([(0, 1), (1, 3), (2, 4), (5, 7)]) intervals.sum() == pd.arrays.IntervalArray.from_tuples([(0, 4), (5, 7)]) ``` #### API breaking implications None AFAIK, since those methods are not implemented yet
{ "+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/43629/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43629/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43630
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43630/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43630/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43630/events
https://github.com/pandas-dev/pandas/pull/43630
999,833,594
PR_kwDOAA0YD84r6g49
43,630
Backport PR #43467 on branch 1.3.x (Make group_mean compatible with NaT)
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "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-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "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.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
1
"2021-09-18T02:32:19Z"
"2021-09-18T13:47:37Z"
"2021-09-18T13:47:37Z"
NONE
null
Backport PR #43467: Make group_mean compatible with NaT
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43630/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43630/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43630.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43630", "merged_at": "2021-09-18T13:47:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43630.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43630" }
https://api.github.com/repos/pandas-dev/pandas/issues/43631
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43631/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43631/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43631/events
https://github.com/pandas-dev/pandas/issues/43631
999,844,118
I_kwDOAA0YD847mGkW
43,631
BUG: a categorical series from `pd.cut()` is not equal to `pd.Series(..., dtype='category')`
{ "avatar_url": "https://avatars.githubusercontent.com/u/25895405?v=4", "events_url": "https://api.github.com/users/Zeroto521/events{/privacy}", "followers_url": "https://api.github.com/users/Zeroto521/followers", "following_url": "https://api.github.com/users/Zeroto521/following{/other_user}", "gists_url": "https://api.github.com/users/Zeroto521/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Zeroto521", "id": 25895405, "login": "Zeroto521", "node_id": "MDQ6VXNlcjI1ODk1NDA1", "organizations_url": "https://api.github.com/users/Zeroto521/orgs", "received_events_url": "https://api.github.com/users/Zeroto521/received_events", "repos_url": "https://api.github.com/users/Zeroto521/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Zeroto521/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Zeroto521/subscriptions", "type": "User", "url": "https://api.github.com/users/Zeroto521" }
[ { "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": "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": 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
"2021-09-18T02:54:08Z"
"2021-09-18T12:24:05Z"
"2021-09-18T12:24:05Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python In [1]: import pandas as pd In [2]: res = pd.cut(pd.Series([10, 20]), [10, 20], labels=['a']) In [3]: res Out[3]: 0 NaN 1 a dtype: category Categories (1, object): ['a'] In [4]: excepted = pd.Series([float('nan'), 'a'], dtype='category') In [5]: excepted Out[5]: 0 NaN 1 a dtype: category Categories (1, object): ['a'] In [6]: res.equals(excepted) Out[6]: False In [7]: res == excepted --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-7-3cea8b164d71> in <module> ----> 1 res == excepted C:\Software\miniconda3\envs\work\lib\site-packages\pandas\core\ops\common.py in new_method(self, other) 67 other = item_from_zerodim(other) 68 ---> 69 return method(self, other) 70 71 return new_method C:\Software\miniconda3\envs\work\lib\site-packages\pandas\core\arraylike.py in __eq__(self, other) 30 @unpack_zerodim_and_defer("__eq__") 31 def __eq__(self, other): ---> 32 return self._cmp_method(other, operator.eq) 33 34 @unpack_zerodim_and_defer("__ne__") C:\Software\miniconda3\envs\work\lib\site-packages\pandas\core\series.py in _cmp_method(self, other, op) 5500 5501 with np.errstate(all="ignore"): -> 5502 res_values = ops.comparison_op(lvalues, rvalues, op) 5503 5504 return self._construct_result(res_values, name=res_name) C:\Software\miniconda3\envs\work\lib\site-packages\pandas\core\ops\array_ops.py in comparison_op(left, right, op) 268 ): 269 # Call the method on lvalues --> 270 res_values = op(lvalues, rvalues) 271 272 elif is_scalar(rvalues) and isna(rvalues): C:\Software\miniconda3\envs\work\lib\site-packages\pandas\core\ops\common.py in new_method(self, other) 67 other = item_from_zerodim(other) 68 ---> 69 return method(self, other) 70 71 return new_method C:\Software\miniconda3\envs\work\lib\site-packages\pandas\core\arrays\categorical.py in func(self, other) 143 msg = "Categoricals can only be compared if 'categories' are the same." 144 if not self._categories_match_up_to_permutation(other): --> 145 raise TypeError(msg) 146 147 if not self.ordered and not self.categories.equals(other.categories): TypeError: Categoricals can only be compared if 'categories' are the same. In [8]: res.cat.categories == excepted.cat.categories Out[8]: array([ True]) ``` ### Issue Description The categorical data comparison behavior is weird. I want to check the result of `pd.cut` method is right or not, so I create a new one from `pd.Series` with `dtype='category'`. They are looked the same, base on **In [3]** and **In [5]**. TypeError message shows their categories are not the same. But **In [8]** means their categories are equal. I also consider the `NaN` could cause that, but the same problem happens. ```python In [9]: res.dropna() == excepted.dropna() --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-9-08dae9fc1d53> in <module> ----> 1 res.dropna() == excepted.dropna() C:\Software\miniconda3\envs\work\lib\site-packages\pandas\core\ops\common.py in new_method(self, other) 67 other = item_from_zerodim(other) 68 ---> 69 return method(self, other) 70 71 return new_method C:\Software\miniconda3\envs\work\lib\site-packages\pandas\core\arraylike.py in __eq__(self, other) 30 @unpack_zerodim_and_defer("__eq__") 31 def __eq__(self, other): ---> 32 return self._cmp_method(other, operator.eq) 33 34 @unpack_zerodim_and_defer("__ne__") C:\Software\miniconda3\envs\work\lib\site-packages\pandas\core\series.py in _cmp_method(self, other, op) 5500 5501 with np.errstate(all="ignore"): -> 5502 res_values = ops.comparison_op(lvalues, rvalues, op) 5503 5504 return self._construct_result(res_values, name=res_name) C:\Software\miniconda3\envs\work\lib\site-packages\pandas\core\ops\array_ops.py in comparison_op(left, right, op) 268 ): 269 # Call the method on lvalues --> 270 res_values = op(lvalues, rvalues) 271 272 elif is_scalar(rvalues) and isna(rvalues): C:\Software\miniconda3\envs\work\lib\site-packages\pandas\core\ops\common.py in new_method(self, other) 67 other = item_from_zerodim(other) 68 ---> 69 return method(self, other) 70 71 return new_method C:\Software\miniconda3\envs\work\lib\site-packages\pandas\core\arrays\categorical.py in func(self, other) 143 msg = "Categoricals can only be compared if 'categories' are the same." 144 if not self._categories_match_up_to_permutation(other): --> 145 raise TypeError(msg) 146 147 if not self.ordered and not self.categories.equals(other.categories): TypeError: Categoricals can only be compared if 'categories' are the same. In [10]: res.dropna().equals(excepted.dropna()) Out[10]: False ``` ### Expected Behavior I think `res.equals(excepted)` should return `True` and `res == excepted` should return `pd.Series([False, True])`. ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.8.10.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19043 machine : AMD64 processor : Intel64 Family 6 Model 94 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : zh_CN.UTF-8 LOCALE : Chinese (Simplified)_China.936 pandas : 1.3.3 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.1 pip : 21.2.4 setuptools : 58.0.4 Cython : 0.29.24 pytest : 6.2.5 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.9.1 (dt dec pq3 ext lo64) jinja2 : 3.0.1 IPython : 7.27.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.3 numexpr : None odfpy : None openpyxl : 3.0.8 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.7.1 sqlalchemy : 1.4.23 tables : None tabulate : None xarray : 0.19.0 xlrd : 2.0.1 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/43631/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43631/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43632
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43632/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43632/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43632/events
https://github.com/pandas-dev/pandas/pull/43632
999,891,786
PR_kwDOAA0YD84r6t40
43,632
REF: implement mask_setitem_value
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "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": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
2
"2021-09-18T03:36:51Z"
"2021-11-17T00:47:38Z"
"2021-11-17T00:47:32Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry cc @phofl I think this is what is needed to get #40380 working (https://github.com/pandas-dev/pandas/pull/40380#discussion_r680289744), could use your input when you have a chance. This only does the masking for the non-tuple case. Need to figure out if we can construct test cases that require the masking with tuples.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43632/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43632/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43632.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43632", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43632.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43632" }
https://api.github.com/repos/pandas-dev/pandas/issues/43633
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43633/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43633/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43633/events
https://github.com/pandas-dev/pandas/pull/43633
999,965,857
PR_kwDOAA0YD84r66V0
43,633
DOC: Update Matplotlib Colormaps documentation link in chart visualization #43624
{ "avatar_url": "https://avatars.githubusercontent.com/u/25809364?v=4", "events_url": "https://api.github.com/users/ricardobohadana/events{/privacy}", "followers_url": "https://api.github.com/users/ricardobohadana/followers", "following_url": "https://api.github.com/users/ricardobohadana/following{/other_user}", "gists_url": "https://api.github.com/users/ricardobohadana/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ricardobohadana", "id": 25809364, "login": "ricardobohadana", "node_id": "MDQ6VXNlcjI1ODA5MzY0", "organizations_url": "https://api.github.com/users/ricardobohadana/orgs", "received_events_url": "https://api.github.com/users/ricardobohadana/received_events", "repos_url": "https://api.github.com/users/ricardobohadana/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ricardobohadana/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ricardobohadana/subscriptions", "type": "User", "url": "https://api.github.com/users/ricardobohadana" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" } ]
closed
false
null
[]
{ "closed_at": 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" }
11
"2021-09-18T08:07:00Z"
"2021-09-29T21:18:23Z"
"2021-09-29T13:30:54Z"
CONTRIBUTOR
null
- [x] closes #43624 Fixes: Fixed a chart visualization coiormap section link that linked to an outdated version of matplotlib. Now links to a [stable version](https://matplotlib.org/stable/gallery/color/colormap_reference.html#sphx-glr-gallery-color-colormap-reference-py).
{ "+1": 1, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 1, "total_count": 2, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43633/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43633/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43633.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43633", "merged_at": "2021-09-29T13:30:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43633.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43633" }
https://api.github.com/repos/pandas-dev/pandas/issues/43634
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43634/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43634/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43634/events
https://github.com/pandas-dev/pandas/pull/43634
999,984,203
PR_kwDOAA0YD84r69Kb
43,634
PERF: groupby with string dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4", "events_url": "https://api.github.com/users/debnathshoham/events{/privacy}", "followers_url": "https://api.github.com/users/debnathshoham/followers", "following_url": "https://api.github.com/users/debnathshoham/following{/other_user}", "gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/debnathshoham", "id": 6472290, "login": "debnathshoham", "node_id": "MDQ6VXNlcjY0NzIyOTA=", "organizations_url": "https://api.github.com/users/debnathshoham/orgs", "received_events_url": "https://api.github.com/users/debnathshoham/received_events", "repos_url": "https://api.github.com/users/debnathshoham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions", "type": "User", "url": "https://api.github.com/users/debnathshoham" }
[ { "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": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "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" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "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.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
17
"2021-09-18T09:24:34Z"
"2021-09-24T11:32:45Z"
"2021-09-23T16:22:27Z"
CONTRIBUTOR
null
- [x] closes #41596 - [ ] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry ```python In [1]: import numpy as np ...: ...: import pandas as pd ...: ...: pd.__version__ ...: ...: ...: ...: cols = list('abcdefghjkl') ...: ...: df = pd.DataFrame(np.random.randint(0, 100, size=(100, len(cols))), columns=cols) ...: ...: df_str = df.astype(str) ...: ...: df_string = df.astype('string') In [2]: %timeit df_str.groupby('a')[cols[1:]].last() 2.88 ms ± 70.5 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) In [3]: %timeit df_string.groupby('a')[cols[1:]].last() 3.27 ms ± 12.8 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) #PR 54.4 ms ± 244 µs per loop (mean ± std. dev. of 7 runs, 10 loops each) #master
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43634/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43634/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43634.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43634", "merged_at": "2021-09-23T16:22:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43634.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43634" }
https://api.github.com/repos/pandas-dev/pandas/issues/43635
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43635/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43635/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43635/events
https://github.com/pandas-dev/pandas/pull/43635
1,000,022,297
PR_kwDOAA0YD84r7C2Y
43,635
WIP: DEPR: remove methods deprecated in 1.3.0 `Styler`
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
4
"2021-09-18T12:25:21Z"
"2021-10-19T12:56:19Z"
"2021-10-19T12:56:19Z"
CONTRIBUTOR
null
removing methods from `Styler` for 1.4.0 that were deprecated as of 1.3.0.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43635/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43635/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43635.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43635", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43635.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43635" }
https://api.github.com/repos/pandas-dev/pandas/issues/43636
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43636/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43636/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43636/events
https://github.com/pandas-dev/pandas/pull/43636
1,000,042,042
PR_kwDOAA0YD84r7F3h
43,636
DOC: sync 1.3.4 release notes on 1.3.x with master
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "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.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
0
"2021-09-18T14:00:21Z"
"2021-09-18T14:59:12Z"
"2021-09-18T14:59:07Z"
MEMBER
null
This is directly against 1.3.x branch so no backport required.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43636/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43636/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43636.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43636", "merged_at": "2021-09-18T14:59:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43636.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43636" }
https://api.github.com/repos/pandas-dev/pandas/issues/43637
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43637/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43637/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43637/events
https://github.com/pandas-dev/pandas/issues/43637
1,000,049,567
I_kwDOAA0YD847m4uf
43,637
BUG: `styler.to_latex` does hide rows after `hide_index([subset])`
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "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": "to_latex", "id": 251382258, "name": "IO LaTeX", "node_id": "MDU6TGFiZWwyNTEzODIyNTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
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" }
0
"2021-09-18T14:32:06Z"
"2021-10-18T23:15:56Z"
"2021-10-18T23:15:56Z"
CONTRIBUTOR
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python >>> df = DataFrame([[1], [2]]) >>> print(df.style.hide_index([0]).to_latex()) \begin{tabular}{lr} & 0 \\ \\ 1 & 2 \\ \end{tabular} ``` ### Issue Description its the header cells that render as empty spaces creating an unwanted line. ### Expected Behavior no unwanted line. ### Installed Versions master
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43637/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43637/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43638
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43638/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43638/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43638/events
https://github.com/pandas-dev/pandas/pull/43638
1,000,053,620
PR_kwDOAA0YD84r7Hku
43,638
wip: BUG: styler hide index fails for latex translate
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
null
6
"2021-09-18T14:49:57Z"
"2021-09-23T16:40:52Z"
"2021-09-23T16:38:32Z"
CONTRIBUTOR
null
- [x] closes #43637 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43638/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43638/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43638.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43638", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43638.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43638" }
https://api.github.com/repos/pandas-dev/pandas/issues/43639
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43639/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43639/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43639/events
https://github.com/pandas-dev/pandas/pull/43639
1,000,055,808
PR_kwDOAA0YD84r7H4F
43,639
backport 43638: bug: styler to_latex doesnt respect hide_index
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[]
closed
false
null
[]
null
0
"2021-09-18T14:58:56Z"
"2021-09-23T16:40:43Z"
"2021-09-18T14:59:51Z"
CONTRIBUTOR
null
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/43639/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43639/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43639.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43639", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43639.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43639" }
https://api.github.com/repos/pandas-dev/pandas/issues/43640
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43640/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43640/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43640/events
https://github.com/pandas-dev/pandas/pull/43640
1,000,056,352
PR_kwDOAA0YD84r7H9A
43,640
backport 43638: BUG: styler to_latex doesnt respect hide_index
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
null
[]
null
3
"2021-09-18T15:01:11Z"
"2021-09-23T16:40:32Z"
"2021-09-23T16:39:33Z"
CONTRIBUTOR
null
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/43640/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43640/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43640.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43640", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43640.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43640" }
https://api.github.com/repos/pandas-dev/pandas/issues/43641
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43641/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43641/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43641/events
https://github.com/pandas-dev/pandas/pull/43641
1,000,056,526
PR_kwDOAA0YD84r7H-b
43,641
DOC: minor fixup of 1.3.4 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-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "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.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
1
"2021-09-18T15:01:51Z"
"2021-09-20T09:20:03Z"
"2021-09-18T19:26:18Z"
MEMBER
null
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/43641/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43641/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43641.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43641", "merged_at": "2021-09-18T19:26:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43641.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43641" }
https://api.github.com/repos/pandas-dev/pandas/issues/43642
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43642/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43642/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43642/events
https://github.com/pandas-dev/pandas/pull/43642
1,000,075,620
PR_kwDOAA0YD84r7Kxl
43,642
CLN: Python Parser code
{ "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": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
3
"2021-09-18T16:26:11Z"
"2021-11-04T20:35:27Z"
"2021-11-04T20:35:18Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43642/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43642/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43642.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43642", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43642.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43642" }
https://api.github.com/repos/pandas-dev/pandas/issues/43643
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43643/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43643/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43643/events
https://github.com/pandas-dev/pandas/pull/43643
1,000,091,597
PR_kwDOAA0YD84r7NM5
43,643
CI: azure timeouts
{ "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": "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": 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" }
9
"2021-09-18T17:40:12Z"
"2021-09-21T16:51:33Z"
"2021-09-21T12:46:35Z"
MEMBER
null
Based on the logging in #43611, in both timeout cases, the last test `gw0` ran was before the hypothesis test in `test_parse_dates` (this is a giant test - 56 parameterizations, hypothesis does 100 examples by default). Not sure why this would be the cause, couldn't find any issues about it that might explain a deadlock or something like that, but maybe this will help? Regardless of fixing timeouts, it makes sense for these to be slow
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43643/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43643/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43643.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43643", "merged_at": "2021-09-21T12:46:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43643.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43643" }
https://api.github.com/repos/pandas-dev/pandas/issues/43644
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43644/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43644/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43644/events
https://github.com/pandas-dev/pandas/issues/43644
1,000,092,558
I_kwDOAA0YD847nDOO
43,644
BUG: styler hide_index hide_columns misaligns multiindex
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "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": "read_html, to_html, Styler.apply, Styler.applymap", "id": 57395487, "name": "IO HTML", "node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML" }, { "color": "006b75", "default": false, "description": "to_latex", "id": 251382258, "name": "IO LaTeX", "node_id": "MDU6TGFiZWwyNTEzODIyNTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
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" }
0
"2021-09-18T17:44:49Z"
"2021-10-18T23:15:56Z"
"2021-10-18T23:15:56Z"
CONTRIBUTOR
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python midx = MultiIndex.from_product([["A", "B"], ["a", "b"], ["X", "Y"]], names=["zero", "one", "two"]) cidx = MultiIndex.from_product([["a", "b"], ["C", "D"], ["V", "W"]], names=["zero", "one", "two"]) df = DataFrame(np.arange(64).reshape(8,8), index=midx, columns=cidx) styler = Styler(df) styler.hide_index(level=1).hide_columns(level=0) styler.hide_index([("A", "a", "X"), ("A", "b", "X")]) styler.hide_columns([("a", "C", "W"), ("a", "D", "V")]) styler ``` ### Issue Description When using a MultiIndex and combining with hiding different levels and hiding specific rows/columns, some bugs appear. Output is quite strange on second row for HTML output. ![Screen Shot 2021-09-18 at 19 40 34](https://user-images.githubusercontent.com/24256554/133897657-0e500e82-d1ae-4098-9d19-c194dbcc58fc.png) Also using LaTeX output: ``` >>> styler.to_latex() \begin{tabular}{llrrrrrr} & one & C & D & \multicolumn{2}{r}{C} & \multicolumn{2}{r}{D} \\ & two & V & W & V & W & V & W \\ zero & two & & & & & & \\ \multirow[c]{2}{*}{A} & & Y & 8 & 11 & 12 & 13 & 14 & 15 \\ & & Y & 24 & 27 & 28 & 29 & 30 & 31 \\ \multirow[c]{4}{*}{B} & \multirow[c]{2}{*}{} & X & 32 & 35 & 36 & 37 & 38 & 39 \\ & & Y & 40 & 43 & 44 & 45 & 46 & 47 \\ & \multirow[c]{2}{*}{} & X & 48 & 51 & 52 & 53 & 54 & 55 \\ & & Y & 56 & 59 & 60 & 61 & 62 & 63 \\ \end{tabular} ``` The above is a LaTeX error but if the number of columns is expanded to 9 then it renders like: ![Screen Shot 2021-09-18 at 19 43 51](https://user-images.githubusercontent.com/24256554/133897745-30a2eb1c-80e3-4e7c-8bd7-c3765ef973f6.png) ### Expected Behavior Clearly we want to align all the datapoints and have the hidden levels correctly hidden. ### Installed Versions master
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43644/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43644/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43645
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43645/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43645/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43645/events
https://github.com/pandas-dev/pandas/issues/43645
1,000,107,823
I_kwDOAA0YD847nG8v
43,645
ENH: How do I perform rolling aggregate with lag in terms of time ?
{ "avatar_url": "https://avatars.githubusercontent.com/u/88504774?v=4", "events_url": "https://api.github.com/users/enthusiastics/events{/privacy}", "followers_url": "https://api.github.com/users/enthusiastics/followers", "following_url": "https://api.github.com/users/enthusiastics/following{/other_user}", "gists_url": "https://api.github.com/users/enthusiastics/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/enthusiastics", "id": 88504774, "login": "enthusiastics", "node_id": "MDQ6VXNlcjg4NTA0Nzc0", "organizations_url": "https://api.github.com/users/enthusiastics/orgs", "received_events_url": "https://api.github.com/users/enthusiastics/received_events", "repos_url": "https://api.github.com/users/enthusiastics/repos", "site_admin": false, "starred_url": "https://api.github.com/users/enthusiastics/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/enthusiastics/subscriptions", "type": "User", "url": "https://api.github.com/users/enthusiastics" }
[ { "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
1
"2021-09-18T18:56:35Z"
"2021-09-19T19:02:23Z"
"2021-09-19T19:02:23Z"
NONE
null
I would like to perform the task called rolling aggregate with lag... Starting with this dataframe import pandas as pd import numpy as np df = pd.DataFrame({'B': [0, 1, 2, np.nan, 4]}, index = [pd.Timestamp('20130101 09:00:00'), pd.Timestamp('20130101 09:00:02'), pd.Timestamp('20130101 09:00:03'), pd.Timestamp('20130101 09:00:05'), pd.Timestamp('20130101 09:00:06')]) B 2013-01-01 09:00:00 0.0 2013-01-01 09:00:02 1.0 2013-01-01 09:00:03 2.0 2013-01-01 09:00:05 NaN 2013-01-01 09:00:06 4.0 I would need to perform df.rolling("3s excluding first 1s").max() # or more precisely df.rolling("(-3s,-1s]").max() #closed on -1s, open on -3s My real application involved extremely large dataframe where timestamp also had no constant interval and I also had id. So my real application is really groupby rolling aggregate with lag. (shift approach/merge_as_of approach won't work in my case...) The expected result is B 2013-01-01 09:00:00 NaN 2013-01-01 09:00:02 0.0 2013-01-01 09:00:03 1.0 2013-01-01 09:00:05 2.0 2013-01-01 09:00:06 NaN
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43645/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43645/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43646
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43646/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43646/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43646/events
https://github.com/pandas-dev/pandas/pull/43646
1,000,114,405
PR_kwDOAA0YD84r7Qqj
43,646
Backport PR #43641 on branch 1.3.x (DOC: minor fixup of 1.3.4 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-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "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.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
0
"2021-09-18T19:26:42Z"
"2021-09-18T20:51:05Z"
"2021-09-18T20:51:05Z"
NONE
null
Backport PR #43641: DOC: minor fixup of 1.3.4 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/43646/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43646/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43646.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43646", "merged_at": "2021-09-18T20:51:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43646.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43646" }
https://api.github.com/repos/pandas-dev/pandas/issues/43647
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43647/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43647/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43647/events
https://github.com/pandas-dev/pandas/pull/43647
1,000,115,023
PR_kwDOAA0YD84r7Qwj
43,647
BUG: REGR: read_csv with memory_map=True raises UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 262143: unexpected end of data
{ "avatar_url": "https://avatars.githubusercontent.com/u/9954897?v=4", "events_url": "https://api.github.com/users/michal-gh/events{/privacy}", "followers_url": "https://api.github.com/users/michal-gh/followers", "following_url": "https://api.github.com/users/michal-gh/following{/other_user}", "gists_url": "https://api.github.com/users/michal-gh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/michal-gh", "id": 9954897, "login": "michal-gh", "node_id": "MDQ6VXNlcjk5NTQ4OTc=", "organizations_url": "https://api.github.com/users/michal-gh/orgs", "received_events_url": "https://api.github.com/users/michal-gh/received_events", "repos_url": "https://api.github.com/users/michal-gh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/michal-gh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/michal-gh/subscriptions", "type": "User", "url": "https://api.github.com/users/michal-gh" }
[ { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "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.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
5
"2021-09-18T19:29:29Z"
"2021-09-22T17:14:09Z"
"2021-09-21T21:37:42Z"
CONTRIBUTOR
null
- [x ] closes #43540 - [x ] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43647/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43647/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43647.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43647", "merged_at": "2021-09-21T21:37:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43647.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43647" }
https://api.github.com/repos/pandas-dev/pandas/issues/43648
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43648/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43648/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43648/events
https://github.com/pandas-dev/pandas/issues/43648
1,000,122,295
I_kwDOAA0YD847nKe3
43,648
BUG: latex css conversion does not work on new applymap_index
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "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": "to_latex", "id": 251382258, "name": "IO LaTeX", "node_id": "MDU6TGFiZWwyNTEzODIyNTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
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" }
0
"2021-09-18T20:05:49Z"
"2021-09-21T13:57:25Z"
"2021-09-21T13:57:25Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python df = DataFrame([[0], [1]], index=[0, 1]) styler = df.style styler.applymap(lambda x: "color: red;" if x == 0 else "") styler.applymap_index(lambda x: "color: blue;" if x == 0 else "") print(styler.to_latex(convert_css=True)) \begin{tabular}{lr} & 0 \\ \colorblue 0 & \color{red} 0 \\ 1 & 1 \\ \end{tabular} ``` ### Issue Description the new method applymap_index has not been hooked up to the CSS conversion for styler.to_latex. ### Expected Behavior should convert to `color{blue}` ### Installed Versions master
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43648/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43648/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43649
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43649/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43649/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43649/events
https://github.com/pandas-dev/pandas/pull/43649
1,000,130,281
PR_kwDOAA0YD84r7S-E
43,649
BUG: styler multiindex hiding indexes and columns alignment
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "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": "read_html, to_html, Styler.apply, Styler.applymap", "id": 57395487, "name": "IO HTML", "node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML" }, { "color": "006b75", "default": false, "description": "to_latex", "id": 251382258, "name": "IO LaTeX", "node_id": "MDU6TGFiZWwyNTEzODIyNTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
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" }
2
"2021-09-18T20:45:11Z"
"2021-10-19T05:31:54Z"
"2021-10-18T23:15:56Z"
CONTRIBUTOR
null
#### Follows #43686 - [x] closes #43637 - [x] closes #43644 - [x] closes #43703 - [x] tests added / passed - [x] whatsnew entry (note part of the bug seems to have been created by hiding `levels` which is a new feature in 1.4.0). This PR has two parts: 1) Addressing the bug fixes as per above. The key change made here was to add a single line: `if r not in self.hidden_rows:` in the loop, and in `_translate_latex` update for the new object structure that is input to it. 2) Refactoring the code so that the main part of the code is now easier to grok: ``` def _translate(...): # calls _translate_header() # callls _translate_body() def _translate_header(...): # calls _generate_col_header_row() # calls _generate_index_names_row() def _translate_body(...): # calls _generate_trimmed_row() # calls _generate_body_row() ``` And tests were update and comprehensive tests for the issues added.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43649/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43649/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43649.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43649", "merged_at": "2021-10-18T23:15:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43649.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43649" }
https://api.github.com/repos/pandas-dev/pandas/issues/43650
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43650/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43650/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43650/events
https://github.com/pandas-dev/pandas/issues/43650
1,000,133,222
I_kwDOAA0YD847nNJm
43,650
CI/BUG: pyarrow read_csv deadlock
{ "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": "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": "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": "f9d0c4", "default": false, "description": "", "id": 3303158446, "name": "Arrow", "node_id": "MDU6TGFiZWwzMzAzMTU4NDQ2", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Arrow" } ]
open
false
null
[]
null
3
"2021-09-18T21:00:27Z"
"2021-09-21T23:41:09Z"
null
MEMBER
null
xref #43611, #43643 When trying to figure out azure timeout issues, deadlock appeared to be occurring in parser code, so `pyarrow` makes sense as the culprit. Seems like tests with weird input cause issues, for example some of the `parse_dates` tests, or for a specific reproducer the test: `pandas/tests/io/parser/common/test_ints.py::test_outside_int64_uint64_range` On current `pyarrow` I can't reproduce, but azure uses 0.17.0, with which can reproduce a deadlock (just running the command `pandas/tests/io/parser/common/test_ints.py::test_outside_int64_uint64_range`) on macOS. Doesn't happen consistently, but will deadlock (to the point that need to sigkill to stop, which explains why `pytest-timeout` didn't catch it). cc @lithomas1 if any thoughts 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/43650/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43650/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43651
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43651/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43651/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43651/events
https://github.com/pandas-dev/pandas/pull/43651
1,000,139,026
PR_kwDOAA0YD84r7URj
43,651
REF: remove JoinUnit.shape
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
open
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" }
4
"2021-09-18T21:31:25Z"
"2021-11-11T03:16:07Z"
null
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43651/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43651/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43651.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43651", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43651.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43651" }
https://api.github.com/repos/pandas-dev/pandas/issues/43652
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43652/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43652/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43652/events
https://github.com/pandas-dev/pandas/issues/43652
1,000,157,199
I_kwDOAA0YD847nTAP
43,652
CI: codecov for pyx files
{ "avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4", "events_url": "https://api.github.com/users/twoertwein/events{/privacy}", "followers_url": "https://api.github.com/users/twoertwein/followers", "following_url": "https://api.github.com/users/twoertwein/following{/other_user}", "gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/twoertwein", "id": 6618166, "login": "twoertwein", "node_id": "MDQ6VXNlcjY2MTgxNjY=", "organizations_url": "https://api.github.com/users/twoertwein/orgs", "received_events_url": "https://api.github.com/users/twoertwein/received_events", "repos_url": "https://api.github.com/users/twoertwein/repos", "site_admin": false, "starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions", "type": "User", "url": "https://api.github.com/users/twoertwein" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
open
false
null
[]
{ "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" }
2
"2021-09-18T23:23:10Z"
"2021-09-20T15:49:26Z"
null
CONTRIBUTOR
null
#### Is your feature request related to a problem? cython supports [line coverage](https://cython.readthedocs.io/en/latest/src/tutorial/profiling_tutorial.html#enabling-coverage-analysis) but pyx files are currently not included in the codecov reports. Having code coverage for cython code might help to remove unused cython code. #### Describe the solution you'd like pyx files are included in the codecov report.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43652/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43652/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43653
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43653/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43653/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43653/events
https://github.com/pandas-dev/pandas/pull/43653
1,000,175,393
PR_kwDOAA0YD84r7Za8
43,653
REF: ExtensionIndex.searchsorted -> IndexOpsMixin.searchsorted
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
closed
false
null
[]
{ "closed_at": 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" }
2
"2021-09-19T01:18:48Z"
"2021-09-29T16:39:56Z"
"2021-09-29T13:11:21Z"
MEMBER
null
Perf-neutral on the case that motivated implementing ExtensionIndex.searchsorted (#38083)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43653/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43653/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43653.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43653", "merged_at": "2021-09-29T13:11:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43653.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43653" }
https://api.github.com/repos/pandas-dev/pandas/issues/43654
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43654/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43654/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43654/events
https://github.com/pandas-dev/pandas/pull/43654
1,000,191,498
PR_kwDOAA0YD84r7br0
43,654
PERF: sparse take
{ "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": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "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": 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" }
2
"2021-09-19T03:02:14Z"
"2021-09-21T16:51:15Z"
"2021-09-21T14:08:48Z"
MEMBER
null
This helps some on #41023 because `__getitem__` uses `take` internally for `SparseArray`. However, the big gain there can follow after this to move towards not densifying on `__getitem__` with a slice Benchmarks: ``` before after ratio [e7e7b407] [4de1fe27] <master> <perf_sparse_take> - 72.7±6μs 38.8±4μs 0.53 sparse.Take.time_take(array([0]), False) - 1.00±0.06ms 350±4μs 0.35 sparse.Take.time_take(array([-1, -1, -1, ..., -1, -1, -1]), False) - 737±20μs 206±6μs 0.28 sparse.Take.time_take(array([ 0, 1, 2, ..., 99997, 99998, 99999]), False) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43654/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43654/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43654.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43654", "merged_at": "2021-09-21T14:08:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43654.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43654" }
https://api.github.com/repos/pandas-dev/pandas/issues/43655
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43655/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43655/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43655/events
https://github.com/pandas-dev/pandas/issues/43655
1,000,201,748
I_kwDOAA0YD847nd4U
43,655
BUG: Wrong result when inserting and sorting with groupby and apply
{ "avatar_url": "https://avatars.githubusercontent.com/u/90996011?v=4", "events_url": "https://api.github.com/users/ryangogogo36/events{/privacy}", "followers_url": "https://api.github.com/users/ryangogogo36/followers", "following_url": "https://api.github.com/users/ryangogogo36/following{/other_user}", "gists_url": "https://api.github.com/users/ryangogogo36/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ryangogogo36", "id": 90996011, "login": "ryangogogo36", "node_id": "MDQ6VXNlcjkwOTk2MDEx", "organizations_url": "https://api.github.com/users/ryangogogo36/orgs", "received_events_url": "https://api.github.com/users/ryangogogo36/received_events", "repos_url": "https://api.github.com/users/ryangogogo36/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ryangogogo36/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ryangogogo36/subscriptions", "type": "User", "url": "https://api.github.com/users/ryangogogo36" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
closed
false
null
[]
null
4
"2021-09-19T04:09:07Z"
"2021-09-19T22:35:40Z"
"2021-09-19T22:35:25Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd ''' Create the following dataframe "df": a b ---- 1 4 1 2 2 5 2 1 ''' df = pd.DataFrame({'a': [1, 1, 2, 2], 'b': [4, 2, 5, 1]}) def f(x): # Insert a new column "c" and sort each sub-dataframe "x" according to values in "c" x['c'] = x['b'].tolist() return x.sort_values('c') df = df.groupby('a').apply(f).reset_index(drop=True) ''' I got an unexpected dataframe "df": a b c ------- 1 2 2 1 4 4 1 2 2 1 4 4 ''' ``` ### Issue Description As shown in the reproducible example, when I use groupby and apply to insert a new column to the sub-dataframe of each group and sort the sub-dataframe according to the new column, I got a wrong result. It seems to me that the sub-dataframe of the first group was simply duplicated. I feel this is a bug, but please correct me if I am wrong. Thank you so much for your help! I would really appreciate it! ### Expected Behavior The expected dataframe "df" should look like: ```python-traceback a b c ------- 1 2 2 1 4 4 2 1 1 2 5 5 ``` ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : db08276bc116c438d3fdee492026f8223584c477 python : 3.6.8.final.0 python-bits : 64 OS : Darwin OS-release : 18.7.0 Version : Darwin Kernel Version 18.7.0: Mon Aug 31 20:53:32 PDT 2020; root:xnu-4903.278.44~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : en_US.UTF-8 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 : 0.9999999 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 5.8.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 2.1.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.0.0 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43655/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43655/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43656
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43656/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43656/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43656/events
https://github.com/pandas-dev/pandas/pull/43656
1,000,234,708
PR_kwDOAA0YD84r7h1d
43,656
DOC: expand allowed vals for `multicol_align`
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "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": "006b75", "default": false, "description": "to_latex", "id": 251382258, "name": "IO LaTeX", "node_id": "MDU6TGFiZWwyNTEzODIyNTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
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" }
0
"2021-09-19T07:26:18Z"
"2021-09-21T16:16:29Z"
"2021-09-21T14:09:54Z"
CONTRIBUTOR
null
- [x] closes #43471 no whats new since this is a new feature for 1.4.0 anyway.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43656/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43656/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43656.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43656", "merged_at": "2021-09-21T14:09:53Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43656.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43656" }
https://api.github.com/repos/pandas-dev/pandas/issues/43657
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43657/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43657/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43657/events
https://github.com/pandas-dev/pandas/pull/43657
1,000,241,527
PR_kwDOAA0YD84r7i55
43,657
BUG: add css conversion for new `Styler.apply_index` styles
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "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": "to_latex", "id": 251382258, "name": "IO LaTeX", "node_id": "MDU6TGFiZWwyNTEzODIyNTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
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
"2021-09-19T08:01:34Z"
"2021-09-21T14:09:22Z"
"2021-09-21T13:57:25Z"
CONTRIBUTOR
null
- [x] closes #43648 no whats new needed since `apply_index` is new to 1.4.0 and this just makes it more complete.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43657/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43657/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43657.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43657", "merged_at": "2021-09-21T13:57:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43657.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43657" }
https://api.github.com/repos/pandas-dev/pandas/issues/43658
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43658/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43658/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43658/events
https://github.com/pandas-dev/pandas/pull/43658
1,000,259,595
PR_kwDOAA0YD84r7ll8
43,658
DEPR: Fix deprecation warnings in ASV
{ "avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4", "events_url": "https://api.github.com/users/topper-123/events{/privacy}", "followers_url": "https://api.github.com/users/topper-123/followers", "following_url": "https://api.github.com/users/topper-123/following{/other_user}", "gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/topper-123", "id": 26364415, "login": "topper-123", "node_id": "MDQ6VXNlcjI2MzY0NDE1", "organizations_url": "https://api.github.com/users/topper-123/orgs", "received_events_url": "https://api.github.com/users/topper-123/received_events", "repos_url": "https://api.github.com/users/topper-123/repos", "site_admin": false, "starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/topper-123/subscriptions", "type": "User", "url": "https://api.github.com/users/topper-123" }
[ { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" }, { "color": "ae68cc", "default": false, "description": "Performance (ASV) benchmarks", "id": 732775912, "name": "Benchmark", "node_id": "MDU6TGFiZWw3MzI3NzU5MTI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 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
"2021-09-19T09:21:40Z"
"2021-09-21T12:44:21Z"
"2021-09-21T12:14:18Z"
CONTRIBUTOR
null
- [X] closes #43586
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43658/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43658/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43658.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43658", "merged_at": "2021-09-21T12:14:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43658.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43658" }
https://api.github.com/repos/pandas-dev/pandas/issues/43659
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43659/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43659/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43659/events
https://github.com/pandas-dev/pandas/issues/43659
1,000,274,204
I_kwDOAA0YD847nvkc
43,659
BUG: rename fails when using level
{ "avatar_url": "https://avatars.githubusercontent.com/u/4247265?v=4", "events_url": "https://api.github.com/users/bustawin/events{/privacy}", "followers_url": "https://api.github.com/users/bustawin/followers", "following_url": "https://api.github.com/users/bustawin/following{/other_user}", "gists_url": "https://api.github.com/users/bustawin/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/bustawin", "id": 4247265, "login": "bustawin", "node_id": "MDQ6VXNlcjQyNDcyNjU=", "organizations_url": "https://api.github.com/users/bustawin/orgs", "received_events_url": "https://api.github.com/users/bustawin/received_events", "repos_url": "https://api.github.com/users/bustawin/repos", "site_admin": false, "starred_url": "https://api.github.com/users/bustawin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/bustawin/subscriptions", "type": "User", "url": "https://api.github.com/users/bustawin" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": 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" }
2
"2021-09-19T10:30:38Z"
"2021-09-27T23:34:23Z"
"2021-09-27T23:34:23Z"
NONE
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd import numpy as np arrays = [ ["bar", "bar", "baz", "baz", "foo", "foo", "qux", "qux"], ["one", "two", "one", "two", "one", "two", "one", "two"], ] tuples = list(zip(*arrays)) index = pd.MultiIndex.from_tuples(tuples, names=["first", "second"]) s = pd.Series(np.random.randn(8), index=index) s.rename(index={'one': 'yes'}, level='second', errors='raise') ``` ### Issue Description `rename` does never find index values when using the `level` parameter to replace. When adding `errors='raise'`, we get the following error: ``` Traceback (most recent call last): File "/Users/bustawin/repos/venvs/bicing/lib/python3.9/site-packages/IPython/core/interactiveshell.py", line 3441, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "<ipython-input-15-54b8de4a3511>", line 1, in <module> s.rename(index={'one': 'yes'}, level=1, errors='raise') File "/Users/bustawin/repos/venvs/bicing/lib/python3.9/site-packages/pandas/core/series.py", line 4518, in rename return super().rename( File "/Users/bustawin/repos/venvs/bicing/lib/python3.9/site-packages/pandas/core/generic.py", line 1154, in rename raise KeyError(f"{missing_labels} not found in axis") KeyError: "['one'] not found in axis" ``` The example dataframe is taken from the [multi-index guide](https://pandas.pydata.org/docs/user_guide/advanced.html#creating-a-multiindex-hierarchical-index-object). ### Expected Behavior The above should have produced the following dataframe: ``` first second bar yes 0.220890 two -1.497161 baz yes 0.589343 two -0.604643 foo yes 0.090448 two 0.373825 qux yes 1.366876 two 1.460868 ``` ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.9.7.final.0 python-bits : 64 OS : Darwin OS-release : 20.6.0 Version : Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : en_US.UTF-8 LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.3 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.1.3 setuptools : 57.0.0 Cython : None pytest : 6.2.5 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.3 html5lib : None pymysql : None psycopg2 : 2.9.1 (dt dec pq3 ext lo64) jinja2 : 3.0.1 IPython : 7.27.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : 2021.08.1 fastparquet : None gcsfs : None matplotlib : 3.4.3 numexpr : 2.7.3 odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : 5.0.0 pyxlsb : None s3fs : None scipy : 1.7.1 sqlalchemy : 1.3.24 tables : None tabulate : 0.8.9 xarray : None xlrd : None xlwt : None numba : 0.53.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/43659/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43659/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43660
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43660/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43660/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43660/events
https://github.com/pandas-dev/pandas/pull/43660
1,000,358,401
PR_kwDOAA0YD84r71E5
43,660
CI: adding cython coverage
{ "avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4", "events_url": "https://api.github.com/users/debnathshoham/events{/privacy}", "followers_url": "https://api.github.com/users/debnathshoham/followers", "following_url": "https://api.github.com/users/debnathshoham/following{/other_user}", "gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/debnathshoham", "id": 6472290, "login": "debnathshoham", "node_id": "MDQ6VXNlcjY0NzIyOTA=", "organizations_url": "https://api.github.com/users/debnathshoham/orgs", "received_events_url": "https://api.github.com/users/debnathshoham/received_events", "repos_url": "https://api.github.com/users/debnathshoham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions", "type": "User", "url": "https://api.github.com/users/debnathshoham" }
[ { "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": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
open
false
null
[]
null
2
"2021-09-19T16:30:43Z"
"2021-11-12T00:03:30Z"
null
CONTRIBUTOR
null
- [x] closes #43652 Trying to include cython codes in codecov reports. Working with the CI for the first time.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43660/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43660/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43660.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43660", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43660.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43660" }
https://api.github.com/repos/pandas-dev/pandas/issues/43661
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43661/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43661/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43661/events
https://github.com/pandas-dev/pandas/pull/43661
1,000,377,883
PR_kwDOAA0YD84r74H0
43,661
REF: simplify IndexEngine signature
{ "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": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 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
"2021-09-19T17:59:21Z"
"2021-09-20T15:24:43Z"
"2021-09-20T13:18:24Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43661/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43661/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43661.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43661", "merged_at": "2021-09-20T13:18:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43661.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43661" }
https://api.github.com/repos/pandas-dev/pandas/issues/43662
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43662/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43662/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43662/events
https://github.com/pandas-dev/pandas/pull/43662
1,000,399,025
PR_kwDOAA0YD84r77cA
43,662
ENH: `Styler.bar` accepts matplotlib colormap
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
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
"2021-09-19T19:33:51Z"
"2021-10-11T15:51:20Z"
"2021-10-10T17:35:44Z"
CONTRIBUTOR
null
No one has requested this but I think its nice none-the-less, especially in finance / science. Kind of like background_gradient with slightly different vizualisations. ![Screen Shot 2021-09-19 at 21 25 07](https://user-images.githubusercontent.com/24256554/133940391-b2a8157e-8346-4cb4-8af2-8e71146e7c90.png) ![Screen Shot 2021-09-19 at 21 32 01](https://user-images.githubusercontent.com/24256554/133940536-8cc11271-0564-4123-a79e-b715d61356d8.png)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43662/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43662/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43662.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43662", "merged_at": "2021-10-10T17:35:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43662.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43662" }
https://api.github.com/repos/pandas-dev/pandas/issues/43663
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43663/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43663/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43663/events
https://github.com/pandas-dev/pandas/issues/43663
1,000,404,698
I_kwDOAA0YD847oPba
43,663
DOC: Add Inner Fill Option
{ "avatar_url": "https://avatars.githubusercontent.com/u/4192642?v=4", "events_url": "https://api.github.com/users/nickginsberg/events{/privacy}", "followers_url": "https://api.github.com/users/nickginsberg/followers", "following_url": "https://api.github.com/users/nickginsberg/following{/other_user}", "gists_url": "https://api.github.com/users/nickginsberg/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nickginsberg", "id": 4192642, "login": "nickginsberg", "node_id": "MDQ6VXNlcjQxOTI2NDI=", "organizations_url": "https://api.github.com/users/nickginsberg/orgs", "received_events_url": "https://api.github.com/users/nickginsberg/received_events", "repos_url": "https://api.github.com/users/nickginsberg/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nickginsberg/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nickginsberg/subscriptions", "type": "User", "url": "https://api.github.com/users/nickginsberg" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
open
false
null
[]
null
1
"2021-09-19T19:59:10Z"
"2021-10-01T22:43:30Z"
null
NONE
null
#### Is your feature request related to a problem? With fillna (https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.fillna.html), the options are only front fill or back fill. In some instances, though, you might want to do an "inner" fill--meaning only fill between the first valid value and the last valid value. For example, let's consider the data frame below. Let's imagine a store that was closed on weekends (so they never took inventory) and only sold two products. Product A was limited release, so we want to differentiate between 0 inventory (implying that it would come back) and NaN inventory (meaning it isn't actually sold). |Date|Product A|Product B| | --- | --- | --- | |8/30/2021|NaN|20| |8/31/2021|NaN|18| |9/01/2021|25|17| |9/02/2021|20|14| |9/03/2021|14|13| |9/04/2021|NaN|NaN| |9/05/2021|NaN|NaN| |9/06/2021|9|11| |9/07/2021|3|9| |9/08/2021|NaN|5| |9/09/2021| NaN|0| Now, let's imagine we want to fill in prices for weekends, but, if we do front fill, it will fill in a 3 for 9/8/2021 and 9/9/2021, which does not make sense. If we do back fill, we would fill in values for 8/30 and 8/31, which also doesn't make sense. Ideally, we'd be able to do something like a front/back fill, but select "inner_only=True", to get the resulting dataframe of: |Date|Product A|Product B| | --- | --- | --- | |8/30/2021|NaN|20| |8/31/2021|NaN|18| |9/01/2021|25|17| |9/02/2021|20|14| |9/03/2021|14|13| |9/04/2021|14|13| |9/05/2021|14|13| |9/06/2021|9|11| |9/07/2021|3|9| |9/08/2021|NaN|5| |9/09/2021| NaN|0| #### Describe the solution you'd like New parameter: inner_only Docstring: Will perform the requested fill operation, but only between the first and last valid elements in the column. #### API breaking implications No API breaking implementations #### Describe alternatives you've considered Have written some workarounds for this--essentially getting the iloc of the first and last elements, doing the fill operation on the results only in between those, then replacing back to the dataframe. ```python def inner_fill_df(df, fill_method="ffill", cols=[]): if not cols or not len(cols): cols = list(df.columns) for col_name in cols: first_valid_index = df.index.get_loc(df[col_name].first_valid_index()) last_valid_index = df.index.get_loc(df[col_name].last_valid_index()) if not last_valid_index: last_valid_index = len(df[col_name]) df[col_name].iloc[first_valid_index:last_valid_index] = df[col_name].iloc[first_valid_index:last_valid_index].fillna(method=fill_method) return df ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43663/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43663/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43664
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43664/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43664/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43664/events
https://github.com/pandas-dev/pandas/issues/43664
1,000,410,828
I_kwDOAA0YD847oQ7M
43,664
TYP: Redundant imports to define the public API
{ "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": "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" }
0
"2021-09-19T20:25:24Z"
"2021-09-28T23:39:12Z"
"2021-09-28T23:39:12Z"
CONTRIBUTOR
null
The following is not standardized in a PEP but is [generally agreed on by multiple type checkers](https://github.com/pytorch/pytorch/issues/47027#issuecomment-780898127) and is mentioned in the [scope of stub files in PEP484](https://www.python.org/dev/peps/pep-0484/#stub-files). See https://github.com/pytorch/pytorch/issues/47027#issuecomment-719036333 for more pointers. Pytorch (in [__init__.py](https://github.com/pytorch/pytorch/blob/88032d894311e5c0aed8bbc21a4306bc6be4af82/torch/__init__.py#L678)) and numpy (in [__init__.pyi](https://github.com/numpy/numpy/blob/df0b1bd75f0e8489912863d1f9dfde1846a7bf51/numpy/__init__.pyi#L198)) are two of the projects that already try to use redundant imports. #### Is your feature request related to a problem? When pandas becomes a py.typed library (#28142), static type checks need to know what is part of the public API and what isn't. PEP 484 outlines that imported modules are only part of the public API, if they follow the pattern of "import X as X" (for stub files). Pyright implemented this not only for stub files but also for "normal" python code (see https://github.com/microsoft/pyright/blob/main/docs/typed-libraries.md#library-interface). Edit: mypy also complains about that when `implicit_reexport=false` #### Describe the solution you'd like Use redundant imports to signal what is part of the public API. While this is not standardized for normal python code, pandas has/will have many `.pyi` files for its cython code (which is subject to PEP 484). It is probably more consistent to use redundant imports in the entire codebase, not only in `.pyi` files. #### API breaking implications Until pandas is a py.typed library, it would be good to have a clear statement what takes precedence to define the public API (in case there are mismatches between the documentation, import statements, or type annotations). #### Additional context When creating an empty py.typed file in the pandas directory and using pyright to validate the following code: ```python import pandas as pd pd.DataFrame() ``` `error: "DataFrame" is not exported from module "pandas" (reportPrivateImportUsage)`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43664/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43664/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43665
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43665/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43665/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43665/events
https://github.com/pandas-dev/pandas/pull/43665
1,000,432,702
PR_kwDOAA0YD84r8Apg
43,665
DEPR: rolling/expanding/ewm.validate
{ "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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" }, { "color": "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": 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
"2021-09-19T22:10:37Z"
"2021-09-20T16:59:13Z"
"2021-09-20T14:36:30Z"
MEMBER
null
- [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry An method with validation logic that should be in `__init__` ideally and should not be called by users.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43665/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43665/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43665.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43665", "merged_at": "2021-09-20T14:36:30Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43665.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43665" }
https://api.github.com/repos/pandas-dev/pandas/issues/43666
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43666/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43666/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43666/events
https://github.com/pandas-dev/pandas/pull/43666
1,000,614,729
PR_kwDOAA0YD84r8iX-
43,666
ENH: RangeIndex.sort_values now avoids materialization of values
{ "avatar_url": "https://avatars.githubusercontent.com/u/12675558?v=4", "events_url": "https://api.github.com/users/usersblock/events{/privacy}", "followers_url": "https://api.github.com/users/usersblock/followers", "following_url": "https://api.github.com/users/usersblock/following{/other_user}", "gists_url": "https://api.github.com/users/usersblock/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/usersblock", "id": 12675558, "login": "usersblock", "node_id": "MDQ6VXNlcjEyNjc1NTU4", "organizations_url": "https://api.github.com/users/usersblock/orgs", "received_events_url": "https://api.github.com/users/usersblock/received_events", "repos_url": "https://api.github.com/users/usersblock/repos", "site_admin": false, "starred_url": "https://api.github.com/users/usersblock/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/usersblock/subscriptions", "type": "User", "url": "https://api.github.com/users/usersblock" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 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" }
9
"2021-09-20T06:25:54Z"
"2021-10-21T00:50:26Z"
"2021-10-21T00:50:22Z"
CONTRIBUTOR
null
- [x] closes #43584 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry What's new: On any instance of RangeIndex, sort_values will not sort as it is already sorted.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43666/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43666/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43666.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43666", "merged_at": "2021-10-21T00:50:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43666.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43666" }
https://api.github.com/repos/pandas-dev/pandas/issues/43667
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43667/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43667/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43667/events
https://github.com/pandas-dev/pandas/pull/43667
1,000,624,132
PR_kwDOAA0YD84r8kI0
43,667
BUG: rename fails when using level
{ "avatar_url": "https://avatars.githubusercontent.com/u/25926862?v=4", "events_url": "https://api.github.com/users/wojtek2kdev/events{/privacy}", "followers_url": "https://api.github.com/users/wojtek2kdev/followers", "following_url": "https://api.github.com/users/wojtek2kdev/following{/other_user}", "gists_url": "https://api.github.com/users/wojtek2kdev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/wojtek2kdev", "id": 25926862, "login": "wojtek2kdev", "node_id": "MDQ6VXNlcjI1OTI2ODYy", "organizations_url": "https://api.github.com/users/wojtek2kdev/orgs", "received_events_url": "https://api.github.com/users/wojtek2kdev/received_events", "repos_url": "https://api.github.com/users/wojtek2kdev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/wojtek2kdev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/wojtek2kdev/subscriptions", "type": "User", "url": "https://api.github.com/users/wojtek2kdev" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
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" }
6
"2021-09-20T06:45:26Z"
"2021-09-28T01:12:36Z"
"2021-09-27T23:34:23Z"
CONTRIBUTOR
null
- [x] closes #43659 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43667/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43667/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43667.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43667", "merged_at": "2021-09-27T23:34:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43667.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43667" }
https://api.github.com/repos/pandas-dev/pandas/issues/43668
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43668/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43668/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43668/events
https://github.com/pandas-dev/pandas/issues/43668
1,000,771,074
I_kwDOAA0YD847po4C
43,668
BUG: DataFrame.convert_dtypes doesn't preserve subclasses
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "abf98b", "default": false, "description": "Subclassing pandas objects", "id": 2559562239, "name": "Subclassing", "node_id": "MDU6TGFiZWwyNTU5NTYyMjM5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Subclassing" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/45483497?v=4", "events_url": "https://api.github.com/users/m-richards/events{/privacy}", "followers_url": "https://api.github.com/users/m-richards/followers", "following_url": "https://api.github.com/users/m-richards/following{/other_user}", "gists_url": "https://api.github.com/users/m-richards/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/m-richards", "id": 45483497, "login": "m-richards", "node_id": "MDQ6VXNlcjQ1NDgzNDk3", "organizations_url": "https://api.github.com/users/m-richards/orgs", "received_events_url": "https://api.github.com/users/m-richards/received_events", "repos_url": "https://api.github.com/users/m-richards/repos", "site_admin": false, "starred_url": "https://api.github.com/users/m-richards/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/m-richards/subscriptions", "type": "User", "url": "https://api.github.com/users/m-richards" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/45483497?v=4", "events_url": "https://api.github.com/users/m-richards/events{/privacy}", "followers_url": "https://api.github.com/users/m-richards/followers", "following_url": "https://api.github.com/users/m-richards/following{/other_user}", "gists_url": "https://api.github.com/users/m-richards/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/m-richards", "id": 45483497, "login": "m-richards", "node_id": "MDQ6VXNlcjQ1NDgzNDk3", "organizations_url": "https://api.github.com/users/m-richards/orgs", "received_events_url": "https://api.github.com/users/m-richards/received_events", "repos_url": "https://api.github.com/users/m-richards/repos", "site_admin": false, "starred_url": "https://api.github.com/users/m-richards/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/m-richards/subscriptions", "type": "User", "url": "https://api.github.com/users/m-richards" } ]
{ "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
"2021-09-20T09:49:31Z"
"2021-11-13T17:03:31Z"
"2021-11-13T17:03:31Z"
MEMBER
null
The `DataFrame.convert_dtypes` method returns the same dataframe (with potentially updated dtypes in certain columns), but because of the internal use of `concat`, it doesn't necessarily preserve the class type of the dataframe for subclasses. Noticed this in GeoPandas: https://github.com/geopandas/geopandas/issues/1870 This stems from the fact that the dataframe is basically decomposed into columns (Series), and then those are combined again into a DataFrame with `concat`. But at that point, you are concatting Series objects, and concat doesn't know anymore about the original dataframe class. Personally, I would say that the use of `concat` here is an implementation detail, and that `convert_dtypes` could easily preserve the original class of the calling dataframe. Small reproducer without geopandas: ```python class SubclassedDataFrame(DataFrame): @property def _constructor(self): return SubclassedDataFrame In [51]: df = SubclassedDataFrame({'a': [1, 2, 3]}) In [52]: type(df) Out[52]: __main__.SubclassedDataFrame In [53]: type(df.convert_dtypes()) Out[53]: pandas.core.frame.DataFrame ``` Note I am not using `pd._testing.SubclassedDataFrame` since for this subclass, each column is also a SubclassesSeries, and then `concat` will actually preserve the subclass.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43668/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43668/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43669
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43669/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43669/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43669/events
https://github.com/pandas-dev/pandas/issues/43669
1,000,829,081
I_kwDOAA0YD847p3CZ
43,669
BUG: Wrong time data when using GMT+/-xy time zones
{ "avatar_url": "https://avatars.githubusercontent.com/u/36617169?v=4", "events_url": "https://api.github.com/users/SKittan/events{/privacy}", "followers_url": "https://api.github.com/users/SKittan/followers", "following_url": "https://api.github.com/users/SKittan/following{/other_user}", "gists_url": "https://api.github.com/users/SKittan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SKittan", "id": 36617169, "login": "SKittan", "node_id": "MDQ6VXNlcjM2NjE3MTY5", "organizations_url": "https://api.github.com/users/SKittan/orgs", "received_events_url": "https://api.github.com/users/SKittan/received_events", "repos_url": "https://api.github.com/users/SKittan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SKittan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SKittan/subscriptions", "type": "User", "url": "https://api.github.com/users/SKittan" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "5319e7", "default": false, "description": "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": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
2
"2021-09-20T10:56:18Z"
"2021-09-23T00:15:27Z"
"2021-09-23T00:15: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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd pd.date_range("01.01.2021", periods=4, freq='H', tz='Europe/Berlin') pd.date_range("01.01.2021", periods=4, freq='H', tz='Etc/GMT+1') ``` ### Issue Description I use the date_range function to create a series of time values with time zone information. Since I don't want the DST, I do not use the Berlin time zone, but the equivalent GMT+1 zone. Comparing the results of both function calls, it seems that the time offset sign of the GMT is inverted. This leads to different results for above function calls, which is not correct in my opinion. ### Expected Behavior I expect the same results for both function calls. But the time zone of GMT+1 is different from the time zone of Berlin. ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.9.7.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19042 machine : AMD64 processor : AMD64 Family 23 Model 1 Stepping 1, AuthenticAMD byteorder : little LC_ALL : None LANG : None LOCALE : de_DE.cp1252 pandas : 1.3.3 numpy : 1.20.3 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.4 setuptools : 58.0.4 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.3 html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : 7.27.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.3 numexpr : 2.7.3 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.7.1 sqlalchemy : None tables : 3.6.1 tabulate : None xarray : None xlrd : None xlwt : None numba : 0.54.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/43669/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43669/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43670
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43670/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43670/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43670/events
https://github.com/pandas-dev/pandas/pull/43670
1,001,266,986
PR_kwDOAA0YD84r-k6W
43,670
ENH: latex styler bool pandas options
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "006b75", "default": false, "description": "to_latex", "id": 251382258, "name": "IO LaTeX", "node_id": "MDU6TGFiZWwyNTEzODIyNTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX" }, { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
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" }
6
"2021-09-20T18:25:46Z"
"2021-10-19T05:32:03Z"
"2021-10-18T23:15:03Z"
CONTRIBUTOR
null
- [x] adds the last remaining options for #41395 for the existing args in Styler.to_latex.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43670/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43670/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43670.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43670", "merged_at": "2021-10-18T23:15:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43670.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43670" }
https://api.github.com/repos/pandas-dev/pandas/issues/43671
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43671/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43671/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43671/events
https://github.com/pandas-dev/pandas/pull/43671
1,001,279,065
PR_kwDOAA0YD84r-nVn
43,671
ENH: enable skipna on groupby reduction ops
{ "avatar_url": "https://avatars.githubusercontent.com/u/8428345?v=4", "events_url": "https://api.github.com/users/geoffrey-eisenbarth/events{/privacy}", "followers_url": "https://api.github.com/users/geoffrey-eisenbarth/followers", "following_url": "https://api.github.com/users/geoffrey-eisenbarth/following{/other_user}", "gists_url": "https://api.github.com/users/geoffrey-eisenbarth/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/geoffrey-eisenbarth", "id": 8428345, "login": "geoffrey-eisenbarth", "node_id": "MDQ6VXNlcjg0MjgzNDU=", "organizations_url": "https://api.github.com/users/geoffrey-eisenbarth/orgs", "received_events_url": "https://api.github.com/users/geoffrey-eisenbarth/received_events", "repos_url": "https://api.github.com/users/geoffrey-eisenbarth/repos", "site_admin": false, "starred_url": "https://api.github.com/users/geoffrey-eisenbarth/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/geoffrey-eisenbarth/subscriptions", "type": "User", "url": "https://api.github.com/users/geoffrey-eisenbarth" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" }, { "color": "547c03", "default": false, "description": "sum, mean, min, max, etc.", "id": 2365504383, "name": "Reduction Operations", "node_id": "MDU6TGFiZWwyMzY1NTA0Mzgz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reduction%20Operations" } ]
open
false
null
[]
null
8
"2021-09-20T18:41:27Z"
"2021-11-02T16:09:58Z"
null
CONTRIBUTOR
null
- [ ] closes #15675 - [ ] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry @mzeitlin11 Any help you can provide on what tests I should add, or where to start digging for similar `GroupBy` tests would be appreciated. As stated in PR #41399, I'm not super familiar with Cython, so hoping that the previous contributors (stale) PR is close to what's needed (I suppose the tests will tell us). 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/43671/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43671/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43671.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43671", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43671.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43671" }
https://api.github.com/repos/pandas-dev/pandas/issues/43672
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43672/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43672/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43672/events
https://github.com/pandas-dev/pandas/pull/43672
1,001,297,490
PR_kwDOAA0YD84r-qzQ
43,672
CI: run pyright
{ "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": "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": "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" }
8
"2021-09-20T19:03:24Z"
"2021-09-25T15:37:51Z"
"2021-09-25T15:37:17Z"
CONTRIBUTOR
null
Run pyright in strict mode with a very long list of rules that need to be ignored. The idea is to enable more rules over time. pre-commit seamlessly installs pyright (depends on node.js) but running pyright as part of the pre-commit slows the pre-commit down by ~85s.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43672/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43672/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43672.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43672", "merged_at": "2021-09-25T15:37:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43672.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43672" }
https://api.github.com/repos/pandas-dev/pandas/issues/43673
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43673/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43673/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43673/events
https://github.com/pandas-dev/pandas/pull/43673
1,001,318,271
PR_kwDOAA0YD84r-u8T
43,673
ENH: omit CSSStyle rules for hidden table elements (#43619)
{ "avatar_url": "https://avatars.githubusercontent.com/u/414652?v=4", "events_url": "https://api.github.com/users/rendner/events{/privacy}", "followers_url": "https://api.github.com/users/rendner/followers", "following_url": "https://api.github.com/users/rendner/following{/other_user}", "gists_url": "https://api.github.com/users/rendner/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rendner", "id": 414652, "login": "rendner", "node_id": "MDQ6VXNlcjQxNDY1Mg==", "organizations_url": "https://api.github.com/users/rendner/orgs", "received_events_url": "https://api.github.com/users/rendner/received_events", "repos_url": "https://api.github.com/users/rendner/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rendner/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rendner/subscriptions", "type": "User", "url": "https://api.github.com/users/rendner" }
[ { "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": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
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" }
9
"2021-09-20T19:25:30Z"
"2021-09-23T14:42:43Z"
"2021-09-22T12:36:52Z"
CONTRIBUTOR
null
- [x] closes #43619 - [x] tests added / passed (but canceled due to another error) - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry I couldn't run all tests, because of the following problem, which isn't related to my changes: ``` pandas/tests/io/test_orc.py terminate called after throwing an instance of 'orc::TimezoneError' what(): Can't open /etc/localtime Fatal Python error: Aborted ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43673/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43673/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43673.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43673", "merged_at": "2021-09-22T12:36:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43673.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43673" }
https://api.github.com/repos/pandas-dev/pandas/issues/43674
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43674/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43674/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43674/events
https://github.com/pandas-dev/pandas/pull/43674
1,001,369,179
PR_kwDOAA0YD84r-5Vl
43,674
TST: dropping of nuisance columns for groupby ops #38815
{ "avatar_url": "https://avatars.githubusercontent.com/u/44500643?v=4", "events_url": "https://api.github.com/users/horaceklai/events{/privacy}", "followers_url": "https://api.github.com/users/horaceklai/followers", "following_url": "https://api.github.com/users/horaceklai/following{/other_user}", "gists_url": "https://api.github.com/users/horaceklai/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/horaceklai", "id": 44500643, "login": "horaceklai", "node_id": "MDQ6VXNlcjQ0NTAwNjQz", "organizations_url": "https://api.github.com/users/horaceklai/orgs", "received_events_url": "https://api.github.com/users/horaceklai/received_events", "repos_url": "https://api.github.com/users/horaceklai/repos", "site_admin": false, "starred_url": "https://api.github.com/users/horaceklai/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/horaceklai/subscriptions", "type": "User", "url": "https://api.github.com/users/horaceklai" }
[ { "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": 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" }
3
"2021-09-20T20:23:30Z"
"2021-10-05T00:30:14Z"
"2021-10-05T00:30:11Z"
CONTRIBUTOR
null
Add more aggregation functions for nuisance tests - [ x] closes #38815 - [x ] tests added / passed - [x ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43674/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43674/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43674.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43674", "merged_at": "2021-10-05T00:30:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43674.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43674" }
https://api.github.com/repos/pandas-dev/pandas/issues/43675
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43675/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43675/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43675/events
https://github.com/pandas-dev/pandas/pull/43675
1,001,529,228
PR_kwDOAA0YD84r_bqa
43,675
PERF: Groupby.any/all object dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": 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
"2021-09-20T22:58:46Z"
"2021-09-21T14:50:05Z"
"2021-09-21T12:48:26Z"
MEMBER
null
``` from asv_bench.benchmarks.groupby import * self = GroupByMethods() self.setup("object", "any", "direct", 10) %timeit self.time_dtype_as_field("object", "any", "direct", 10) 1.12 ms ± 60.7 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # <- PR 11.4 ms ± 49.8 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) # <- master ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43675/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43675/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43675.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43675", "merged_at": "2021-09-21T12:48:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43675.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43675" }
https://api.github.com/repos/pandas-dev/pandas/issues/43676
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43676/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43676/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43676/events
https://github.com/pandas-dev/pandas/pull/43676
1,001,570,126
PR_kwDOAA0YD84r_kax
43,676
WIP: Debug Slow Database CI
{ "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
false
null
[]
null
0
"2021-09-20T23:49:25Z"
"2021-11-12T05:05:06Z"
"2021-09-21T00:17:26Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry Database / Linux_py37_IO (ci/deps/actions-37-db-min.yaml) (pull_request) is the offending job, taking up to 6 hours to resolve dependencies. Let's find out why.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43676/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43676/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43676.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43676", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43676.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43676" }
https://api.github.com/repos/pandas-dev/pandas/issues/43677
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43677/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43677/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43677/events
https://github.com/pandas-dev/pandas/pull/43677
1,001,595,729
PR_kwDOAA0YD84r_pa0
43,677
CI: Strict channel Priority
{ "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": "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-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "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.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
5
"2021-09-21T00:23:04Z"
"2021-09-23T00:04:48Z"
"2021-09-22T13:10:25Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry Hopefully, this makes the slow Database CI that takes 6+ hours go faster(most of the time is in the resolve environments step). Also turns on the database builds for commits to 1.3.x which was left out due to an oversight. Unfortunately, this doesn't work for posix since the env doesn't resolve with strict channel priority.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43677/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43677/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43677.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43677", "merged_at": "2021-09-22T13:10:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43677.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43677" }
https://api.github.com/repos/pandas-dev/pandas/issues/43678
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43678/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43678/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43678/events
https://github.com/pandas-dev/pandas/pull/43678
1,001,672,010
PR_kwDOAA0YD84r_48U
43,678
POC: New UDF methods option
{ "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": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
1
"2021-09-21T01:59:24Z"
"2021-10-26T03:34:49Z"
"2021-10-26T03:34:49Z"
MEMBER
null
Start of #41112 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry The goal is to provide an implementation for apply on lists. See https://github.com/pandas-dev/pandas/issues/41112#issuecomment-902366002 for why this necessitates a change to agg behavior for lists. It is possible to break this up into several PRs, but wanted to give a view as to what it would appear in totality. Attached is a notebook demonstrating the differences in behavior (github doesn't allow attaching the notebook directly). [udfs.pdf](https://github.com/pandas-dev/pandas/files/7199652/udfs.pdf)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43678/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43678/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43678.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43678", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43678.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43678" }
https://api.github.com/repos/pandas-dev/pandas/issues/43679
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43679/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43679/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43679/events
https://github.com/pandas-dev/pandas/pull/43679
1,001,769,456
PR_kwDOAA0YD84sAM3U
43,679
REF: unify i8 casting in DatetimeEngine
{ "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": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": 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" }
3
"2021-09-21T03:33:06Z"
"2021-09-21T20:35:57Z"
"2021-09-21T19:21:57Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43679/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43679/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43679.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43679", "merged_at": "2021-09-21T19:21:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43679.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43679" }
https://api.github.com/repos/pandas-dev/pandas/issues/43680
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43680/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43680/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43680/events
https://github.com/pandas-dev/pandas/issues/43680
1,001,797,970
I_kwDOAA0YD847tjlS
43,680
BUG: pd.Dataframe.sort_values() does not sort values of percentage well.
{ "avatar_url": "https://avatars.githubusercontent.com/u/65025004?v=4", "events_url": "https://api.github.com/users/likilyn/events{/privacy}", "followers_url": "https://api.github.com/users/likilyn/followers", "following_url": "https://api.github.com/users/likilyn/following{/other_user}", "gists_url": "https://api.github.com/users/likilyn/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/likilyn", "id": 65025004, "login": "likilyn", "node_id": "MDQ6VXNlcjY1MDI1MDA0", "organizations_url": "https://api.github.com/users/likilyn/orgs", "received_events_url": "https://api.github.com/users/likilyn/received_events", "repos_url": "https://api.github.com/users/likilyn/repos", "site_admin": false, "starred_url": "https://api.github.com/users/likilyn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/likilyn/subscriptions", "type": "User", "url": "https://api.github.com/users/likilyn" }
[ { "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" }
1
"2021-09-21T03:57:50Z"
"2021-09-21T10:21:47Z"
"2021-09-21T10:21:47Z"
NONE
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd data1 = {"TIMES": [3, 5, 2, 100, 20]} df1 = pd.DataFrame(data=data1) print("===The original dataframe===") print(df1) df1["RATIO"] = df1["TIMES"]/df1["TIMES"].sum() df1["PERCENT"] = df1["RATIO"].apply(lambda x: format(x, ".2%")) df1 = df1.sort_values(by="RATIO", ascending=True) print("===The dataframe sort by RATIO===") print(df1) df1 = df1.sort_values(by="PERCENT", ascending=True) print("===The dataframe sort by PERCENT===") print(df1) ``` ### Issue Description This is what the code out. And when the dataframe is sorted by RATIO , everything is OK .But, when it comes to be sorted by PERCENT, something is wrong, and the sorted column is not correct as you can see below. ===The original dataframe=== TIMES 0 3 1 5 2 2 3 100 4 20 ===The dataframe sort by RATIO=== TIMES RATIO PERCENT 2 2 0.015385 1.54% 0 3 0.023077 2.31% 1 5 0.038462 3.85% 4 20 0.153846 15.38% 3 100 0.769231 76.92% ===The dataframe sort by PERCENT=== TIMES RATIO PERCENT 2 2 0.015385 1.54% 4 20 0.153846 15.38% 0 3 0.023077 2.31% 1 5 0.038462 3.85% 3 100 0.769231 76.92% ### Expected Behavior I expect when the dataframe is sorted by PERCENT, it looks as same as sorted by RATIO.Like this: ===The original dataframe=== TIMES 0 3 1 5 2 2 3 100 4 20 ===The dataframe sort by RATIO=== TIMES RATIO PERCENT 2 2 0.015385 1.54% 0 3 0.023077 2.31% 1 5 0.038462 3.85% 4 20 0.153846 15.38% 3 100 0.769231 76.92% ===The dataframe sort by PERCENT=== TIMES RATIO PERCENT 2 2 0.015385 1.54% 0 3 0.023077 2.31% 1 5 0.038462 3.85% 4 20 0.153846 15.38% 3 100 0.769231 76.92% ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.8.10.final.0 python-bits : 64 OS : Linux OS-release : 4.4.0-19041-Microsoft Version : #1237-Microsoft Sat Sep 11 14:32:00 PST 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : C.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.3 numpy : 1.21.1 pytz : 2021.1 dateutil : 2.8.2 pip : 20.0.2 setuptools : 45.2.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.1 IPython : None pandas_datareader: None bs4 : 4.10.0 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/43680/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43680/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43681
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43681/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43681/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43681/events
https://github.com/pandas-dev/pandas/issues/43681
1,002,416,036
I_kwDOAA0YD847v6ek
43,681
BUG: groupby/apply reuses the index which causes weird behavior
{ "avatar_url": "https://avatars.githubusercontent.com/u/1304950?v=4", "events_url": "https://api.github.com/users/sdementen/events{/privacy}", "followers_url": "https://api.github.com/users/sdementen/followers", "following_url": "https://api.github.com/users/sdementen/following{/other_user}", "gists_url": "https://api.github.com/users/sdementen/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/sdementen", "id": 1304950, "login": "sdementen", "node_id": "MDQ6VXNlcjEzMDQ5NTA=", "organizations_url": "https://api.github.com/users/sdementen/orgs", "received_events_url": "https://api.github.com/users/sdementen/received_events", "repos_url": "https://api.github.com/users/sdementen/repos", "site_admin": false, "starred_url": "https://api.github.com/users/sdementen/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/sdementen/subscriptions", "type": "User", "url": "https://api.github.com/users/sdementen" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "207de5", "default": false, "description": "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": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
open
false
null
[]
null
2
"2021-09-21T12:49:03Z"
"2021-10-01T22:52:16Z"
null
CONTRIBUTOR
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas df = pandas.DataFrame(index=list(range(10)), columns=list("ABC"), data=1) l = [] print(df.groupby(df.index < 4).apply(lambda col: l.append(col.index) or id(col.index))) print(l) sr = pandas.Series(index=list(range(10)), data=1) l = [] print(sr.groupby(sr.index < 4).apply(lambda col: l.append(col.index) or id(col.index))) print(l[0]) print(l[1]) df = pandas.DataFrame(index=list(range(10)), columns=list("ABC"), data=1) l = [] print(df.groupby(df.index < 4).apply(lambda col: l.append(col.eval("index*2")) or id(col.index))) print(l[0]) print(l[1]) print(len(l[0]),l[0].shape) ``` ### Issue Description The result for the Dataframe is quite puzzling as it appears the index of the column sent to the lambda is reused/mutated across the different calls of the groupby/apply (while this does not happend on the Series). I think the values object is also shared. Even worse, when using the column to generate new Series, we see that as the index is shared, we end up with a Series (`l[0]` in the example) which a shape that is not consistent with the length of the Series. ``` False 2116454933648 True 2116454933648 dtype: int64 [Int64Index([0, 1, 2, 3], dtype='int64'), Int64Index([0, 1, 2, 3], dtype='int64')] False 2116454934224 True 2116454934464 dtype: int64 Int64Index([4, 5, 6, 7, 8, 9], dtype='int64') Int64Index([0, 1, 2, 3], dtype='int64') False 2116454933456 True 2116454933456 dtype: int64 0 8 1 10 2 12 3 14 16 18 dtype: int64 0 0 1 2 2 4 3 6 dtype: int64 4 (6,) ``` ### Expected Behavior I would expect a similar result as for Series, ie having a different index/values object on each call of the lambda function for the Dataframe. ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b python : 3.9.5.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18363 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : French_Belgium.1252 pandas : 1.3.2 numpy : 1.20.3 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.4 setuptools : 58.0.0 Cython : None pytest : 6.2.5 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : None pandas_datareader: None bs4 : 4.10.0 bottleneck : None fsspec : 2021.08.1 fastparquet : 0.7.1 gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.3 sqlalchemy : None tables : None tabulate : None xarray : 0.17.0 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/43681/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43681/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43682
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43682/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43682/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43682/events
https://github.com/pandas-dev/pandas/issues/43682
1,002,839,181
I_kwDOAA0YD847xhyN
43,682
ENH: generic implementation of ea_wrap_cython_operation
{ "avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4", "events_url": "https://api.github.com/users/debnathshoham/events{/privacy}", "followers_url": "https://api.github.com/users/debnathshoham/followers", "following_url": "https://api.github.com/users/debnathshoham/following{/other_user}", "gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/debnathshoham", "id": 6472290, "login": "debnathshoham", "node_id": "MDQ6VXNlcjY0NzIyOTA=", "organizations_url": "https://api.github.com/users/debnathshoham/orgs", "received_events_url": "https://api.github.com/users/debnathshoham/received_events", "repos_url": "https://api.github.com/users/debnathshoham/repos", "site_admin": false, "starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions", "type": "User", "url": "https://api.github.com/users/debnathshoham" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
0
"2021-09-21T16:40:03Z"
"2021-09-21T18:03:03Z"
null
CONTRIBUTOR
null
Create a property function to decide what to do for EAs in `_ea_wrap_cython_operation` for groupby ops. xref : https://github.com/pandas-dev/pandas/pull/43634#discussion_r712140219 https://github.com/pandas-dev/pandas/blob/439acc99b2968ec8062eee05af7346acea20915b/pandas/core/groupby/ops.py#L318-L333
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43682/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43682/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43683
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43683/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43683/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43683/events
https://github.com/pandas-dev/pandas/pull/43683
1,002,914,803
PR_kwDOAA0YD84sEC6K
43,683
PERF: dropna
{ "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": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
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
"2021-09-21T17:24:45Z"
"2021-09-21T20:35:18Z"
"2021-09-21T19:20:52Z"
MEMBER
null
``` from asv_bench.benchmarks.frame_methods import * self3 = Dropna() self3.setup("all", 0) %timeit self3.time_dropna('all', 0) 125 ms ± 3.03 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) # <- master 34.8 ms ± 269 µs per loop (mean ± std. dev. of 7 runs, 10 loops each) # <- PR ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43683/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43683/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43683.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43683", "merged_at": "2021-09-21T19:20:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43683.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43683" }
https://api.github.com/repos/pandas-dev/pandas/issues/43684
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43684/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43684/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43684/events
https://github.com/pandas-dev/pandas/pull/43684
1,003,036,189
PR_kwDOAA0YD84sEeKq
43,684
CLN: unnecessary arg, declarations
{ "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": 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" }
0
"2021-09-21T18:28:55Z"
"2021-09-22T14:38:44Z"
"2021-09-22T13:13:02Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43684/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43684/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43684.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43684", "merged_at": "2021-09-22T13:13:02Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43684.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43684" }
https://api.github.com/repos/pandas-dev/pandas/issues/43685
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43685/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43685/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43685/events
https://github.com/pandas-dev/pandas/issues/43685
1,003,116,982
I_kwDOAA0YD847ylm2
43,685
DOC/BUILD: failing on master
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 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" }
0
"2021-09-21T19:19:26Z"
"2021-09-21T22:11:48Z"
"2021-09-21T22:11:48Z"
CONTRIBUTOR
null
> > /home/runner/work/pandas/pandas/doc/source/whatsnew/v1.4.0.rst:372: WARNING: Inline interpreted text or phrase reference start-string without end-string. /home/runner/work/pandas/pandas/doc/source/whatsnew/v1.4.0.rst:372: WARNING: Inline interpreted text or phrase reference start-string without end-string. see this CI output
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43685/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43685/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43686
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43686/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43686/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43686/events
https://github.com/pandas-dev/pandas/pull/43686
1,003,138,016
PR_kwDOAA0YD84sE0p8
43,686
CLN: simplify `Styler._translate`
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "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": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
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" }
7
"2021-09-21T19:33:07Z"
"2021-10-16T16:37:07Z"
"2021-10-16T16:13:29Z"
CONTRIBUTOR
null
Bit of a pre cursor to some other cleaning in #43649. Prevents needing to pass variables around in worker functions, and has the added benefit of making the CSS classes user editable, by storing as a class attribute instead of module constants. I ran the updated styler ASVs for this and "BENCHMARKS NOT SIGNIFICANTLY CHANGED"
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43686/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43686/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43686.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43686", "merged_at": "2021-10-16T16:13:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43686.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43686" }
https://api.github.com/repos/pandas-dev/pandas/issues/43687
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43687/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43687/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43687/events
https://github.com/pandas-dev/pandas/pull/43687
1,003,274,012
PR_kwDOAA0YD84sFSfp
43,687
ASV: rendering hidden elements in `Styler`
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "color": "006b75", "default": false, "description": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
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
"2021-09-21T21:00:26Z"
"2021-09-22T16:56:21Z"
"2021-09-22T13:13:35Z"
CONTRIBUTOR
null
This asv aims to check for rendering regressions when processing loops for hidden rows and 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/43687/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43687/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43687.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43687", "merged_at": "2021-09-22T13:13:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43687.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43687" }
https://api.github.com/repos/pandas-dev/pandas/issues/43688
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43688/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43688/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43688/events
https://github.com/pandas-dev/pandas/pull/43688
1,003,283,924
PR_kwDOAA0YD84sFUpd
43,688
CI: fix doc build
{ "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": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 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
"2021-09-21T21:07:01Z"
"2021-09-22T00:45:31Z"
"2021-09-21T22:11:48Z"
MEMBER
null
- [x] closes #43685
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43688/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43688/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43688.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43688", "merged_at": "2021-09-21T22:11:48Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43688.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43688" }
https://api.github.com/repos/pandas-dev/pandas/issues/43689
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43689/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43689/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43689/events
https://github.com/pandas-dev/pandas/issues/43689
1,003,294,224
I_kwDOAA0YD847zQ4Q
43,689
BUG: `DataFrame().to_parquet()` does not write Parquet compliant data for nested arrays
{ "avatar_url": "https://avatars.githubusercontent.com/u/17158624?v=4", "events_url": "https://api.github.com/users/judahrand/events{/privacy}", "followers_url": "https://api.github.com/users/judahrand/followers", "following_url": "https://api.github.com/users/judahrand/following{/other_user}", "gists_url": "https://api.github.com/users/judahrand/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/judahrand", "id": 17158624, "login": "judahrand", "node_id": "MDQ6VXNlcjE3MTU4NjI0", "organizations_url": "https://api.github.com/users/judahrand/orgs", "received_events_url": "https://api.github.com/users/judahrand/received_events", "repos_url": "https://api.github.com/users/judahrand/repos", "site_admin": false, "starred_url": "https://api.github.com/users/judahrand/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/judahrand/subscriptions", "type": "User", "url": "https://api.github.com/users/judahrand" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "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
[]
{ "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
"2021-09-21T21:13:43Z"
"2021-10-01T13:16:09Z"
null
NONE
null
### Reproducible Example ```python import pyarrow as pa import pyarrow.parquet as pq import pandas as pd df = pd.DataFrame({'int_array_col': [[[1,2,3]], [[4,5,6]]]}) df.to_parquet('/tmp/test', engine='pyarrow') pandas_parquet_table = pq.read_table('/tmp/test') pyarrow_table = pa.Table.from_pandas(df) writer = pa.BufferOutputStream() pq.write_table( pyarrow_table, writer, use_compliant_nested_type=True ) reader = pa.BufferReader(writer.getvalue()) parquet_table = pq.read_table(reader) print("Pandas:", pandas_parquet_table.schema.types) print("Non-compliant Parquet:", pyarrow_table.schema.types) print("Compliant Parquet:", parquet_table.schema.types) assert pandas_parquet_table.schema.types == pyarrow_table.types assert pandas_parquet_table.schema.types == parquet_table.schema.types ```python-traceback Pandas: [ListType(list<item: list<item: int64>>)] Non-compliant Parquet: [ListType(list<item: list<item: int64>>)] Compliant Parquet: [ListType(list<element: list<element: int64>>)] Traceback (most recent call last): File "/Users/judahrand/test_dir/pandas_parquet.py", line 25, in <module> assert pandas_parquet_table.schema.types == parquet_table.schema.types AssertionError ``` ### Issue Description This method currently does not write adherent Parquet Logical Types for nested arrays as defined [here](https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#nested-types). This can cause problems when trying to Parquet as in intermediate format, for example loading data into BigQuery which expects adherent data. This was an issue in PyArrow itself, however, it was fixed in [ARROW-11497](https://github.com/apache/arrow/pull/9489). I believe that this flag should be set in Pandas if we are to claim that Pandas `.to_parquet()` method actually outputs Parquet. ### Expected Behavior Output complaint Parquet.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43689/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43689/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43690
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43690/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43690/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43690/events
https://github.com/pandas-dev/pandas/pull/43690
1,003,303,929
PR_kwDOAA0YD84sFY-U
43,690
BUG: Write compliant Parquet with `pyarrow`
{ "avatar_url": "https://avatars.githubusercontent.com/u/17158624?v=4", "events_url": "https://api.github.com/users/judahrand/events{/privacy}", "followers_url": "https://api.github.com/users/judahrand/followers", "following_url": "https://api.github.com/users/judahrand/following{/other_user}", "gists_url": "https://api.github.com/users/judahrand/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/judahrand", "id": 17158624, "login": "judahrand", "node_id": "MDQ6VXNlcjE3MTU4NjI0", "organizations_url": "https://api.github.com/users/judahrand/orgs", "received_events_url": "https://api.github.com/users/judahrand/received_events", "repos_url": "https://api.github.com/users/judahrand/repos", "site_admin": false, "starred_url": "https://api.github.com/users/judahrand/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/judahrand/subscriptions", "type": "User", "url": "https://api.github.com/users/judahrand" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "parquet, feather", "id": 685114413, "name": "IO Parquet", "node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet" }, { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
open
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" }
14
"2021-09-21T21:21:09Z"
"2021-11-02T00:06:16Z"
null
NONE
null
- [x] closes #43689 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43690/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43690/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43690.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43690", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43690.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43690" }
https://api.github.com/repos/pandas-dev/pandas/issues/43691
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43691/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43691/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43691/events
https://github.com/pandas-dev/pandas/pull/43691
1,003,327,635
PR_kwDOAA0YD84sFeRS
43,691
Backport PR #43647 on branch 1.3.x (BUG: REGR: read_csv with memory_map=True raises UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 262143: unexpected end of data )
{ "avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4", "events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}", "followers_url": "https://api.github.com/users/meeseeksmachine/followers", "following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}", "gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/meeseeksmachine", "id": 39504233, "login": "meeseeksmachine", "node_id": "MDQ6VXNlcjM5NTA0MjMz", "organizations_url": "https://api.github.com/users/meeseeksmachine/orgs", "received_events_url": "https://api.github.com/users/meeseeksmachine/received_events", "repos_url": "https://api.github.com/users/meeseeksmachine/repos", "site_admin": false, "starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions", "type": "User", "url": "https://api.github.com/users/meeseeksmachine" }
[ { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "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.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
1
"2021-09-21T21:38:14Z"
"2021-09-22T10:25:18Z"
"2021-09-22T10:25:18Z"
NONE
null
Backport PR #43647: BUG: REGR: read_csv with memory_map=True raises UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 262143: unexpected end of data
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43691/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43691/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43691.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43691", "merged_at": "2021-09-22T10:25:18Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43691.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43691" }
https://api.github.com/repos/pandas-dev/pandas/issues/43692
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43692/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43692/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43692/events
https://github.com/pandas-dev/pandas/pull/43692
1,003,443,970
PR_kwDOAA0YD84sF4IC
43,692
REF: implement Index._can_use_libjoin
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "fbca04", "default": false, "description": "Related to non-user accessible pandas implementation", "id": 49094459, "name": "Internals", "node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals" } ]
closed
false
null
[]
{ "closed_at": 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" }
0
"2021-09-21T23:03:58Z"
"2021-09-22T01:55:29Z"
"2021-09-22T01:09:31Z"
MEMBER
null
Arbitrary EA-backed Indexes (e.g. Nullable) will not go down that path.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43692/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43692/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43692.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43692", "merged_at": "2021-09-22T01:09:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43692.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43692" }
https://api.github.com/repos/pandas-dev/pandas/issues/43693
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43693/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43693/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43693/events
https://github.com/pandas-dev/pandas/issues/43693
1,003,491,127
I_kwDOAA0YD8470A83
43,693
BUG: to_numeric incorrectly converting values >= 16,777,217 with downcast='float'
{ "avatar_url": "https://avatars.githubusercontent.com/u/5510940?v=4", "events_url": "https://api.github.com/users/jbencina/events{/privacy}", "followers_url": "https://api.github.com/users/jbencina/followers", "following_url": "https://api.github.com/users/jbencina/following{/other_user}", "gists_url": "https://api.github.com/users/jbencina/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbencina", "id": 5510940, "login": "jbencina", "node_id": "MDQ6VXNlcjU1MTA5NDA=", "organizations_url": "https://api.github.com/users/jbencina/orgs", "received_events_url": "https://api.github.com/users/jbencina/received_events", "repos_url": "https://api.github.com/users/jbencina/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbencina/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbencina/subscriptions", "type": "User", "url": "https://api.github.com/users/jbencina" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
open
false
null
[]
null
9
"2021-09-21T23:41:37Z"
"2021-10-01T22:52:50Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd import numpy as np # Series: Result 608202560.0 pd.to_numeric(pd.Series([608202549]), downcast='float') #Series: Result 608202560.0 pd.to_numeric(pd.Series([608202549.0]), downcast='float') # Single: Result 608202549 pd.to_numeric(608202549, downcast='float') # List: Result array([608202560, 608202560]) pd.to_numeric([608202548, 608202549], downcast='float').astype(int) # Range: 1st issue at 16777217 arr = np.arange(0, 6e8, dtype='int64') a = pd.Series(arr) b = pd.to_numeric(a, downcast='float').astype(int) np.where(a != b)[0] ``` ### Issue Description When attempting to use `to_numeric()` on a Pandas Series or list with values >= 16777217, the resulting float is not expected given the input number. ```python pd.to_numeric(pd.Series([608202549]), downcast='float') 0 608202560.0 >>> pd.to_numeric(pd.Series([608202549.0]), downcast='float') 0 608202560.0 ``` This behavior does not occur if the value is passed as a scalar, but does also appear if a List is passed. By comparing values within a range, it seems the issue starts from 16,777,217 onward. This seems to have roots in the discussion about 32 bit floating point in this [Stack Overflow](https://github.com/pandas-dev/pandas/issues/23676#issuecomment-438488603) as well as another Pandas issue on float issues with rank #18271 **Edit-** I updated this issue to be clear that this is affecting both integers and floats larger than 16,777,217 ### Expected Behavior `to_numeric()` should yield the same functional number in float form as the original value(s) ### Installed Versions <details> >>> pd.show_versions() INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.9.4.final.0 python-bits : 64 OS : Darwin OS-release : 20.6.0 Version : Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:27 PDT 2021; root:xnu-7195.141.2~5/RELEASE_ARM64_T8101 machine : arm64 processor : arm byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.3 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.0.1 setuptools : 54.2.0 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None 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/43693/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43693/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43694
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43694/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43694/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43694/events
https://github.com/pandas-dev/pandas/pull/43694
1,003,498,871
PR_kwDOAA0YD84sGEfH
43,694
PERF: Groupby.count
{ "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": 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" }
0
"2021-09-21T23:47:46Z"
"2021-09-22T01:54:49Z"
"2021-09-22T01:10:42Z"
MEMBER
null
``` from asv_bench.benchmarks.groupby import * self4 = GroupByMethods() self4.setup('uint', 'count', 'direct', 5) %timeit self4.time_dtype_as_field('uint', 'count', 'direct', 5) 231 µs ± 5.23 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # <- master 77.3 µs ± 619 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <- PR ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43694/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43694/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43694.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43694", "merged_at": "2021-09-22T01:10:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43694.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43694" }
https://api.github.com/repos/pandas-dev/pandas/issues/43695
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43695/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43695/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43695/events
https://github.com/pandas-dev/pandas/pull/43695
1,003,647,840
PR_kwDOAA0YD84sGlw_
43,695
TYP: use __all__ to signal public API to type checkers
{ "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": "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" }
13
"2021-09-22T01:48:27Z"
"2021-09-28T23:39:17Z"
"2021-09-28T23:39:12Z"
CONTRIBUTOR
null
- [x] closes #43664 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43695/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43695/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43695.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43695", "merged_at": "2021-09-28T23:39:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43695.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43695" }
https://api.github.com/repos/pandas-dev/pandas/issues/43696
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43696/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43696/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43696/events
https://github.com/pandas-dev/pandas/pull/43696
1,003,743,268
PR_kwDOAA0YD84sG511
43,696
PERF: nsmallest
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
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
"2021-09-22T03:49:33Z"
"2021-09-22T14:38:19Z"
"2021-09-22T13:10:57Z"
MEMBER
null
``` from asv_bench.benchmarks.series_methods import * self6 = NSort() self6.setup("last") %timeit self6.time_nsmallest('last') 10.6 ms ± 43.4 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) # <- master 1.5 ms ± 17.2 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # <- PR ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43696/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43696/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43696.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43696", "merged_at": "2021-09-22T13:10:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43696.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43696" }
https://api.github.com/repos/pandas-dev/pandas/issues/43697
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43697/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43697/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43697/events
https://github.com/pandas-dev/pandas/issues/43697
1,004,121,457
I_kwDOAA0YD8472a1x
43,697
BUG: idxmax raises when used with tuples
{ "avatar_url": "https://avatars.githubusercontent.com/u/12933913?v=4", "events_url": "https://api.github.com/users/helgehatt/events{/privacy}", "followers_url": "https://api.github.com/users/helgehatt/followers", "following_url": "https://api.github.com/users/helgehatt/following{/other_user}", "gists_url": "https://api.github.com/users/helgehatt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/helgehatt", "id": 12933913, "login": "helgehatt", "node_id": "MDQ6VXNlcjEyOTMzOTEz", "organizations_url": "https://api.github.com/users/helgehatt/orgs", "received_events_url": "https://api.github.com/users/helgehatt/received_events", "repos_url": "https://api.github.com/users/helgehatt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/helgehatt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/helgehatt/subscriptions", "type": "User", "url": "https://api.github.com/users/helgehatt" }
[ { "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": "f2f989", "default": false, "description": "Data where the values are collections (lists, sets, dicts, objects, etc.).", "id": 2189479765, "name": "Nested Data", "node_id": "MDU6TGFiZWwyMTg5NDc5NzY1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nested%20Data" } ]
open
false
null
[]
null
1
"2021-09-22T10:20:41Z"
"2021-10-01T22:53:23Z"
null
NONE
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd x = pd.Series([(1,3),(2,2),(3,1)]) # This succeeds as the max operation is performed on the first element of a tuple assert x.max() == (3,1) # This fails with `TypeError: reduction operation 'argmax' not allowed for this dtype` assert x.idxmax() == 2 # Using numpy directly works as you'd expect import numpy as np assert np.argmax(x.values) == 2 ``` ### Issue Description Using `max` on a series of tuples returns the tuple as if the max operation was performed on the first element of each tuple. Using `idxmax` however, raises an operation not allowed TypeError. ### Expected Behavior Even though there are several ways of achieving the desired result, I would expect consistency between the usage of `max` and `idxmax`, as it is for `max` and `argmax` in numpy. ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.8.10.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-1113-azure Version : #126~16.04.1-Ubuntu SMP Tue Apr 13 16:55:24 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : en_US.UTF-8 LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.3 numpy : 1.20.1 pytz : 2021.1 dateutil : 2.8.2 pip : 21.1.3 setuptools : 52.0.0.post20210125 Cython : 0.29.23 pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.3 html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : 7.22.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 2021.06.0 fastparquet : None gcsfs : None matplotlib : 3.3.4 numexpr : 2.7.3 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.2 sqlalchemy : None tables : 3.6.1 tabulate : 0.8.9 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/43697/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43697/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43698
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43698/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43698/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43698/events
https://github.com/pandas-dev/pandas/pull/43698
1,004,288,371
PR_kwDOAA0YD84sIoij
43,698
Backport PR #43677 on branch 1.3.x (CI: Strict channel Priority)
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2021-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "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.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
0
"2021-09-22T13:17:27Z"
"2021-09-22T14:39:39Z"
"2021-09-22T14:39:35Z"
MEMBER
null
Backport PR #43677
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43698/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43698/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43698.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43698", "merged_at": "2021-09-22T14:39:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43698.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43698" }
https://api.github.com/repos/pandas-dev/pandas/issues/43699
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43699/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43699/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43699/events
https://github.com/pandas-dev/pandas/pull/43699
1,004,370,515
PR_kwDOAA0YD84sI5Kg
43,699
API: change ExtensionArray.astype to always return an ExtensionArray
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
open
false
null
[]
null
1
"2021-09-22T14:30:48Z"
"2021-11-16T13:38:04Z"
null
MEMBER
null
Closes #24877 This is a work-in-progress to see if it's realistic to require `ExtensionArray.astype` to always return an ExtensionArray (in practice this means returning a PandasArray if now a numpy array would be returned). Further we will also need to see how this impacts external EAs, and how this change can be managed. (datetimelike and categorical arrays were not yet updated)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43699/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43699/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43699.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43699", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43699.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43699" }
https://api.github.com/repos/pandas-dev/pandas/issues/43700
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43700/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43700/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43700/events
https://github.com/pandas-dev/pandas/pull/43700
1,004,547,703
PR_kwDOAA0YD84sJcz7
43,700
GH36236 - Additional Test for df.join()
{ "avatar_url": "https://avatars.githubusercontent.com/u/29484286?v=4", "events_url": "https://api.github.com/users/kasmith11/events{/privacy}", "followers_url": "https://api.github.com/users/kasmith11/followers", "following_url": "https://api.github.com/users/kasmith11/following{/other_user}", "gists_url": "https://api.github.com/users/kasmith11/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/kasmith11", "id": 29484286, "login": "kasmith11", "node_id": "MDQ6VXNlcjI5NDg0Mjg2", "organizations_url": "https://api.github.com/users/kasmith11/orgs", "received_events_url": "https://api.github.com/users/kasmith11/received_events", "repos_url": "https://api.github.com/users/kasmith11/repos", "site_admin": false, "starred_url": "https://api.github.com/users/kasmith11/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/kasmith11/subscriptions", "type": "User", "url": "https://api.github.com/users/kasmith11" }
[ { "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": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
9
"2021-09-22T17:31:37Z"
"2021-11-07T02:38:41Z"
"2021-11-07T02:38:41Z"
CONTRIBUTOR
null
TST - [x] closes #36263 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43700/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43700/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43700.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43700", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43700.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43700" }
https://api.github.com/repos/pandas-dev/pandas/issues/43701
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43701/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43701/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43701/events
https://github.com/pandas-dev/pandas/issues/43701
1,004,693,606
I_kwDOAA0YD8474mhm
43,701
BUG: Can't compute group mean of complex values
{ "avatar_url": "https://avatars.githubusercontent.com/u/1676326?v=4", "events_url": "https://api.github.com/users/goyodiaz/events{/privacy}", "followers_url": "https://api.github.com/users/goyodiaz/followers", "following_url": "https://api.github.com/users/goyodiaz/following{/other_user}", "gists_url": "https://api.github.com/users/goyodiaz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/goyodiaz", "id": 1676326, "login": "goyodiaz", "node_id": "MDQ6VXNlcjE2NzYzMjY=", "organizations_url": "https://api.github.com/users/goyodiaz/orgs", "received_events_url": "https://api.github.com/users/goyodiaz/received_events", "repos_url": "https://api.github.com/users/goyodiaz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/goyodiaz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/goyodiaz/subscriptions", "type": "User", "url": "https://api.github.com/users/goyodiaz" }
[ { "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": "009800", "default": false, "description": "Complex Numbers", "id": 172091424, "name": "Complex", "node_id": "MDU6TGFiZWwxNzIwOTE0MjQ=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Complex" } ]
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" }
0
"2021-09-22T19:34:18Z"
"2021-09-30T19:46:48Z"
"2021-09-30T19:46:48Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import numpy as np import pandas as pd rng = np.random.default_rng(42) data = pd.Series(rng.uniform(size=(10, 2)).dot([1, 1j])) gr = data.groupby(data.index % 2) gr.mean() # TypeError: No matching signature found ``` ### Issue Description `gr.mean()` raises `TypeError: No matching signature found` when the underlying dtype is `complex128`. The other complex dtypes present the same behavior. ```python Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/goyo/.local/lib/python3.9/site-packages/pandas/core/groupby/groupby.py", line 1684, in mean result = self._cython_agg_general( File "/home/goyo/.local/lib/python3.9/site-packages/pandas/core/groupby/generic.py", line 352, in _cython_agg_general result = array_func(objvals) File "/home/goyo/.local/lib/python3.9/site-packages/pandas/core/groupby/generic.py", line 340, in array_func result = self.grouper._cython_operation( File "/home/goyo/.local/lib/python3.9/site-packages/pandas/core/groupby/ops.py", line 978, in _cython_operation return cy_op.cython_operation( File "/home/goyo/.local/lib/python3.9/site-packages/pandas/core/groupby/ops.py", line 639, in cython_operation return self._cython_op_ndim_compat( File "/home/goyo/.local/lib/python3.9/site-packages/pandas/core/groupby/ops.py", line 481, in _cython_op_ndim_compat res = self._call_cython_op( File "/home/goyo/.local/lib/python3.9/site-packages/pandas/core/groupby/ops.py", line 557, in _call_cython_op func(result, counts, values, comp_ids, min_count) File "pandas/_libs/groupby.pyx", line 668, in pandas._libs.groupby.__pyx_fused_cpdef TypeError: No matching signature found ``` ### Expected Behavior Since `data.mean()` works I would expect that it also works in the `GroupBy` object. The expected result is: ```python >>> gr.mean() 0 0.438939+0.550293j 1 0.652316+0.653820j dtype: complex128 ``` Just like `.sum()`: ```python >>> gr.sum() # this does work. 0 2.194697+2.751466j 1 3.261581+3.269100j dtype: complex128 ``` ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.9.5.final.0 python-bits : 64 OS : Linux OS-release : 5.11.0-34-generic Version : #36-Ubuntu SMP Thu Aug 26 19:22:09 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.3 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.4 setuptools : 58.0.4 Cython : None pytest : None hypothesis : None sphinx : 3.5.3 blosc : None feather : None xlsxwriter : 3.0.1 lxml.etree : 4.6.3 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : 7.27.0 pandas_datareader: None bs4 : 4.10.0 bottleneck : 1.3.2 fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.3 numexpr : 2.7.3 odfpy : None openpyxl : 3.0.8 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.7.1 sqlalchemy : None tables : 3.6.1 tabulate : None xarray : None xlrd : 2.0.1 xlwt : 1.3.0 numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43701/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43701/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43702
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43702/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43702/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43702/events
https://github.com/pandas-dev/pandas/pull/43702
1,004,718,571
PR_kwDOAA0YD84sKAmS
43,702
REF: simplify DatetimeEngine.__contains__
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": 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
"2021-09-22T19:57:03Z"
"2021-09-22T22:16:49Z"
"2021-09-22T22:00:24Z"
MEMBER
null
This is never called outside of tests so not a big deal, but the code is redundant and in one place returns the wrong type.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43702/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43702/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43702.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43702", "merged_at": "2021-09-22T22:00:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43702.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43702" }
https://api.github.com/repos/pandas-dev/pandas/issues/43703
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43703/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43703/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43703/events
https://github.com/pandas-dev/pandas/issues/43703
1,004,719,498
I_kwDOAA0YD8474s2K
43,703
BUG: styler render trimming rows does not work with `hide_index`
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "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": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
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" }
0
"2021-09-22T19:58:02Z"
"2021-10-18T23:15:56Z"
"2021-10-18T23:15:56Z"
CONTRIBUTOR
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python pd.options.styler.render.max_rows = 2 df = DataFrame(np.random.randn(5,1)) df.style.hide_index(df.index[:2]) ``` ### Issue Description This does not render any rows since it loops through the first 2 rows, which are hidden, but then doesn't progress the loop passed index 2. ### Expected Behavior Hidden rows should be deducted from the row count. The dataframe should show rows 3 and 4 above. ### Installed Versions master
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43703/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43703/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43704
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43704/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43704/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43704/events
https://github.com/pandas-dev/pandas/issues/43704
1,004,722,571
I_kwDOAA0YD8474tmL
43,704
BUG: styler render trimming does not work with `hide_columns`
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "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": "conditional formatting using DataFrame.style", "id": 1728592794, "name": "Styler", "node_id": "MDU6TGFiZWwxNzI4NTkyNzk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/38051704?v=4", "events_url": "https://api.github.com/users/VFermat/events{/privacy}", "followers_url": "https://api.github.com/users/VFermat/followers", "following_url": "https://api.github.com/users/VFermat/following{/other_user}", "gists_url": "https://api.github.com/users/VFermat/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/VFermat", "id": 38051704, "login": "VFermat", "node_id": "MDQ6VXNlcjM4MDUxNzA0", "organizations_url": "https://api.github.com/users/VFermat/orgs", "received_events_url": "https://api.github.com/users/VFermat/received_events", "repos_url": "https://api.github.com/users/VFermat/repos", "site_admin": false, "starred_url": "https://api.github.com/users/VFermat/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/VFermat/subscriptions", "type": "User", "url": "https://api.github.com/users/VFermat" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/38051704?v=4", "events_url": "https://api.github.com/users/VFermat/events{/privacy}", "followers_url": "https://api.github.com/users/VFermat/followers", "following_url": "https://api.github.com/users/VFermat/following{/other_user}", "gists_url": "https://api.github.com/users/VFermat/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/VFermat", "id": 38051704, "login": "VFermat", "node_id": "MDQ6VXNlcjM4MDUxNzA0", "organizations_url": "https://api.github.com/users/VFermat/orgs", "received_events_url": "https://api.github.com/users/VFermat/received_events", "repos_url": "https://api.github.com/users/VFermat/repos", "site_admin": false, "starred_url": "https://api.github.com/users/VFermat/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/VFermat/subscriptions", "type": "User", "url": "https://api.github.com/users/VFermat" }, { "avatar_url": "https://avatars.githubusercontent.com/u/38326603?v=4", "events_url": "https://api.github.com/users/pedr0luiz/events{/privacy}", "followers_url": "https://api.github.com/users/pedr0luiz/followers", "following_url": "https://api.github.com/users/pedr0luiz/following{/other_user}", "gists_url": "https://api.github.com/users/pedr0luiz/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pedr0luiz", "id": 38326603, "login": "pedr0luiz", "node_id": "MDQ6VXNlcjM4MzI2NjAz", "organizations_url": "https://api.github.com/users/pedr0luiz/orgs", "received_events_url": "https://api.github.com/users/pedr0luiz/received_events", "repos_url": "https://api.github.com/users/pedr0luiz/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pedr0luiz/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pedr0luiz/subscriptions", "type": "User", "url": "https://api.github.com/users/pedr0luiz" }, { "avatar_url": "https://avatars.githubusercontent.com/u/38350130?v=4", "events_url": "https://api.github.com/users/gabrielzezze/events{/privacy}", "followers_url": "https://api.github.com/users/gabrielzezze/followers", "following_url": "https://api.github.com/users/gabrielzezze/following{/other_user}", "gists_url": "https://api.github.com/users/gabrielzezze/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/gabrielzezze", "id": 38350130, "login": "gabrielzezze", "node_id": "MDQ6VXNlcjM4MzUwMTMw", "organizations_url": "https://api.github.com/users/gabrielzezze/orgs", "received_events_url": "https://api.github.com/users/gabrielzezze/received_events", "repos_url": "https://api.github.com/users/gabrielzezze/repos", "site_admin": false, "starred_url": "https://api.github.com/users/gabrielzezze/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/gabrielzezze/subscriptions", "type": "User", "url": "https://api.github.com/users/gabrielzezze" } ]
null
5
"2021-09-22T20:01:31Z"
"2021-11-05T13:08:39Z"
"2021-11-05T13:08:39Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python pd.options.styler.render.max_columns = 2 df = DataFrame(np.random.randn(1,5)) df.style.hide_columns(df.columns[:2]) ``` ### Issue Description The render is empty since the first two columns are looped but hidden, the loop index does not progress passed 2. This is a similar issue to #43703 but recorded separately since requires different fixes. ### Expected Behavior Render columns 3 and 4 with a trimmed column ### Installed Versions master
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43704/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43704/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43705
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43705/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43705/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43705/events
https://github.com/pandas-dev/pandas/pull/43705
1,004,776,593
PR_kwDOAA0YD84sKL_p
43,705
PERF: Index.get_loc
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": 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" }
0
"2021-09-22T21:07:32Z"
"2021-09-23T16:17:35Z"
"2021-09-23T12:21:18Z"
MEMBER
null
Makes a big difference for Float64Index with integer key. ``` import numpy as np import pandas as pd idx = pd.Index(np.arange(10**7)) fidx = idx.astype('f8') key = idx[len(idx) // 2] key2 = idx[10] %timeit idx.get_loc(key) 2.97 µs ± 36.2 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) # <- master 2.3 µs ± 36.3 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) # <- PR %timeit idx.get_loc(key2) 3.2 µs ± 151 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) # <- master 2.1 µs ± 140 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) # <- PR %timeit fidx.get_loc(key) 56.4 µs ± 1.22 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <- master 2.11 µs ± 11.1 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) # <- PR %timeit fidx.get_loc(key2) 54.7 µs ± 1.12 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <- master 2 µs ± 21.7 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) # <- PR ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43705/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43705/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43705.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43705", "merged_at": "2021-09-23T12:21:17Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43705.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43705" }
https://api.github.com/repos/pandas-dev/pandas/issues/43706
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43706/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43706/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43706/events
https://github.com/pandas-dev/pandas/pull/43706
1,004,899,165
PR_kwDOAA0YD84sKkOh
43,706
BUG: Fix some index_col tests for pyarrow read_csv
{ "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": "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": "f9d0c4", "default": false, "description": "", "id": 3303158446, "name": "Arrow", "node_id": "MDU6TGFiZWwzMzAzMTU4NDQ2", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Arrow" } ]
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" }
4
"2021-09-23T00:43:23Z"
"2021-09-27T23:32:45Z"
"2021-09-27T23:32:42Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43706/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43706/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43706.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43706", "merged_at": "2021-09-27T23:32:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43706.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43706" }
https://api.github.com/repos/pandas-dev/pandas/issues/43707
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43707/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43707/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43707/events
https://github.com/pandas-dev/pandas/issues/43707
1,004,905,285
I_kwDOAA0YD8475aNF
43,707
BUG: assert_series_equal b/w datetime column with equivalent object column fails with `check_dtype=False`
{ "avatar_url": "https://avatars.githubusercontent.com/u/4837571?v=4", "events_url": "https://api.github.com/users/VibhuJawa/events{/privacy}", "followers_url": "https://api.github.com/users/VibhuJawa/followers", "following_url": "https://api.github.com/users/VibhuJawa/following{/other_user}", "gists_url": "https://api.github.com/users/VibhuJawa/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/VibhuJawa", "id": 4837571, "login": "VibhuJawa", "node_id": "MDQ6VXNlcjQ4Mzc1NzE=", "organizations_url": "https://api.github.com/users/VibhuJawa/orgs", "received_events_url": "https://api.github.com/users/VibhuJawa/received_events", "repos_url": "https://api.github.com/users/VibhuJawa/repos", "site_admin": false, "starred_url": "https://api.github.com/users/VibhuJawa/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/VibhuJawa/subscriptions", "type": "User", "url": "https://api.github.com/users/VibhuJawa" }
[ { "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": "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" }
2
"2021-09-23T00:58:11Z"
"2021-09-23T10:47:39Z"
"2021-09-23T10:47:39Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd s1 = pd.Series(['2020-01-01 00:00:00']) s2 = pd.to_datetime(s1) pd.testing.assert_series_equal(s1,s2,check_dtype=False) ``` ```python-traceback Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/nfs/vjawa/pandas/pandas/_testing/asserters.py", line 1078, in assert_series_equal _testing.assert_almost_equal( File "pandas/_libs/testing.pyx", line 53, in pandas._libs.testing.assert_almost_equal cpdef assert_almost_equal(a, b, File "pandas/_libs/testing.pyx", line 168, in pandas._libs.testing.assert_almost_equal raise_assert_detail(obj, msg, lobj, robj, index_values=index_values) File "/home/nfs/vjawa/pandas/pandas/_testing/asserters.py", line 666, in raise_assert_detail raise AssertionError(msg) AssertionError: Series are different Series values are different (100.0 %) [index]: [0] [left]: [2020-01-01 00:00:00] [right]: <DatetimeArray> ['2020-01-01 00:00:00'] Length: 1, dtype: datetime64[ns] ``` ### Issue Description #### BUG: assert_series_equal b/w datetime column with equivalent object column fails with `check_dtype=False` When trying to compare two series where one is an object and the other is an equivalent date-time created using `pd.to_datetime` , we get a unexpected `AssertionError`. ### Expected Behavior I would expect that we pass the assertion. ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 36d5c9b8e521fea564cdc44491253f9d9c903fe9 python : 3.9.7.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-76-generic Version : #86-Ubuntu SMP Fri Jan 17 17:24:28 UTC 2020 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.4.0.dev0+745.g36d5c9b8e5 numpy : 1.20.3 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.4 setuptools : 58.0.4 Cython : 0.29.24 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 : 1.3.2 fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : 2.7.3 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/43707/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43707/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43708
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43708/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43708/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43708/events
https://github.com/pandas-dev/pandas/issues/43708
1,004,913,862
I_kwDOAA0YD8475cTG
43,708
DOC: pandas.DataFrame.rename's introduction may be misleading.
{ "avatar_url": "https://avatars.githubusercontent.com/u/17871838?v=4", "events_url": "https://api.github.com/users/smallfishabc/events{/privacy}", "followers_url": "https://api.github.com/users/smallfishabc/followers", "following_url": "https://api.github.com/users/smallfishabc/following{/other_user}", "gists_url": "https://api.github.com/users/smallfishabc/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/smallfishabc", "id": 17871838, "login": "smallfishabc", "node_id": "MDQ6VXNlcjE3ODcxODM4", "organizations_url": "https://api.github.com/users/smallfishabc/orgs", "received_events_url": "https://api.github.com/users/smallfishabc/received_events", "repos_url": "https://api.github.com/users/smallfishabc/repos", "site_admin": false, "starred_url": "https://api.github.com/users/smallfishabc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/smallfishabc/subscriptions", "type": "User", "url": "https://api.github.com/users/smallfishabc" }
[ { "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": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
3
"2021-09-23T01:16:05Z"
"2021-09-29T13:30:19Z"
"2021-09-29T13:30:18Z"
NONE
null
### - [X] I have checked that the issue still exists on the latest versions of the docs on `master` [here](https://pandas.pydata.org/docs/dev/) ### Location of the documentation https://pandas.pydata.org/docs/dev/reference/api/pandas.DataFrame.rename.html?highlight=rename#pandas.DataFrame.rename ### Documentation problem In the document, the developers have suggested a simple way to rename the columns. However, I think we should add a sentence to point out that the rename will only give out a new data frame rather than directly rename the old data frame. ### Suggested fix for documentation In the document, the developers have suggested a simple way to rename the columns. However, I think we should add a sentence to point out that the rename will only give out a new data frame rather than directly rename the old data frame.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43708/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43708/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43709
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43709/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43709/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43709/events
https://github.com/pandas-dev/pandas/pull/43709
1,004,961,966
PR_kwDOAA0YD84sKwFM
43,709
REGR: Passing args/kwargs to Series.agg fails
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "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": "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-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "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.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
3
"2021-09-23T03:06:36Z"
"2021-09-26T00:38:24Z"
"2021-09-23T12:12:16Z"
MEMBER
null
- [x] closes #43357 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43709/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43709/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43709.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43709", "merged_at": "2021-09-23T12:12:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43709.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43709" }
https://api.github.com/repos/pandas-dev/pandas/issues/43710
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43710/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43710/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43710/events
https://github.com/pandas-dev/pandas/pull/43710
1,004,982,022
PR_kwDOAA0YD84sKz7f
43,710
ENH: Add equivalence test for float in to_numeric() GH43693
{ "avatar_url": "https://avatars.githubusercontent.com/u/5510940?v=4", "events_url": "https://api.github.com/users/jbencina/events{/privacy}", "followers_url": "https://api.github.com/users/jbencina/followers", "following_url": "https://api.github.com/users/jbencina/following{/other_user}", "gists_url": "https://api.github.com/users/jbencina/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbencina", "id": 5510940, "login": "jbencina", "node_id": "MDQ6VXNlcjU1MTA5NDA=", "organizations_url": "https://api.github.com/users/jbencina/orgs", "received_events_url": "https://api.github.com/users/jbencina/received_events", "repos_url": "https://api.github.com/users/jbencina/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbencina/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbencina/subscriptions", "type": "User", "url": "https://api.github.com/users/jbencina" }
[ { "color": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
open
false
null
[]
null
1
"2021-09-23T03:49:25Z"
"2021-10-24T00:03:15Z"
null
NONE
null
- [x] closes #43693 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry This PR prevents issues where float64 arrays would be downcast to float32 arrays even if the values were out of range for float32. An equivalence check is performed to ensure all values are equal to 7 significant digits. If this fails, the original float64 is retained. This behavior is consistent with int where downcasting is not performed if the integer is out of bounds. Pre Change: ```python >>> pd.to_numeric(pd.Series([608202549.0]), downcast='float') 0 608202560.0 ``` Post Change: ```python >>> pd.to_numeric(pd.Series([608202549.0]), downcast='float') 0 608202549.0 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43710/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43710/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43710.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43710", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/43710.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43710" }
https://api.github.com/repos/pandas-dev/pandas/issues/43711
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43711/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43711/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43711/events
https://github.com/pandas-dev/pandas/pull/43711
1,005,023,007
PR_kwDOAA0YD84sK79g
43,711
BUG: Index.get_loc(np.nan) non-unique non-monotonic
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
5
"2021-09-23T05:12:45Z"
"2021-09-28T23:23:37Z"
"2021-09-28T22:55:20Z"
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] whatsnew entry The tests file will need to be rebased following #43705.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43711/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43711/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43711.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43711", "merged_at": "2021-09-28T22:55:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43711.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43711" }
https://api.github.com/repos/pandas-dev/pandas/issues/43712
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43712/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43712/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43712/events
https://github.com/pandas-dev/pandas/issues/43712
1,005,215,931
I_kwDOAA0YD8476mC7
43,712
ENH: non-inplace mode for `DataFrame.insert`
{ "avatar_url": "https://avatars.githubusercontent.com/u/30965609?v=4", "events_url": "https://api.github.com/users/Freakwill/events{/privacy}", "followers_url": "https://api.github.com/users/Freakwill/followers", "following_url": "https://api.github.com/users/Freakwill/following{/other_user}", "gists_url": "https://api.github.com/users/Freakwill/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Freakwill", "id": 30965609, "login": "Freakwill", "node_id": "MDQ6VXNlcjMwOTY1NjA5", "organizations_url": "https://api.github.com/users/Freakwill/orgs", "received_events_url": "https://api.github.com/users/Freakwill/received_events", "repos_url": "https://api.github.com/users/Freakwill/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Freakwill/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Freakwill/subscriptions", "type": "User", "url": "https://api.github.com/users/Freakwill" }
[ { "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": "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" }
1
"2021-09-23T09:37:44Z"
"2021-09-23T10:51:24Z"
"2021-09-23T10:51:24Z"
NONE
null
I wish that there is "non-inplace" mode for `DataFrame.insert`. Since we have inplace argument for `DataFrame.drop`, with is a dual operator to `DataFrame.insert`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43712/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43712/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43713
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43713/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43713/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43713/events
https://github.com/pandas-dev/pandas/issues/43713
1,005,239,411
I_kwDOAA0YD8476rxz
43,713
BUG: read_csv float_precision="round_trip" parser does not handle initial/trailing spaces
{ "avatar_url": "https://avatars.githubusercontent.com/u/4716745?v=4", "events_url": "https://api.github.com/users/ales-erjavec/events{/privacy}", "followers_url": "https://api.github.com/users/ales-erjavec/followers", "following_url": "https://api.github.com/users/ales-erjavec/following{/other_user}", "gists_url": "https://api.github.com/users/ales-erjavec/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ales-erjavec", "id": 4716745, "login": "ales-erjavec", "node_id": "MDQ6VXNlcjQ3MTY3NDU=", "organizations_url": "https://api.github.com/users/ales-erjavec/orgs", "received_events_url": "https://api.github.com/users/ales-erjavec/received_events", "repos_url": "https://api.github.com/users/ales-erjavec/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ales-erjavec/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ales-erjavec/subscriptions", "type": "User", "url": "https://api.github.com/users/ales-erjavec" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": 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" }
0
"2021-09-23T10:02:23Z"
"2021-10-02T00:05:04Z"
"2021-10-02T00:05:04Z"
CONTRIBUTOR
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [X] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import io import numpy as np import pandas as pd DATA = """\ id\tnum\n 1\t1.2 \n 1\t 2.1\n 2\t 1 \n 2\t 1.2 \n """ df = pd.read_csv( io.StringIO(DATA), float_precision="round_trip", skipinitialspace=True, sep="\t", header=0, dtype={1: np.float64}, ) print(df) ``` ### Issue Description ```read_csv(..., float_precision="round_trip", )``` does parse fields with initial/trailing space and raises and error ``` Traceback (most recent call last): File "pandas/_libs/parsers.pyx", line 1141, in pandas._libs.parsers.TextReader._convert_tokens false_values=false_values) TypeError: Cannot cast array data from dtype('O') to dtype('float64') according to the rule 'safe' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/ales/.config/JetBrains/PyCharmCE2021.2/scratches/scratch_2.py", line 14, in <module> df = pd.read_csv( File "/home/ales/.envs/orange3/lib/python3.9/site-packages/pandas/io/parsers.py", line 686, in read_csv return _read(filepath_or_buffer, kwds) File "/home/ales/.envs/orange3/lib/python3.9/site-packages/pandas/io/parsers.py", line 458, in _read data = parser.read(nrows) File "/home/ales/.envs/orange3/lib/python3.9/site-packages/pandas/io/parsers.py", line 1196, in read ret = self._engine.read(nrows) File "/home/ales/.envs/orange3/lib/python3.9/site-packages/pandas/io/parsers.py", line 2155, in read data = self._reader.read(nrows) File "pandas/_libs/parsers.pyx", line 847, in pandas._libs.parsers.TextReader.read cdef: File "pandas/_libs/parsers.pyx", line 862, in pandas._libs.parsers.TextReader._read_low_memory else: File "pandas/_libs/parsers.pyx", line 941, in pandas._libs.parsers.TextReader._read_rows self.parser.line_fields[i] + \ File "pandas/_libs/parsers.pyx", line 1073, in pandas._libs.parsers.TextReader._convert_column_data col_res, na_count = self._convert_with_dtype( File "pandas/_libs/parsers.pyx", line 1149, in pandas._libs.parsers.TextReader._convert_tokens ValueError: cannot safely convert passed user dtype of float64 for object dtyped data in column 1 ``` ### Expected Behavior ```float_precision="round_trip"``` should work the same as other float parsers. ### Installed Versions <details> ``` INSTALLED VERSIONS ------------------ commit : e218f059caaf5d921c4c71b7a7889adfe6c74b9d python : 3.9.7.final.0 python-bits : 64 OS : Linux OS-release : 5.14.2-1-MANJARO Version : #1 SMP PREEMPT Wed Sep 8 14:11:01 UTC 2021 machine : x86_64 processor : byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.4.0.dev0+497.ge218f059ca numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.1.3 setuptools : 56.0.0 Cython : 0.29.24 pytest : 6.2.5 hypothesis : 6.21.6 sphinx : None blosc : None feather : None xlsxwriter : 3.0.1 lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : 7.26.0 pandas_datareader: None bs4 : None bottleneck : 1.3.2 fsspec : None fastparquet : None gcsfs : None matplotlib : 3.4.3 numexpr : None odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.7.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 2.0.1 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/43713/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43713/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43714
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43714/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43714/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43714/events
https://github.com/pandas-dev/pandas/pull/43714
1,005,265,285
PR_kwDOAA0YD84sLqke
43,714
BUG: round_trip parser initial/trailing whitespace
{ "avatar_url": "https://avatars.githubusercontent.com/u/4716745?v=4", "events_url": "https://api.github.com/users/ales-erjavec/events{/privacy}", "followers_url": "https://api.github.com/users/ales-erjavec/followers", "following_url": "https://api.github.com/users/ales-erjavec/following{/other_user}", "gists_url": "https://api.github.com/users/ales-erjavec/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ales-erjavec", "id": 4716745, "login": "ales-erjavec", "node_id": "MDQ6VXNlcjQ3MTY3NDU=", "organizations_url": "https://api.github.com/users/ales-erjavec/orgs", "received_events_url": "https://api.github.com/users/ales-erjavec/received_events", "repos_url": "https://api.github.com/users/ales-erjavec/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ales-erjavec/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ales-erjavec/subscriptions", "type": "User", "url": "https://api.github.com/users/ales-erjavec" }
[ { "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": 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" }
3
"2021-09-23T10:28:58Z"
"2021-10-02T00:05:11Z"
"2021-10-02T00:05:04Z"
CONTRIBUTOR
null
- [x] closes #43713 - [x] tests added / passed - [X] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [X] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43714/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43714/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43714.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43714", "merged_at": "2021-10-02T00:05:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43714.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43714" }
https://api.github.com/repos/pandas-dev/pandas/issues/43715
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43715/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43715/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43715/events
https://github.com/pandas-dev/pandas/issues/43715
1,005,269,035
I_kwDOAA0YD8476zAr
43,715
BUG: pandas doesn't install on python 3.10
{ "avatar_url": "https://avatars.githubusercontent.com/u/72234965?v=4", "events_url": "https://api.github.com/users/eyalk11/events{/privacy}", "followers_url": "https://api.github.com/users/eyalk11/followers", "following_url": "https://api.github.com/users/eyalk11/following{/other_user}", "gists_url": "https://api.github.com/users/eyalk11/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/eyalk11", "id": 72234965, "login": "eyalk11", "node_id": "MDQ6VXNlcjcyMjM0OTY1", "organizations_url": "https://api.github.com/users/eyalk11/orgs", "received_events_url": "https://api.github.com/users/eyalk11/received_events", "repos_url": "https://api.github.com/users/eyalk11/repos", "site_admin": false, "starred_url": "https://api.github.com/users/eyalk11/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/eyalk11/subscriptions", "type": "User", "url": "https://api.github.com/users/eyalk11" }
[ { "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": "0052cc", "default": false, "description": "pandas objects compatability with Numpy or Python functions", "id": 76865106, "name": "Compat", "node_id": "MDU6TGFiZWw3Njg2NTEwNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat" }, { "color": "fef2c0", "default": false, "description": "", "id": 2955636717, "name": "Python 3.10", "node_id": "MDU6TGFiZWwyOTU1NjM2NzE3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Python%203.10" } ]
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-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "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.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
9
"2021-09-23T10:31:57Z"
"2021-10-17T17:08:53Z"
"2021-10-17T17:08:53Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python pip install pandas (installs 1.3.3) ``` ### Issue Description I tried to install on 3.10.0rc2 ``` ultiarray\scalartypes.obj scalartypes.c numpy\core\include\numpy/npy_3kcompat.h(227): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\common.h(239): warning C4244: 'return': conversion from 'npy_uintp' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(425): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(426): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(1899): warning C4244: 'function': conversion from 'npy_double' to 'npy_float', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(1902): warning C4244: 'function': conversion from 'npy_double' to 'npy_float', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2561): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2561): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2561): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2561): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2561): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2561): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2561): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2561): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2561): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2561): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2561): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2561): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2561): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2561): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2561): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2561): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2561): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2561): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2577): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2561): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2577): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data numpy\core\src\multiarray\scalartypes.c.src(2967): error C2440: 'function': cannot convert from 'double' to 'PyObject *' numpy\core\src\multiarray\scalartypes.c.src(2967): warning C4024: '_Py_HashDouble': different types for formal and actual parameter 1 numpy\core\src\multiarray\scalartypes.c.src(2967): error C2198: '_Py_HashDouble': too few arguments for call numpy\core\src\multiarray\scalartypes.c.src(2976): error C2440: 'function': cannot convert from 'double' to 'PyObject *' numpy\core\src\multiarray\scalartypes.c.src(2976): warning C4024: '_Py_HashDouble': different types for formal and actual parameter 1 numpy\core\src\multiarray\scalartypes.c.src(2975): error C2198: '_Py_HashDouble': too few arguments for call numpy\core\src\multiarray\scalartypes.c.src(2982): error C2440: 'function': cannot convert from 'double' to 'PyObject *' numpy\core\src\multiarray\scalartypes.c.src(2982): warning C4024: '_Py_HashDouble': different types for formal and actual parameter 1 numpy\core\src\multiarray\scalartypes.c.src(2981): error C2198: '_Py_HashDouble': too few arguments for call numpy\core\src\multiarray\scalartypes.c.src(2967): error C2440: 'function': cannot convert from 'npy_longdouble' to 'PyObject *' numpy\core\src\multiarray\scalartypes.c.src(2967): warning C4024: '_Py_HashDouble': different types for formal and actual parameter 1 numpy\core\src\multiarray\scalartypes.c.src(2967): error C2198: '_Py_HashDouble': too few arguments for call numpy\core\src\multiarray\scalartypes.c.src(2976): error C2440: 'function': cannot convert from 'npy_longdouble' to 'PyObject *' numpy\core\src\multiarray\scalartypes.c.src(2976): warning C4024: '_Py_HashDouble': different types for formal and actual parameter 1 numpy\core\src\multiarray\scalartypes.c.src(2975): error C2198: '_Py_HashDouble': too few arguments for call numpy\core\src\multiarray\scalartypes.c.src(2982): error C2440: 'function': cannot convert from 'npy_longdouble' to 'PyObject *' numpy\core\src\multiarray\scalartypes.c.src(2982): warning C4024: '_Py_HashDouble': different types for formal and actual parameter 1 numpy\core\src\multiarray\scalartypes.c.src(2981): error C2198: '_Py_HashDouble': too few arguments for call numpy\core\src\multiarray\scalartypes.c.src(2997): error C2440: 'function': cannot convert from 'double' to 'PyObject *' numpy\core\src\multiarray\scalartypes.c.src(2997): warning C4024: '_Py_HashDouble': different types for formal and actual parameter 1 numpy\core\src\multiarray\scalartypes.c.src(2997): error C2198: '_Py_HashDouble': too few arguments for call numpy\core\src\multiarray\scalartypes.c.src(3913): warning C4244: 'return': conversion from 'npy_intp' to 'int', possible loss of data ``` ### Expected Behavior Works ### Installed Versions Not relevant
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43715/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43715/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43716
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43716/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43716/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43716/events
https://github.com/pandas-dev/pandas/pull/43716
1,005,356,396
PR_kwDOAA0YD84sL8nQ
43,716
Backport PR #43709 on branch 1.3.x (REGR: Passing args/kwargs to Series.agg fails)
{ "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": "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": "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-10-17T11:06:28Z", "closed_issues": 77, "created_at": "2021-09-10T19:48:56Z", "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.3.x", "due_on": "2021-10-17T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/90", "id": 7142224, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels", "node_id": "MI_kwDOAA0YD84AbPtQ", "number": 90, "open_issues": 0, "state": "closed", "title": "1.3.4", "updated_at": "2021-10-18T11:00:43Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90" }
0
"2021-09-23T12:12:42Z"
"2021-09-23T13:14:08Z"
"2021-09-23T13:14:08Z"
NONE
null
Backport PR #43709: REGR: Passing args/kwargs to Series.agg fails
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43716/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43716/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43716.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43716", "merged_at": "2021-09-23T13:14:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43716.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43716" }
https://api.github.com/repos/pandas-dev/pandas/issues/43717
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43717/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43717/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43717/events
https://github.com/pandas-dev/pandas/issues/43717
1,005,361,469
I_kwDOAA0YD8477Jk9
43,717
ASV/DEPR: deprecation warnings on using freq in Timestamp
{ "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.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": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" }, { "color": "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" } ]
open
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" }
2
"2021-09-23T12:17:53Z"
"2021-09-23T18:36:07Z"
null
CONTRIBUTOR
null
``` [ 47.57%] ···· For parameters: None, 'B' /home/runner/work/pandas/pandas/asv_bench/benchmarks/tslibs/timestamp.py:58: FutureWarning: The 'freq' argument in Timestamp is deprecated and will be removed in a future version. self.ts = Timestamp("2017-08-25 08:16:14", tzinfo=tz, freq=freq) For parameters: datetime.timezone.utc, 'B' /home/runner/work/pandas/pandas/asv_bench/benchmarks/tslibs/timestamp.py:58: FutureWarning: The 'freq' argument in Timestamp is deprecated and will be removed in a future version. self.ts = Timestamp("2017-08-25 08:16:14", tzinfo=tz, freq=freq) For parameters: datetime.timezone(datetime.timedelta(seconds=3600)), 'B' /home/runner/work/pandas/pandas/asv_bench/benchmarks/tslibs/timestamp.py:58: FutureWarning: The 'freq' argument in Timestamp is deprecated and will be removed in a future version. self.ts = Timestamp("2017-08-25 08:16:14", tzinfo=tz, freq=freq) For parameters: <DstTzInfo 'US/Pacific' LMT-1 day, 16:07:00 STD>, 'B' /home/runner/work/pandas/pandas/asv_bench/benchmarks/tslibs/timestamp.py:58: FutureWarning: The 'freq' argument in Timestamp is deprecated and will be removed in a future version. self.ts = Timestamp("2017-08-25 08:16:14", tzinfo=tz, freq=freq) For parameters: tzfile('/usr/share/zoneinfo/Asia/Tokyo'), 'B' /home/runner/work/pandas/pandas/asv_bench/benchmarks/tslibs/timestamp.py:58: FutureWarning: The 'freq' argument in Timestamp is deprecated and will be removed in a future version. self.ts = Timestamp("2017-08-25 08:16:14", tzinfo=tz, freq=freq) For parameters: tzlocal(), 'B' /home/runner/work/pandas/pandas/asv_bench/benchmarks/tslibs/timestamp.py:58: FutureWarning: The 'freq' argument in Timestamp is deprecated and will be removed in a future version. self.ts = Timestamp("2017-08-25 08:16:14", tzinfo=tz, freq=freq) [ 47.62%] ··· ...estamp.TimestampProperties.time_weekday_name ok ``` should fix the asv's cc @jbrockmendel
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43717/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43717/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43718
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43718/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43718/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43718/events
https://github.com/pandas-dev/pandas/issues/43718
1,005,484,921
I_kwDOAA0YD8477nt5
43,718
BUG: pd.DataFrame.insert does not align index properly when inserting a series
{ "avatar_url": "https://avatars.githubusercontent.com/u/16254162?v=4", "events_url": "https://api.github.com/users/ragazzojp/events{/privacy}", "followers_url": "https://api.github.com/users/ragazzojp/followers", "following_url": "https://api.github.com/users/ragazzojp/following{/other_user}", "gists_url": "https://api.github.com/users/ragazzojp/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ragazzojp", "id": 16254162, "login": "ragazzojp", "node_id": "MDQ6VXNlcjE2MjU0MTYy", "organizations_url": "https://api.github.com/users/ragazzojp/orgs", "received_events_url": "https://api.github.com/users/ragazzojp/received_events", "repos_url": "https://api.github.com/users/ragazzojp/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ragazzojp/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ragazzojp/subscriptions", "type": "User", "url": "https://api.github.com/users/ragazzojp" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "207de5", "default": false, "description": "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
0
"2021-09-23T14:10:56Z"
"2021-10-01T22:54:15Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd df = pd.DataFrame({'col1': [1, 2], 'col2': [3, 4]}) df.insert(0, "col0", pd.Series([5, 6], index=[1, 2])) # resulting df has 2 rows and index [0, 1], # when I believe it should have 3 and index [0, 1, 2] ``` ### Issue Description Maybe it's a matter of definition of _index alignment_, but I think `pd.DataFrame.insert` doesn't align the index of what is inserted properly. The documentation clearly says that inserting a `pd.Series` aligns its index (to the one of the dataframe, I assume, documentation is not clear and this is mentioned only next to the corresponding example). Anyway, **keys in the series not present in the dataframe are discarded** and this is also clearly depicted in the documentation, from where I've taken the example above. I don't think this is correct and this is what is usually meant with _index alignment_. I think it should work more like `pd.concat(..., axis=1)` that I can't use because it seems to discard and recompute the index. But this is another story. If this is the intended behavior, please clarify it the documentation and move the paragraph about it from the example section to the main documentation of the function. ### Expected Behavior All the keys present in the `pd.Series` that is `insert`ed in the `pd.DataFrame` are all retained and in case some of them are not present in the dataframe, its index is extended and no-values are added where needed. ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.7.10.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18362 machine : AMD64 processor : Intel64 Family 6 Model 158 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.3.3 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 21.2.4 setuptools : 58.0.4 Cython : None pytest : 6.2.2 hypothesis : None sphinx : 4.1.2 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 3.0.1 IPython : 7.27.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : 2021.08.1 fastparquet : 0.6.3 gcsfs : None matplotlib : 3.4.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 3.0.0 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/43718/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43718/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43719
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43719/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43719/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43719/events
https://github.com/pandas-dev/pandas/issues/43719
1,005,571,771
I_kwDOAA0YD8477867
43,719
BUG: Modifying values of a dataframe using lower level MultiIndex columns causes silently casting them to float64
{ "avatar_url": "https://avatars.githubusercontent.com/u/13993759?v=4", "events_url": "https://api.github.com/users/ozars/events{/privacy}", "followers_url": "https://api.github.com/users/ozars/followers", "following_url": "https://api.github.com/users/ozars/following{/other_user}", "gists_url": "https://api.github.com/users/ozars/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ozars", "id": 13993759, "login": "ozars", "node_id": "MDQ6VXNlcjEzOTkzNzU5", "organizations_url": "https://api.github.com/users/ozars/orgs", "received_events_url": "https://api.github.com/users/ozars/received_events", "repos_url": "https://api.github.com/users/ozars/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ozars/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ozars/subscriptions", "type": "User", "url": "https://api.github.com/users/ozars" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
open
false
null
[]
null
1
"2021-09-23T15:30:23Z"
"2021-10-01T22:55:48Z"
null
CONTRIBUTOR
null
### - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd import numpy as np DTYPE = np.float32 # DTYPE = np.int32 def rand(): return (np.random.rand(5) * 10).astype(DTYPE) def assert_dtype(d): assert (d.dtypes == DTYPE).all(), f"\n{d.dtypes}" df1 = pd.DataFrame({"x": rand(), "y": rand()}) assert_dtype(df1) df1.loc[:, ["x", "y"]] = 2 * df1.loc[:, ["x", "y"]] - 1 assert_dtype(df1) df2 = pd.DataFrame({("a", "x"): rand()}) assert_dtype(df2) df2.loc[:, ("a", "x")] = 2 * df2.loc[:, ("a", "x")] - 1 assert_dtype(df2) assert_dtype(df2.loc[:, "a"]) assert_dtype(2 * df2.loc[:, "a"] - 1) df2.loc[:, "a"] = 2 * df2.loc[:, "a"] - 1 assert_dtype(df2) # FAILS ``` Output: ``` Traceback (most recent call last): File "/home/omer/tmp/pd_err.py", line 30, in <module> assert_dtype(df2) # FAILS File "/home/omer/tmp/pd_err.py", line 11, in assert_dtype assert (d.dtypes == DTYPE).all(), f"\n{d.dtypes}" AssertionError: a x float64 dtype: object ``` ### Issue Description When lower level MultiIndex columns are used for modifying a dataframe, they are cast to float64 even when destination and source have same types. ### Expected Behavior dtype(s) of such assignments aren't cast if not needed. ### Installed Versions <details> INSTALLED VERSIONS ------------------ commit : 73c68257545b5f8530b7044f56647bd2db92e2ba python : 3.9.2.final.0 python-bits : 64 OS : Linux OS-release : 5.10.0-8-amd64 Version : #1 SMP Debian 5.10.46-4 (2021-08-03) machine : x86_64 processor : byteorder : little LC_ALL : None LANG : en_US.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.3.3 numpy : 1.21.2 pytz : 2021.1 dateutil : 2.8.2 pip : 20.3.4 setuptools : 44.1.1 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 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/43719/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43719/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/43720
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43720/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43720/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43720/events
https://github.com/pandas-dev/pandas/pull/43720
1,005,643,663
PR_kwDOAA0YD84sM2El
43,720
BUG: `Styler.to_latex` with multirow cellcolor
{ "avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4", "events_url": "https://api.github.com/users/attack68/events{/privacy}", "followers_url": "https://api.github.com/users/attack68/followers", "following_url": "https://api.github.com/users/attack68/following{/other_user}", "gists_url": "https://api.github.com/users/attack68/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/attack68", "id": 24256554, "login": "attack68", "node_id": "MDQ6VXNlcjI0MjU2NTU0", "organizations_url": "https://api.github.com/users/attack68/orgs", "received_events_url": "https://api.github.com/users/attack68/received_events", "repos_url": "https://api.github.com/users/attack68/repos", "site_admin": false, "starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/attack68/subscriptions", "type": "User", "url": "https://api.github.com/users/attack68" }
[ { "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": "to_latex", "id": 251382258, "name": "IO LaTeX", "node_id": "MDU6TGFiZWwyNTEzODIyNTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX" } ]
closed
false
null
[]
{ "closed_at": 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" }
0
"2021-09-23T16:43:45Z"
"2021-10-21T05:15:26Z"
"2021-10-21T01:24:09Z"
CONTRIBUTOR
null
- [x] xref #41994 but provides an alternative workable solution. - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them - [x] No whatsnew entry needed since `apply_index` methods were added in 1.4.0 and this bug fix is an extension to that.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43720/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43720/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/43720.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/43720", "merged_at": "2021-10-21T01:24:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/43720.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43720" }
https://api.github.com/repos/pandas-dev/pandas/issues/43721
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/43721/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/43721/comments
https://api.github.com/repos/pandas-dev/pandas/issues/43721/events
https://github.com/pandas-dev/pandas/issues/43721
1,005,661,940
I_kwDOAA0YD8478S70
43,721
BUG: None is replaced with Nan
{ "avatar_url": "https://avatars.githubusercontent.com/u/23587658?v=4", "events_url": "https://api.github.com/users/George3d6/events{/privacy}", "followers_url": "https://api.github.com/users/George3d6/followers", "following_url": "https://api.github.com/users/George3d6/following{/other_user}", "gists_url": "https://api.github.com/users/George3d6/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/George3d6", "id": 23587658, "login": "George3d6", "node_id": "MDQ6VXNlcjIzNTg3NjU4", "organizations_url": "https://api.github.com/users/George3d6/orgs", "received_events_url": "https://api.github.com/users/George3d6/received_events", "repos_url": "https://api.github.com/users/George3d6/repos", "site_admin": false, "starred_url": "https://api.github.com/users/George3d6/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/George3d6/subscriptions", "type": "User", "url": "https://api.github.com/users/George3d6" }
[ { "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" }
2
"2021-09-23T17:05:39Z"
"2021-09-27T17:03:11Z"
"2021-09-23T18:42:16Z"
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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas. Note: Env bellow is not the latest, but I also tested with 1.3.3 and behavior remains the same - [ ] I have confirmed this bug exists on the master branch of pandas. ### Reproducible Example ```python import pandas as pd df = pd.DataFrame() df['a'] = [1,2,3,4,5,6,7,8,None,None] print(df['a']) > Outputs: 0 1.0 1 2.0 2 3.0 3 4.0 4 5.0 5 6.0 6 7.0 7 8.0 8 NaN 9 NaN Name: a, dtype: float64 ``` ### Issue Description Pandas is replacing `None` with `NaN` these are no the same, this is horrible and will cause bugs ### Expected Behavior I'd expected values I assign to an element or column in a pandas data frame to either: 1. Get assigned 2. Raise and error if they can't be assigned ### Installed Versions >>> pd.show_versions() INSTALLED VERSIONS ------------------ commit : 67a3d4241ab84419856b84fc3ebc9abcbe66c6b3 python : 3.8.10.final.0 python-bits : 64 OS : Linux OS-release : 5.11.0-34-generic Version : #36~20.04.1-Ubuntu SMP Fri Aug 27 08:06:32 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 1.1.4 numpy : 1.21.2 pytz : 2019.3 dateutil : 2.7.3 pip : 20.0.2 setuptools : 57.4.0 Cython : 0.29.21 pytest : 6.1.2 hypothesis : None sphinx : 4.1.2 blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.1 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.18.1 pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : 0.8.7 fastparquet : None gcsfs : None matplotlib : 3.3.3 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 4.0.0 pytables : None pyxlsb : None s3fs : None scipy : 1.7.0 sqlalchemy : 1.4.23 tables : None tabulate : 0.8.7 xarray : None xlrd : 1.2.0 xlwt : None numba : 0.53.1
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/43721/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/43721/timeline
null
null
null