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/40919
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40919/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40919/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40919/events
https://github.com/pandas-dev/pandas/issues/40919
856,781,151
MDU6SXNzdWU4NTY3ODExNTE=
40,919
QST: I have tried lots of different suggestions but still cannot import pandas / numpy into pycharm
{ "avatar_url": "https://avatars.githubusercontent.com/u/82443972?v=4", "events_url": "https://api.github.com/users/oliverpjon/events{/privacy}", "followers_url": "https://api.github.com/users/oliverpjon/followers", "following_url": "https://api.github.com/users/oliverpjon/following{/other_user}", "gists_url": "https://api.github.com/users/oliverpjon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/oliverpjon", "id": 82443972, "login": "oliverpjon", "node_id": "MDQ6VXNlcjgyNDQzOTcy", "organizations_url": "https://api.github.com/users/oliverpjon/orgs", "received_events_url": "https://api.github.com/users/oliverpjon/received_events", "repos_url": "https://api.github.com/users/oliverpjon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/oliverpjon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/oliverpjon/subscriptions", "type": "User", "url": "https://api.github.com/users/oliverpjon" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
1
"2021-04-13T09:37:24Z"
"2021-04-13T09:52:43Z"
"2021-04-13T09:52:43Z"
NONE
null
![image](https://user-images.githubusercontent.com/82443972/114531780-7f2c7680-9c4c-11eb-87f6-1c3ca6f24d69.png) I have installed both using PIP as seen in photo but always get this in pycharm ![image](https://user-images.githubusercontent.com/82443972/114531897-99665480-9c4c-11eb-8414-5c601fb5ecfc.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/40919/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40919/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40920
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40920/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40920/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40920/events
https://github.com/pandas-dev/pandas/issues/40920
856,788,045
MDU6SXNzdWU4NTY3ODgwNDU=
40,920
QST: Can read_sql ignore the condition if parameter is None?
{ "avatar_url": "https://avatars.githubusercontent.com/u/15207713?v=4", "events_url": "https://api.github.com/users/ghuname/events{/privacy}", "followers_url": "https://api.github.com/users/ghuname/followers", "following_url": "https://api.github.com/users/ghuname/following{/other_user}", "gists_url": "https://api.github.com/users/ghuname/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ghuname", "id": 15207713, "login": "ghuname", "node_id": "MDQ6VXNlcjE1MjA3NzEz", "organizations_url": "https://api.github.com/users/ghuname/orgs", "received_events_url": "https://api.github.com/users/ghuname/received_events", "repos_url": "https://api.github.com/users/ghuname/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ghuname/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ghuname/subscriptions", "type": "User", "url": "https://api.github.com/users/ghuname" }
[ { "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": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" } ]
closed
false
null
[]
null
3
"2021-04-13T09:45:41Z"
"2021-04-13T18:13:38Z"
"2021-04-13T18:13:38Z"
NONE
null
If I have params and sql defined as this: ``` params = { 'field1': 1, 'field2': 'XYZ', 'field3: 100 } sql = """ select * from table where 1 = 1 and table.field1 = %(field1)s and table.field2 = %(field2)s and table.field3 = %(field3)s """ ``` Everything works as it should if I am reading the sql like this: `df = pd.read_sql(sql, params=params)` But, if for example `params['field3'] is None` (instead of `100` or any other value) I would like to ignore condition `and table.field3 = %(field3)s`. Can I use read_sql and have such behaviour with pandas read_sql or jinjasql is my only option?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40920/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40920/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40921
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40921/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40921/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40921/events
https://github.com/pandas-dev/pandas/issues/40921
856,847,924
MDU6SXNzdWU4NTY4NDc5MjQ=
40,921
BUG: max()/min() don't work on DataFrames constructed from scipy sparse matrix
{ "avatar_url": "https://avatars.githubusercontent.com/u/2010842?v=4", "events_url": "https://api.github.com/users/melkonyan/events{/privacy}", "followers_url": "https://api.github.com/users/melkonyan/followers", "following_url": "https://api.github.com/users/melkonyan/following{/other_user}", "gists_url": "https://api.github.com/users/melkonyan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/melkonyan", "id": 2010842, "login": "melkonyan", "node_id": "MDQ6VXNlcjIwMTA4NDI=", "organizations_url": "https://api.github.com/users/melkonyan/orgs", "received_events_url": "https://api.github.com/users/melkonyan/received_events", "repos_url": "https://api.github.com/users/melkonyan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/melkonyan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/melkonyan/subscriptions", "type": "User", "url": "https://api.github.com/users/melkonyan" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "009800", "default": false, "description": "Sparse Data Type", "id": 49182326, "name": "Sparse", "node_id": "MDU6TGFiZWw0OTE4MjMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse" }, { "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" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
6
"2021-04-13T11:02:46Z"
"2021-04-28T15:18:04Z"
"2021-04-28T15:18:04Z"
NONE
null
Example: ```python import pandas as pd from scipy import sparse as sc import numpy as np np.random.seed(42) a = np.random.randint(0, 10, size=(200, 5)) a_sp = sc.coo_matrix(a) a_sp_pd = pd.DataFrame.sparse.from_spmatrix(a_sp) a_sp_pd.max() ``` Expected output: ``` 0 9 1 9 2 9 3 9 4 9 dtype: int64 ``` Actual output: ``` Series([], dtype: float64) ``` System info: ``` - numpy [required: >=1.17, installed: 1.20.2] - scipy [required: >=0.19.1, installed: 1.6.2] - pandas [required: >=1.0.0,<=1.1.4, installed: 1.2.4] ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40921/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40921/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40922
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40922/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40922/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40922/events
https://github.com/pandas-dev/pandas/pull/40922
856,911,217
MDExOlB1bGxSZXF1ZXN0NjE0NDE2NzU1
40,922
Backport PR #40761 on branch 1.2.x (DOC: collapse subpages in sidebar for API reference docs)
{ "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-06-22T09:35:40Z", "closed_issues": 50, "created_at": "2021-04-12T08:10:59Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-05-10T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/85", "id": 6650632, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85/labels", "node_id": "MDk6TWlsZXN0b25lNjY1MDYzMg==", "number": 85, "open_issues": 0, "state": "closed", "title": "1.2.5", "updated_at": "2021-06-23T08:13:15Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85" }
0
"2021-04-13T12:26:39Z"
"2021-04-13T14:21:26Z"
"2021-04-13T14:21:25Z"
NONE
null
Backport PR #40761: DOC: collapse subpages in sidebar for API reference docs
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40922/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40922/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40922.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40922", "merged_at": "2021-04-13T14:21:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40922.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40922" }
https://api.github.com/repos/pandas-dev/pandas/issues/40923
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40923/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40923/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40923/events
https://github.com/pandas-dev/pandas/pull/40923
856,989,171
MDExOlB1bGxSZXF1ZXN0NjE0NDgyNzUy
40,923
PR for DOC: inconsistency in doc argument types #40560
{ "avatar_url": "https://avatars.githubusercontent.com/u/10372220?v=4", "events_url": "https://api.github.com/users/taytzehao/events{/privacy}", "followers_url": "https://api.github.com/users/taytzehao/followers", "following_url": "https://api.github.com/users/taytzehao/following{/other_user}", "gists_url": "https://api.github.com/users/taytzehao/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/taytzehao", "id": 10372220, "login": "taytzehao", "node_id": "MDQ6VXNlcjEwMzcyMjIw", "organizations_url": "https://api.github.com/users/taytzehao/orgs", "received_events_url": "https://api.github.com/users/taytzehao/received_events", "repos_url": "https://api.github.com/users/taytzehao/repos", "site_admin": false, "starred_url": "https://api.github.com/users/taytzehao/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/taytzehao/subscriptions", "type": "User", "url": "https://api.github.com/users/taytzehao" }
[]
closed
false
null
[]
null
1
"2021-04-13T13:56:53Z"
"2021-04-13T14:16:32Z"
"2021-04-13T14:16:32Z"
CONTRIBUTOR
null
This PR is used to address documentation inconsistencies as in issue #40560. Array_like have been changed to array-like
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40923/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40923/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40923.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40923", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40923.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40923" }
https://api.github.com/repos/pandas-dev/pandas/issues/40924
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40924/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40924/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40924/events
https://github.com/pandas-dev/pandas/pull/40924
857,010,525
MDExOlB1bGxSZXF1ZXN0NjE0NTAwOTU4
40,924
BUG: concat with DTI and all-None 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": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2021-06-22T09:35:40Z", "closed_issues": 50, "created_at": "2021-04-12T08:10:59Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-05-10T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/85", "id": 6650632, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85/labels", "node_id": "MDk6TWlsZXN0b25lNjY1MDYzMg==", "number": 85, "open_issues": 0, "state": "closed", "title": "1.2.5", "updated_at": "2021-06-23T08:13:15Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85" }
4
"2021-04-13T14:19:16Z"
"2021-04-14T14:27:06Z"
"2021-04-14T12:53:22Z"
MEMBER
null
- [x] closes #40841 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40924/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40924/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40924.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40924", "merged_at": "2021-04-14T12:53:21Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40924.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40924" }
https://api.github.com/repos/pandas-dev/pandas/issues/40925
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40925/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40925/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40925/events
https://github.com/pandas-dev/pandas/pull/40925
857,015,691
MDExOlB1bGxSZXF1ZXN0NjE0NTA1MjI0
40,925
DOC: inconsistency in doc argument types #40560
{ "avatar_url": "https://avatars.githubusercontent.com/u/10372220?v=4", "events_url": "https://api.github.com/users/taytzehao/events{/privacy}", "followers_url": "https://api.github.com/users/taytzehao/followers", "following_url": "https://api.github.com/users/taytzehao/following{/other_user}", "gists_url": "https://api.github.com/users/taytzehao/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/taytzehao", "id": 10372220, "login": "taytzehao", "node_id": "MDQ6VXNlcjEwMzcyMjIw", "organizations_url": "https://api.github.com/users/taytzehao/orgs", "received_events_url": "https://api.github.com/users/taytzehao/received_events", "repos_url": "https://api.github.com/users/taytzehao/repos", "site_admin": false, "starred_url": "https://api.github.com/users/taytzehao/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/taytzehao/subscriptions", "type": "User", "url": "https://api.github.com/users/taytzehao" }
[]
closed
false
null
[]
null
3
"2021-04-13T14:24:34Z"
"2021-04-16T04:13:24Z"
"2021-04-16T04:13:24Z"
CONTRIBUTOR
null
This PR is used to address documentation inconsistencies as in issue #40560. All Array_like has been changed to array-like. However, Array_like that is used as a parameter cannot be changed as it would be identified as "array minus like".
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40925/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40925/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40925.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40925", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40925.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40925" }
https://api.github.com/repos/pandas-dev/pandas/issues/40926
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40926/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40926/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40926/events
https://github.com/pandas-dev/pandas/pull/40926
857,073,113
MDExOlB1bGxSZXF1ZXN0NjE0NTU0MDIx
40,926
ENH: `Styler.highlight_quantile` method
{ "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-13T15:24:37Z"
"2021-04-21T06:08:34Z"
"2021-04-20T23:21:23Z"
CONTRIBUTOR
null
![Screen Shot 2021-04-14 at 08 43 54](https://user-images.githubusercontent.com/24256554/114679634-a185c900-9d0c-11eb-9865-38a3aac1802c.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/40926/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40926/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40926.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40926", "merged_at": "2021-04-20T23:21:23Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40926.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40926" }
https://api.github.com/repos/pandas-dev/pandas/issues/40927
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40927/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40927/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40927/events
https://github.com/pandas-dev/pandas/pull/40927
857,082,447
MDExOlB1bGxSZXF1ZXN0NjE0NTYyMDA3
40,927
Fix 40420: Interpret NaN in clip() as no bound.
{ "avatar_url": "https://avatars.githubusercontent.com/u/5946712?v=4", "events_url": "https://api.github.com/users/DriesSchaumont/events{/privacy}", "followers_url": "https://api.github.com/users/DriesSchaumont/followers", "following_url": "https://api.github.com/users/DriesSchaumont/following{/other_user}", "gists_url": "https://api.github.com/users/DriesSchaumont/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DriesSchaumont", "id": 5946712, "login": "DriesSchaumont", "node_id": "MDQ6VXNlcjU5NDY3MTI=", "organizations_url": "https://api.github.com/users/DriesSchaumont/orgs", "received_events_url": "https://api.github.com/users/DriesSchaumont/received_events", "repos_url": "https://api.github.com/users/DriesSchaumont/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DriesSchaumont/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DriesSchaumont/subscriptions", "type": "User", "url": "https://api.github.com/users/DriesSchaumont" }
[ { "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": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
"2021-04-13T15:34:11Z"
"2021-04-23T15:18:04Z"
"2021-04-23T14:58:08Z"
MEMBER
null
- [x] closes #40420 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40927/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40927/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40927.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40927", "merged_at": "2021-04-23T14:58:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40927.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40927" }
https://api.github.com/repos/pandas-dev/pandas/issues/40928
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40928/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40928/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40928/events
https://github.com/pandas-dev/pandas/pull/40928
857,082,805
MDExOlB1bGxSZXF1ZXN0NjE0NTYyMzA0
40,928
CLN: preliminary refactor before `Styler.highlight_quantile`
{ "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-13T15:34:33Z"
"2021-04-14T05:08:38Z"
"2021-04-13T23:19:12Z"
CONTRIBUTOR
null
The current structure is: ``` def highlight_between: def f: return x return self.apply(f) ``` So that `Styler.highlight_quantile` can reuse code this PR refactors the above to: ``` def highlight_between: return self.apply(_new_name) def _new_name: return x ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40928/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40928/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40928.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40928", "merged_at": "2021-04-13T23:19:12Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40928.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40928" }
https://api.github.com/repos/pandas-dev/pandas/issues/40930
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40930/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40930/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40930/events
https://github.com/pandas-dev/pandas/pull/40930
857,145,471
MDExOlB1bGxSZXF1ZXN0NjE0NjE0Nzk0
40,930
TYP: fix mypy on master
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-13T16:49:25Z"
"2021-04-13T20:55:35Z"
"2021-04-13T20:55:24Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40930/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40930/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40930.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40930", "merged_at": "2021-04-13T20:55:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40930.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40930" }
https://api.github.com/repos/pandas-dev/pandas/issues/40931
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40931/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40931/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40931/events
https://github.com/pandas-dev/pandas/issues/40931
857,281,890
MDU6SXNzdWU4NTcyODE4OTA=
40,931
BUG:
{ "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": "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-04-13T20:05:09Z"
"2021-04-13T20:05:34Z"
"2021-04-13T20:05:34Z"
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40931/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40931/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40932
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40932/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40932/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40932/events
https://github.com/pandas-dev/pandas/issues/40932
857,288,372
MDU6SXNzdWU4NTcyODgzNzI=
40,932
Proposal: a new nullable Timestamp data type with support for non-ns resolutions
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "207de5", "default": false, "description": "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": "1d76db", "default": false, "description": "A proposal for the roadmap.", "id": 1653939309, "name": "Roadmap", "node_id": "MDU6TGFiZWwxNjUzOTM5MzA5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Roadmap" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
open
false
null
[]
null
24
"2021-04-13T20:15:07Z"
"2021-10-17T13:43:55Z"
null
MEMBER
null
Motivation for this proposal: for full dtype support with nullable dtypes, we also need a nullable version of the datetime-like dtypes. For backwards compatibility, we need a new dtype (like we did for the other nullable dtypes), and that's what the proposal below is describing. And when creating a new dtype, I think it is the perfect opportunity to have a different default for the resolution (eg microsecond unit instead of nanosecond). **Summary:** This proposal puts forward a new ``TimestampDtype``, a nullable extension dtype to hold timestamp data: - A new timestamp data type that follows the pattern of the nullable dtypes (e.g. integer, boolean) with consistent missing value behaviour. - A parameterized data type with support for multiple resolutions (from seconds through nanoseconds) and optionally time zones (unifying the tz-naive and tz-aware dtypes into a single ExtensionDtype). - The new data type can have a better default resolution (e.g. microseconds instead of nanoseconds). - I suggest using "timestamp" for the dtype name, because 1) we need a different name to differentiate from "datetime64" anyway and 2) this is then internally consistent with our Timestamp scalar. But an alternative could also be "Datetime64" (capitalized). Full version at https://docs.google.com/document/d/1uCdxjlYAafdHD7f57kpkPsJV2Q9Oaxkg1a8V5steMBM/edit?usp=sharing This would address #7307 Small illustrative code snippet: ``` >>> s 0 2020-01-01 00:00:00 1 <NA> 2 2020-01-01 02:00:00 dtype: timestamp[us] >>> s_tz 0 2020-01-01 00:00:00+01:00 1 2020-01-01 01:00:00+01:00 2 2020-01-01 02:00:00+01:00 dtype: timestamp[ns, tz=Europe/Brussels] ``` Looking forward to your thoughts / comments. cc @pandas-dev/pandas-core @pandas-dev/pandas-triage
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40932/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40932/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40933
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40933/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40933/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40933/events
https://github.com/pandas-dev/pandas/issues/40933
857,345,927
MDU6SXNzdWU4NTczNDU5Mjc=
40,933
BUG: Inconsistency for iloc between np.array and pd.array
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "207de5", "default": false, "description": "Requires discussion from core team before further action", "id": 219960758, "name": "Needs Discussion", "node_id": "MDU6TGFiZWwyMTk5NjA3NTg=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/37603435?v=4", "events_url": "https://api.github.com/users/parkyo/events{/privacy}", "followers_url": "https://api.github.com/users/parkyo/followers", "following_url": "https://api.github.com/users/parkyo/following{/other_user}", "gists_url": "https://api.github.com/users/parkyo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/parkyo", "id": 37603435, "login": "parkyo", "node_id": "MDQ6VXNlcjM3NjAzNDM1", "organizations_url": "https://api.github.com/users/parkyo/orgs", "received_events_url": "https://api.github.com/users/parkyo/received_events", "repos_url": "https://api.github.com/users/parkyo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/parkyo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/parkyo/subscriptions", "type": "User", "url": "https://api.github.com/users/parkyo" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/37603435?v=4", "events_url": "https://api.github.com/users/parkyo/events{/privacy}", "followers_url": "https://api.github.com/users/parkyo/followers", "following_url": "https://api.github.com/users/parkyo/following{/other_user}", "gists_url": "https://api.github.com/users/parkyo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/parkyo", "id": 37603435, "login": "parkyo", "node_id": "MDQ6VXNlcjM3NjAzNDM1", "organizations_url": "https://api.github.com/users/parkyo/orgs", "received_events_url": "https://api.github.com/users/parkyo/received_events", "repos_url": "https://api.github.com/users/parkyo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/parkyo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/parkyo/subscriptions", "type": "User", "url": "https://api.github.com/users/parkyo" } ]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
9
"2021-04-13T21:44:48Z"
"2021-05-05T12:41:13Z"
"2021-05-05T12:41:13Z"
MEMBER
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example We got some inconsistencies with iloc between setting a numpy array and a pandas array ```python df = pd.DataFrame(data={ 'col1': [1, 2, 3, 4], 'col2': [3, 4, 5, 6], 'col3': [6, 7, 8, 9], }) rhs = pd.array([1, 2, 3]) df.iloc[[1, 2, 3]] = rhs ``` #### Problem description This returns ``` col1 col2 col3 0 1 3 6 1 1 1 1 2 2 2 2 3 3 3 3 ``` When switching the rhs to a numpy array, this returns ``` rhs = np.array([1, 2, 3]) col1 col2 col3 0 1 3 6 1 1 2 3 2 1 2 3 3 1 2 3 ``` Same happens when using ``[[1, 2, 3], :]`` as indexer #### Expected Output We should be consistent here, if we want to change iloc for the numpy case I think we need to deprecate? Is this already known? cc @jbrockmendel @jorisvandenbossche #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : c8e077fa87a1e60bd6f8b7a9e5d718092bf70739 python : 3.8.6.final.0 python-bits : 64 OS : Linux OS-release : 5.8.0-48-generic Version : #54~20.04.1-Ubuntu SMP Sat Mar 20 13:40:25 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.0.dev0+1320.gc8e077fa87.dirty numpy : 1.20.0 pytz : 2020.5 dateutil : 2.8.1 pip : 20.3.3 setuptools : 49.6.0.post20210108 Cython : 0.29.21 pytest : 6.2.1 hypothesis : 6.0.2 sphinx : 3.4.3 blosc : None feather : None xlsxwriter : 1.3.7 lxml.etree : 4.6.2 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 0.8.5 fastparquet : 0.5.0 gcsfs : 0.7.1 matplotlib : 3.3.3 numexpr : 2.7.2 odfpy : None openpyxl : 3.0.6 pandas_gbq : None pyarrow : 1.0.0 pyxlsb : None s3fs : 0.4.2 scipy : 1.6.0 sqlalchemy : 1.3.22 tables : 3.6.1 tabulate : 0.8.7 xarray : 0.16.2 xlrd : 2.0.1 xlwt : 1.3.0 numba : 0.52.0 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/40933/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40933/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40934
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40934/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40934/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40934/events
https://github.com/pandas-dev/pandas/pull/40934
857,370,421
MDExOlB1bGxSZXF1ZXN0NjE0ODAyNzg2
40,934
CLN: remove unused out kwd from take functions
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-13T22:34:56Z"
"2021-04-20T23:05:19Z"
"2021-04-20T22:48:34Z"
MEMBER
null
Un-revert part of #40510 in the hopes of tracking down where the perf impact was. xref #40852 which un-reverted a different part. Let's not merge for a few days to make sure that any surprising effects from #40852 show up in the asvs.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40934/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40934/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40934.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40934", "merged_at": "2021-04-20T22:48:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40934.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40934" }
https://api.github.com/repos/pandas-dev/pandas/issues/40935
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40935/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40935/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40935/events
https://github.com/pandas-dev/pandas/issues/40935
857,394,910
MDU6SXNzdWU4NTczOTQ5MTA=
40,935
API: Should isna return a copy for nullable types?
{ "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": "b60205", "default": false, "description": "Internal Consistency of API/Behavior", "id": 1741841389, "name": "API - Consistency", "node_id": "MDU6TGFiZWwxNzQxODQxMzg5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" }, { "color": "70e5ca", "default": false, "description": "", "id": 2085877452, "name": "Copy / view semantics", "node_id": "MDU6TGFiZWwyMDg1ODc3NDUy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Copy%20/%20view%20semantics" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
"2021-04-13T23:34:30Z"
"2021-04-20T12:52:12Z"
"2021-04-20T12:52:12Z"
MEMBER
null
This came up in #40651, seems worth resolving. Right now `BaseMaskedArray` just directly returns `self._mask` in the implementation of `isna`. This could lead to some unintuitive user-facing behavior like: ``` >>> ser = pd.Series([1, 1, 1], dtype="Int64") >>> mask = ser.isna() >>> mask[:] = True >>> ser 0 <NA> 1 <NA> 2 <NA> dtype: Int64 ``` Seems like `isna` should return a copy instead to avoid this. One potential downside is losing an API-supported way to obtain 0-cost access to the mask (xref #34873).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40935/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40935/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40936
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40936/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40936/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40936/events
https://github.com/pandas-dev/pandas/issues/40936
857,640,203
MDU6SXNzdWU4NTc2NDAyMDM=
40,936
pandas series append will lost original name if new series name is different
{ "avatar_url": "https://avatars.githubusercontent.com/u/50793718?v=4", "events_url": "https://api.github.com/users/randomseed42/events{/privacy}", "followers_url": "https://api.github.com/users/randomseed42/followers", "following_url": "https://api.github.com/users/randomseed42/following{/other_user}", "gists_url": "https://api.github.com/users/randomseed42/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/randomseed42", "id": 50793718, "login": "randomseed42", "node_id": "MDQ6VXNlcjUwNzkzNzE4", "organizations_url": "https://api.github.com/users/randomseed42/orgs", "received_events_url": "https://api.github.com/users/randomseed42/received_events", "repos_url": "https://api.github.com/users/randomseed42/repos", "site_admin": false, "starred_url": "https://api.github.com/users/randomseed42/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/randomseed42/subscriptions", "type": "User", "url": "https://api.github.com/users/randomseed42" }
[ { "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" }, { "color": "56efc9", "default": false, "description": "_metadata, .attrs", "id": 1539579994, "name": "metadata", "node_id": "MDU6TGFiZWwxNTM5NTc5OTk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/metadata" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/55714355?v=4", "events_url": "https://api.github.com/users/joonlim9/events{/privacy}", "followers_url": "https://api.github.com/users/joonlim9/followers", "following_url": "https://api.github.com/users/joonlim9/following{/other_user}", "gists_url": "https://api.github.com/users/joonlim9/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/joonlim9", "id": 55714355, "login": "joonlim9", "node_id": "MDQ6VXNlcjU1NzE0MzU1", "organizations_url": "https://api.github.com/users/joonlim9/orgs", "received_events_url": "https://api.github.com/users/joonlim9/received_events", "repos_url": "https://api.github.com/users/joonlim9/repos", "site_admin": false, "starred_url": "https://api.github.com/users/joonlim9/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joonlim9/subscriptions", "type": "User", "url": "https://api.github.com/users/joonlim9" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/55714355?v=4", "events_url": "https://api.github.com/users/joonlim9/events{/privacy}", "followers_url": "https://api.github.com/users/joonlim9/followers", "following_url": "https://api.github.com/users/joonlim9/following{/other_user}", "gists_url": "https://api.github.com/users/joonlim9/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/joonlim9", "id": 55714355, "login": "joonlim9", "node_id": "MDQ6VXNlcjU1NzE0MzU1", "organizations_url": "https://api.github.com/users/joonlim9/orgs", "received_events_url": "https://api.github.com/users/joonlim9/received_events", "repos_url": "https://api.github.com/users/joonlim9/repos", "site_admin": false, "starred_url": "https://api.github.com/users/joonlim9/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/joonlim9/subscriptions", "type": "User", "url": "https://api.github.com/users/joonlim9" } ]
null
4
"2021-04-14T08:08:50Z"
"2021-04-20T00:33:32Z"
"2021-04-20T00:33:32Z"
NONE
null
#### Question about pandas pandas series append will lost original name if new series name is different, probably can improve by adding an arg like retain_name=True? ```python # Your code here, if applicable s1 = pd.Series([1,2,3], name='A') s2 = pd.Series([4,5,6], name='B') s3 = pd.Series([7,8,9]) s4 = pd.Series([10,11,12], name='A') print(s1.append(s2).name) print(s1.append(s3).name) print(s1.append(s4).name) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40936/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40936/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40937
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40937/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40937/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40937/events
https://github.com/pandas-dev/pandas/pull/40937
857,647,493
MDExOlB1bGxSZXF1ZXN0NjE1MDMyMjIx
40,937
DOC/CI: add missing import to ipython directive in `whatsnew/v0.11.0.rst`
{ "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": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-04-14T08:17:33Z"
"2021-04-15T11:41:31Z"
"2021-04-15T08:56:14Z"
CONTRIBUTOR
null
some of the builds have failed recently due to this ipython directive, so I added the fix as advised in the error warning.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40937/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40937/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40937.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40937", "merged_at": "2021-04-15T08:56:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40937.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40937" }
https://api.github.com/repos/pandas-dev/pandas/issues/40938
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40938/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40938/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40938/events
https://github.com/pandas-dev/pandas/issues/40938
857,675,546
MDU6SXNzdWU4NTc2NzU1NDY=
40,938
QST: Only the first 100 columns are suggested in tab completion
{ "avatar_url": "https://avatars.githubusercontent.com/u/60755099?v=4", "events_url": "https://api.github.com/users/TheDerivator/events{/privacy}", "followers_url": "https://api.github.com/users/TheDerivator/followers", "following_url": "https://api.github.com/users/TheDerivator/following{/other_user}", "gists_url": "https://api.github.com/users/TheDerivator/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TheDerivator", "id": 60755099, "login": "TheDerivator", "node_id": "MDQ6VXNlcjYwNzU1MDk5", "organizations_url": "https://api.github.com/users/TheDerivator/orgs", "received_events_url": "https://api.github.com/users/TheDerivator/received_events", "repos_url": "https://api.github.com/users/TheDerivator/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TheDerivator/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TheDerivator/subscriptions", "type": "User", "url": "https://api.github.com/users/TheDerivator" }
[ { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" } ]
closed
false
null
[]
null
1
"2021-04-14T08:50:14Z"
"2021-04-14T20:35:42Z"
"2021-04-14T20:35:31Z"
NONE
null
The [:100] in the following code implies that tab completion which relies on dir( ) will only consider the first 100 columns. - Is there a reason for the magic number? Why not remove it? - Alternatively, make it optional with something like pd.set_option('display.max_dir_items', None)? Which is better? https://github.com/pandas-dev/pandas/blob/88df92f221a6f7634a825125a54937f1ad01b919/pandas/core/indexes/base.py#L760
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40938/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40938/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40939
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40939/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40939/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40939/events
https://github.com/pandas-dev/pandas/pull/40939
857,743,781
MDExOlB1bGxSZXF1ZXN0NjE1MTEyNTEz
40,939
call pytest with python3 -m
{ "avatar_url": "https://avatars.githubusercontent.com/u/181628?v=4", "events_url": "https://api.github.com/users/nschloe/events{/privacy}", "followers_url": "https://api.github.com/users/nschloe/followers", "following_url": "https://api.github.com/users/nschloe/following{/other_user}", "gists_url": "https://api.github.com/users/nschloe/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/nschloe", "id": 181628, "login": "nschloe", "node_id": "MDQ6VXNlcjE4MTYyOA==", "organizations_url": "https://api.github.com/users/nschloe/orgs", "received_events_url": "https://api.github.com/users/nschloe/received_events", "repos_url": "https://api.github.com/users/nschloe/repos", "site_admin": false, "starred_url": "https://api.github.com/users/nschloe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/nschloe/subscriptions", "type": "User", "url": "https://api.github.com/users/nschloe" }
[]
closed
false
null
[]
null
8
"2021-04-14T10:10:24Z"
"2021-04-14T12:47:23Z"
"2021-04-14T12:47:18Z"
CONTRIBUTOR
null
This runs pytest as ```sh python3 -m pytest # ... ``` This allows running the tests in a venv. (Otherwise, if pytest is not installed in the venv, it falls back to the system pytest, leading to some surprises down the road.)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40939/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40939/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40939.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40939", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40939.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40939" }
https://api.github.com/repos/pandas-dev/pandas/issues/40940
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40940/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40940/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40940/events
https://github.com/pandas-dev/pandas/pull/40940
857,778,094
MDExOlB1bGxSZXF1ZXN0NjE1MTQxMzQ2
40,940
DOC: clarify (un)aware logic in tz_localize() docstring
{ "avatar_url": "https://avatars.githubusercontent.com/u/265630?v=4", "events_url": "https://api.github.com/users/jgehrcke/events{/privacy}", "followers_url": "https://api.github.com/users/jgehrcke/followers", "following_url": "https://api.github.com/users/jgehrcke/following{/other_user}", "gists_url": "https://api.github.com/users/jgehrcke/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jgehrcke", "id": 265630, "login": "jgehrcke", "node_id": "MDQ6VXNlcjI2NTYzMA==", "organizations_url": "https://api.github.com/users/jgehrcke/orgs", "received_events_url": "https://api.github.com/users/jgehrcke/received_events", "repos_url": "https://api.github.com/users/jgehrcke/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jgehrcke/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jgehrcke/subscriptions", "type": "User", "url": "https://api.github.com/users/jgehrcke" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-04-14T10:54:48Z"
"2021-04-16T16:24:09Z"
"2021-04-16T16:24:04Z"
CONTRIBUTOR
null
A simple hopefully no-brainer documentation patch; came across this while reading https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DatetimeIndex.tz_localize.html#pandas-datetimeindex-tz-localize.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40940/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40940/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40940.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40940", "merged_at": "2021-04-16T16:24:04Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40940.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40940" }
https://api.github.com/repos/pandas-dev/pandas/issues/40941
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40941/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40941/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40941/events
https://github.com/pandas-dev/pandas/pull/40941
857,933,312
MDExOlB1bGxSZXF1ZXN0NjE1MjcwODM4
40,941
BUG: Dataframe mask method does not work properly with pd.StringDtype()
{ "avatar_url": "https://avatars.githubusercontent.com/u/5946712?v=4", "events_url": "https://api.github.com/users/DriesSchaumont/events{/privacy}", "followers_url": "https://api.github.com/users/DriesSchaumont/followers", "following_url": "https://api.github.com/users/DriesSchaumont/following{/other_user}", "gists_url": "https://api.github.com/users/DriesSchaumont/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DriesSchaumont", "id": 5946712, "login": "DriesSchaumont", "node_id": "MDQ6VXNlcjU5NDY3MTI=", "organizations_url": "https://api.github.com/users/DriesSchaumont/orgs", "received_events_url": "https://api.github.com/users/DriesSchaumont/received_events", "repos_url": "https://api.github.com/users/DriesSchaumont/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DriesSchaumont/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DriesSchaumont/subscriptions", "type": "User", "url": "https://api.github.com/users/DriesSchaumont" }
[ { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "5319e7", "default": false, "description": "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-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-14T14:04:23Z"
"2021-04-16T16:16:25Z"
"2021-04-16T16:14:42Z"
MEMBER
null
- [x] closes #40824 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40941/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40941/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40941.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40941", "merged_at": "2021-04-16T16:14:42Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40941.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40941" }
https://api.github.com/repos/pandas-dev/pandas/issues/40942
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40942/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40942/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40942/events
https://github.com/pandas-dev/pandas/pull/40942
857,940,300
MDExOlB1bGxSZXF1ZXN0NjE1Mjc2ODE4
40,942
Backport PR #40924: BUG: concat with DTI and all-None Index
{ "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": "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": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2021-06-22T09:35:40Z", "closed_issues": 50, "created_at": "2021-04-12T08:10:59Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-05-10T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/85", "id": 6650632, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85/labels", "node_id": "MDk6TWlsZXN0b25lNjY1MDYzMg==", "number": 85, "open_issues": 0, "state": "closed", "title": "1.2.5", "updated_at": "2021-06-23T08:13:15Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85" }
0
"2021-04-14T14:11:39Z"
"2021-04-14T15:41:31Z"
"2021-04-14T15:41:27Z"
MEMBER
null
Backport PR #40924
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40942/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40942/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40942.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40942", "merged_at": "2021-04-14T15:41:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40942.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40942" }
https://api.github.com/repos/pandas-dev/pandas/issues/40943
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40943/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40943/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40943/events
https://github.com/pandas-dev/pandas/issues/40943
857,949,377
MDU6SXNzdWU4NTc5NDkzNzc=
40,943
BUG: View on DataFrame with a Multiindex using .loc doesn't give proper results for df.index.levels or df.index.levshape
{ "avatar_url": "https://avatars.githubusercontent.com/u/10951196?v=4", "events_url": "https://api.github.com/users/scmartin/events{/privacy}", "followers_url": "https://api.github.com/users/scmartin/followers", "following_url": "https://api.github.com/users/scmartin/following{/other_user}", "gists_url": "https://api.github.com/users/scmartin/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/scmartin", "id": 10951196, "login": "scmartin", "node_id": "MDQ6VXNlcjEwOTUxMTk2", "organizations_url": "https://api.github.com/users/scmartin/orgs", "received_events_url": "https://api.github.com/users/scmartin/received_events", "repos_url": "https://api.github.com/users/scmartin/repos", "site_admin": false, "starred_url": "https://api.github.com/users/scmartin/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/scmartin/subscriptions", "type": "User", "url": "https://api.github.com/users/scmartin" }
[ { "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": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" }, { "color": "be21f2", "default": false, "description": "May be closeable, needs more eyeballs", "id": 2365504893, "name": "Closing Candidate", "node_id": "MDU6TGFiZWwyMzY1NTA0ODkz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 2361, "created_at": "2015-02-26T19:29:05Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }, "description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/33", "id": 997544, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels", "node_id": "MDk6TWlsZXN0b25lOTk3NTQ0", "number": 33, "open_issues": 11, "state": "open", "title": "No action", "updated_at": "2021-11-19T17:33:16Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33" }
3
"2021-04-14T14:21:19Z"
"2021-04-20T19:59:52Z"
"2021-04-20T19:59:47Z"
NONE
null
If I create a view on a subset of a dataframe with a Multiindex using `.loc`, if I print the index of the subset, it get the expected subset of the Multiindex. However `index.levels` and `index.levshape ` return the values for the original dataframe, not the subset. ```python import pandas as pd import numpy as np index = [[1,1,1,1,2,2,2,2,3,3,3,3], [1,2,3,4,1,2,3,4,1,2,3,4]] data = pd.DataFrame(np.random.randn(12,2),index=index) smalldata = data.loc[(slice(None),slice(1,2)),:] print(data.index) print(smalldata.index) print(smalldata.index.levels) print(smalldata.index.levshape) ``` #### Problem description If the index of the created view is only the subset of values which appear in the view, the index methods `levels` and `levshape` should reflect this subset of values, not the whole index of the original dataframe #### Expected Output ```python >>> print(smalldata.index.levels) [[1, 2, 3], [1, 2]] ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : d9fff2792bf16178d4e450fe7384244e50635733 python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 3.10.0-957.1.3.el7.x86_64 Version : #1 SMP Thu Nov 29 14:49:43 UTC 2018 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : C.UTF-8 LOCALE : None.None pandas : 1.1.0 numpy : 1.19.1 pytz : 2020.1 dateutil : 2.8.1 pip : 20.2 setuptools : 49.2.0.post20200712 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.2 IPython : 7.17.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : 3.3.0 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : None scipy : 1.5.2 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40943/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40943/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40944
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40944/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40944/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40944/events
https://github.com/pandas-dev/pandas/pull/40944
857,951,729
MDExOlB1bGxSZXF1ZXN0NjE1Mjg2NTQy
40,944
REF: handle dtype dispatch in libhashtable, share Vector/Hashtable code
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-04-14T14:23:49Z"
"2021-05-10T14:07:16Z"
"2021-05-10T13:52:45Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40944/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40944/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40944.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40944", "merged_at": "2021-05-10T13:52:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40944.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40944" }
https://api.github.com/repos/pandas-dev/pandas/issues/40945
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40945/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40945/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40945/events
https://github.com/pandas-dev/pandas/pull/40945
857,971,056
MDExOlB1bGxSZXF1ZXN0NjE1MzAyNzg5
40,945
TYP: timestamps.pyi
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-04-14T14:44:23Z"
"2021-04-26T17:18:07Z"
"2021-04-26T09:31:48Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40945/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40945/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40945.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40945", "merged_at": "2021-04-26T09:31:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40945.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40945" }
https://api.github.com/repos/pandas-dev/pandas/issues/40946
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40946/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40946/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40946/events
https://github.com/pandas-dev/pandas/issues/40946
858,005,464
MDU6SXNzdWU4NTgwMDU0NjQ=
40,946
BUG: total_seconds() method returns zero for timedeltas smaller then 1 microsecond
{ "avatar_url": "https://avatars.githubusercontent.com/u/25043401?v=4", "events_url": "https://api.github.com/users/Caballero93/events{/privacy}", "followers_url": "https://api.github.com/users/Caballero93/followers", "following_url": "https://api.github.com/users/Caballero93/following{/other_user}", "gists_url": "https://api.github.com/users/Caballero93/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Caballero93", "id": 25043401, "login": "Caballero93", "node_id": "MDQ6VXNlcjI1MDQzNDAx", "organizations_url": "https://api.github.com/users/Caballero93/orgs", "received_events_url": "https://api.github.com/users/Caballero93/received_events", "repos_url": "https://api.github.com/users/Caballero93/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Caballero93/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Caballero93/subscriptions", "type": "User", "url": "https://api.github.com/users/Caballero93" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
open
false
null
[]
null
1
"2021-04-14T15:20:33Z"
"2021-06-07T17:38:18Z"
null
NONE
null
- [ ] I have checked that this issue has not already been reported. - [ ] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import pandas as pd # create 1us Timedelta - it can be successfully converted to float a = pd.Timedelta("1us") print(a) print(a.total_seconds()) # create 500ns Timedelta - it is not converted successfully to float - result is zero b = pd.Timedelta("500ns") print(b) print(b.total_seconds()) ``` #### Problem description Starting with version 1.1.0 Timedelta objects that represent time shorter than 1 microsecond cannot be successfully converted to float -> the result is always zero. This is also present on the current version (1.2.4). when trying same code on pandas 1.0.5, situation is the opposite: Printed output for timedeltas smaller then 1us is bad; it shows all zeros, but converted float value is valid. Output in pandas 1.0.5: ``` 0 days 00:00:00.000001 1e-06 0 days 00:00:00.000000 5e-07 ``` third line has unexpected value, but it doesn't affect float conversion, as can be seen in the 4th line. Output in pandas 1.2.4: ``` 0 days 00:00:00.000001 1e-06 0 days 00:00:00.000000500 0.0 ``` now the timedelta representation is fixed, but its float value is 0.0 insteaad of 5e-7 #### Expected Output ``` 0 days 00:00:00.000001 1e-06 0 days 00:00:00.000000500 5e-7 ``` I am also interested in contributing and helping to fix this issue, if that is needed. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.8.4.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : Intel64 Family 6 Model 158 Stepping 9, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : Serbian (Latin)_Serbia.1250 pandas : 1.2.4 numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 20.1.1 setuptools : 47.1.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/40946/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40946/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40947
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40947/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40947/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40947/events
https://github.com/pandas-dev/pandas/pull/40947
858,026,895
MDExOlB1bGxSZXF1ZXN0NjE1MzUwMDI4
40,947
TYP use typeddict to define cssdict
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "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" }, { "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-04-14T15:45:09Z"
"2021-04-27T09:00:22Z"
"2021-04-27T08:54:41Z"
MEMBER
null
xref https://github.com/pandas-dev/pandas/pull/39942#issuecomment-783363832 - here's a solution, the [docs](https://docs.python.org/3/library/typing.html#typing.TypedDict) say that > At runtime it is a plain dict
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40947/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40947/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40947.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40947", "merged_at": "2021-04-27T08:54:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40947.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40947" }
https://api.github.com/repos/pandas-dev/pandas/issues/40948
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40948/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40948/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40948/events
https://github.com/pandas-dev/pandas/issues/40948
858,126,395
MDU6SXNzdWU4NTgxMjYzOTU=
40,948
BUG: DateOffset addition gives UserWarning: Discarding nonzero nanoseconds in conversion
{ "avatar_url": "https://avatars.githubusercontent.com/u/7232353?v=4", "events_url": "https://api.github.com/users/jherman3/events{/privacy}", "followers_url": "https://api.github.com/users/jherman3/followers", "following_url": "https://api.github.com/users/jherman3/following{/other_user}", "gists_url": "https://api.github.com/users/jherman3/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jherman3", "id": 7232353, "login": "jherman3", "node_id": "MDQ6VXNlcjcyMzIzNTM=", "organizations_url": "https://api.github.com/users/jherman3/orgs", "received_events_url": "https://api.github.com/users/jherman3/received_events", "repos_url": "https://api.github.com/users/jherman3/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jherman3/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jherman3/subscriptions", "type": "User", "url": "https://api.github.com/users/jherman3" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" }, { "color": "f2f074", "default": false, "description": "Warnings that appear or should be added to pandas", "id": 1628184320, "name": "Warnings", "node_id": "MDU6TGFiZWwxNjI4MTg0MzIw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Warnings" } ]
open
false
null
[]
null
0
"2021-04-14T17:51:14Z"
"2021-08-19T04:55:35Z"
null
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import pandas as pd print("Timedelta") print(pd.Timestamp("2020-01-01 18:00:00.000000001") + pd.Timedelta(days=1)) print("Dateoffset") print(pd.Timestamp("2020-01-01 18:00:00.000000001") + pd.DateOffset(days=1)) ``` Output: ``` $ python bug.py Timedelta 2020-01-02 18:00:00.000000001 Dateoffset sys:1: UserWarning: Discarding nonzero nanoseconds in conversion 2020-01-02 18:00:00.000000001 ``` #### Problem description This program produces correct answers in both cases, but gives a warning about discarding nanoseconds when using DateOffset. I think this is because internally it is converted to a pydatetime somewhere. The warning does not occur with Timedelta, presumably because it's just adding the raw values. #### Expected Output I expect not to get a warning ``` Timedelta 2020-01-02 18:00:00.000000001 Dateoffset 2020-01-02 18:00:00.000000001 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.9.2.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-33-generic Version : #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_US.utf8 LOCALE : en_US.UTF-8 pandas : 1.2.4 numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 49.6.0.post20210108 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/40948/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40948/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40949
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40949/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40949/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40949/events
https://github.com/pandas-dev/pandas/issues/40949
858,187,952
MDU6SXNzdWU4NTgxODc5NTI=
40,949
DOC: Fix up auto build procedure to upload Cheat Sheet to web site
{ "avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4", "events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}", "followers_url": "https://api.github.com/users/Dr-Irv/followers", "following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}", "gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Dr-Irv", "id": 15113894, "login": "Dr-Irv", "node_id": "MDQ6VXNlcjE1MTEzODk0", "organizations_url": "https://api.github.com/users/Dr-Irv/orgs", "received_events_url": "https://api.github.com/users/Dr-Irv/received_events", "repos_url": "https://api.github.com/users/Dr-Irv/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions", "type": "User", "url": "https://api.github.com/users/Dr-Irv" }
[ { "color": "75507B", "default": false, "description": "Library building on various platforms", "id": 129350, "name": "Build", "node_id": "MDU6TGFiZWwxMjkzNTA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build" }, { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "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" }, { "color": "23ef97", "default": false, "description": "pandas website", "id": 1508144531, "name": "Web", "node_id": "MDU6TGFiZWwxNTA4MTQ0NTMx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Web" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/22823026?v=4", "events_url": "https://api.github.com/users/Hallicopter/events{/privacy}", "followers_url": "https://api.github.com/users/Hallicopter/followers", "following_url": "https://api.github.com/users/Hallicopter/following{/other_user}", "gists_url": "https://api.github.com/users/Hallicopter/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Hallicopter", "id": 22823026, "login": "Hallicopter", "node_id": "MDQ6VXNlcjIyODIzMDI2", "organizations_url": "https://api.github.com/users/Hallicopter/orgs", "received_events_url": "https://api.github.com/users/Hallicopter/received_events", "repos_url": "https://api.github.com/users/Hallicopter/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Hallicopter/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Hallicopter/subscriptions", "type": "User", "url": "https://api.github.com/users/Hallicopter" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/22823026?v=4", "events_url": "https://api.github.com/users/Hallicopter/events{/privacy}", "followers_url": "https://api.github.com/users/Hallicopter/followers", "following_url": "https://api.github.com/users/Hallicopter/following{/other_user}", "gists_url": "https://api.github.com/users/Hallicopter/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Hallicopter", "id": 22823026, "login": "Hallicopter", "node_id": "MDQ6VXNlcjIyODIzMDI2", "organizations_url": "https://api.github.com/users/Hallicopter/orgs", "received_events_url": "https://api.github.com/users/Hallicopter/received_events", "repos_url": "https://api.github.com/users/Hallicopter/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Hallicopter/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Hallicopter/subscriptions", "type": "User", "url": "https://api.github.com/users/Hallicopter" }, { "avatar_url": "https://avatars.githubusercontent.com/u/23552331?v=4", "events_url": "https://api.github.com/users/trallard/events{/privacy}", "followers_url": "https://api.github.com/users/trallard/followers", "following_url": "https://api.github.com/users/trallard/following{/other_user}", "gists_url": "https://api.github.com/users/trallard/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/trallard", "id": 23552331, "login": "trallard", "node_id": "MDQ6VXNlcjIzNTUyMzMx", "organizations_url": "https://api.github.com/users/trallard/orgs", "received_events_url": "https://api.github.com/users/trallard/received_events", "repos_url": "https://api.github.com/users/trallard/repos", "site_admin": false, "starred_url": "https://api.github.com/users/trallard/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/trallard/subscriptions", "type": "User", "url": "https://api.github.com/users/trallard" } ]
{ "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-04-14T19:10:43Z"
"2021-10-18T15:16:36Z"
"2021-10-18T15:16:36Z"
CONTRIBUTOR
null
Need to fix the procedures so that the PDFs (English, Japanese) for the cheat sheet here: https://github.com/pandas-dev/pandas/tree/master/doc/cheatsheet get uploaded to here: https://pandas.pydata.org/Pandas_Cheat_Sheet.pdf (and when the Japanese one is there, can update the docs to link to it as well) Note: If we decide to move the location on the web site, then we should do a redirect, because there are links out there to the cheat sheet in the current location. Followup to discussion here: https://github.com/pandas-dev/pandas/issues/40168#issuecomment-819671740
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40949/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40949/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40950
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40950/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40950/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40950/events
https://github.com/pandas-dev/pandas/pull/40950
858,191,135
MDExOlB1bGxSZXF1ZXN0NjE1NDg2MzY4
40,950
TYP: Index.reindex
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-04-14T19:15:25Z"
"2021-04-16T01:15:17Z"
"2021-04-16T01:07:49Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40950/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40950/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40950.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40950", "merged_at": "2021-04-16T01:07:49Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40950.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40950" }
https://api.github.com/repos/pandas-dev/pandas/issues/40951
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40951/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40951/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40951/events
https://github.com/pandas-dev/pandas/issues/40951
858,210,502
MDU6SXNzdWU4NTgyMTA1MDI=
40,951
BUG: Issues with groupby ewm and times
{ "avatar_url": "https://avatars.githubusercontent.com/u/53116297?v=4", "events_url": "https://api.github.com/users/stevenschaerer/events{/privacy}", "followers_url": "https://api.github.com/users/stevenschaerer/followers", "following_url": "https://api.github.com/users/stevenschaerer/following{/other_user}", "gists_url": "https://api.github.com/users/stevenschaerer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stevenschaerer", "id": 53116297, "login": "stevenschaerer", "node_id": "MDQ6VXNlcjUzMTE2Mjk3", "organizations_url": "https://api.github.com/users/stevenschaerer/orgs", "received_events_url": "https://api.github.com/users/stevenschaerer/received_events", "repos_url": "https://api.github.com/users/stevenschaerer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stevenschaerer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stevenschaerer/subscriptions", "type": "User", "url": "https://api.github.com/users/stevenschaerer" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-04-14T19:45:33Z"
"2021-04-16T18:42:55Z"
"2021-04-16T18:42:55Z"
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [x] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example This refers to the code that is currently on **master** https://github.com/pandas-dev/pandas/commit/84d9c5ed7965b3cc667b5a3a61d5911b1748af49 (2021-04-14). The issues also exist on the latest version of pandas but are different. ```python import pandas as pd halflife = "23 days" baseline_df = pd.DataFrame( { "A": ["a", "b", "a", "b", "a", "b"], "B": [0, 0, 1, 1, 2, 2], "C": pd.to_datetime( [ "2020-01-01", "2020-01-01", "2020-01-10", "2020-01-02", "2020-01-23", "2020-01-03", ] ) } ) cython_result = baseline_df.groupby("A").ewm(halflife=halflife, times="C").mean() print("cython") print(cython_result) print("numba") numba_result = baseline_df.groupby("A").ewm(halflife=halflife, times="C").mean(engine="numba") print(numba_result) expected_result_a = pd.DataFrame([0, 1, 2]).ewm( halflife=halflife, times=pd.to_datetime(["2020-01-01", "2020-01-10", "2020-01-23"]) ).mean() expected_result_b = pd.DataFrame([0, 1, 2]).ewm( halflife=halflife, times=pd.to_datetime(["2020-01-01", "2020-01-02", "2020-01-03"]) ).mean() print("expected") print(" group a") print(expected_result_a) print(" group b") print(expected_result_b) ``` Output: <details> ```python cython B A a 0 0.000000 2 0.500000 4 1.094088 b 1 0.000000 3 0.500000 5 1.094088 numba B A a 0 0.000000 2 0.666667 4 1.428571 b 1 0.000000 3 0.666667 5 1.428571 expected group a 0 0 0.000000 1 0.567395 2 1.221209 group b 0 0 0.000000 1 0.507534 2 1.020088 ``` </details> #### Problem description There are three problems with the current groupby ewm implementation in the case of non-None times. 1. numba implementation: ignores the times 2. cython implementation: does not use the correct times/deltas in aggregations.pyx in case of multiple groups 3. if the groups are non-trivial the time vector and values become out of sync I have a branch that fixes these issues, will link to it in a bit. #### Expected Output <details> ```python cython B A a 0 0.000000 2 0.567395 4 1.221209 b 1 0.000000 3 0.507534 5 1.020088 numba B A a 0 0.000000 2 0.567395 4 1.221209 b 1 0.000000 3 0.507534 5 1.020088 expected group a 0 0 0.000000 1 0.567395 2 1.221209 group b 0 0 0.000000 1 0.507534 2 1.020088 ``` </details> #### Output of ``pd.show_versions()`` <details> </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/40951/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40951/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40952
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40952/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40952/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40952/events
https://github.com/pandas-dev/pandas/pull/40952
858,217,266
MDExOlB1bGxSZXF1ZXN0NjE1NTA4MDY0
40,952
BUG: various groupby ewm times issues
{ "avatar_url": "https://avatars.githubusercontent.com/u/53116297?v=4", "events_url": "https://api.github.com/users/stevenschaerer/events{/privacy}", "followers_url": "https://api.github.com/users/stevenschaerer/followers", "following_url": "https://api.github.com/users/stevenschaerer/following{/other_user}", "gists_url": "https://api.github.com/users/stevenschaerer/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/stevenschaerer", "id": 53116297, "login": "stevenschaerer", "node_id": "MDQ6VXNlcjUzMTE2Mjk3", "organizations_url": "https://api.github.com/users/stevenschaerer/orgs", "received_events_url": "https://api.github.com/users/stevenschaerer/received_events", "repos_url": "https://api.github.com/users/stevenschaerer/repos", "site_admin": false, "starred_url": "https://api.github.com/users/stevenschaerer/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/stevenschaerer/subscriptions", "type": "User", "url": "https://api.github.com/users/stevenschaerer" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
5
"2021-04-14T19:55:40Z"
"2021-04-16T18:43:53Z"
"2021-04-16T18:42:55Z"
CONTRIBUTOR
null
- [x] closes #40951 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40952/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40952/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40952.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40952", "merged_at": "2021-04-16T18:42:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40952.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40952" }
https://api.github.com/repos/pandas-dev/pandas/issues/40953
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40953/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40953/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40953/events
https://github.com/pandas-dev/pandas/pull/40953
858,240,018
MDExOlB1bGxSZXF1ZXN0NjE1NTI2NTc3
40,953
Clarify docs for MultiIndex drops and levels
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-14T20:29:23Z"
"2021-04-21T20:40:19Z"
"2021-04-20T22:50:55Z"
MEMBER
null
- [x] closes #36227 - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them I did something like this in the past but this got lost back then between prs.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40953/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40953/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40953.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40953", "merged_at": "2021-04-20T22:50:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40953.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40953" }
https://api.github.com/repos/pandas-dev/pandas/issues/40954
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40954/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40954/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40954/events
https://github.com/pandas-dev/pandas/pull/40954
858,269,306
MDExOlB1bGxSZXF1ZXN0NjE1NTUxMTUy
40,954
Add keyword sort to pivot_table
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-04-14T21:14:15Z"
"2021-04-21T20:40:35Z"
"2021-04-20T23:23:08Z"
MEMBER
null
- [x] closes #39143 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry This adds support for sort=False to pivot_table if we want to do this
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40954/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40954/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40954.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40954", "merged_at": "2021-04-20T23:23:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40954.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40954" }
https://api.github.com/repos/pandas-dev/pandas/issues/40955
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40955/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40955/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40955/events
https://github.com/pandas-dev/pandas/pull/40955
858,316,519
MDExOlB1bGxSZXF1ZXN0NjE1NTg5Nzk1
40,955
TYP: annotations
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-04-14T22:38:27Z"
"2021-04-16T21:22:12Z"
"2021-04-16T19:08:33Z"
MEMBER
null
getting close to ... who am i kidding, no we're not.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40955/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40955/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40955.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40955", "merged_at": "2021-04-16T19:08:33Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40955.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40955" }
https://api.github.com/repos/pandas-dev/pandas/issues/40956
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40956/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40956/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40956/events
https://github.com/pandas-dev/pandas/issues/40956
858,320,434
MDU6SXNzdWU4NTgzMjA0MzQ=
40,956
ENH: parallelize DataFrame.corr
{ "avatar_url": "https://avatars.githubusercontent.com/u/18312039?v=4", "events_url": "https://api.github.com/users/Vysybyl/events{/privacy}", "followers_url": "https://api.github.com/users/Vysybyl/followers", "following_url": "https://api.github.com/users/Vysybyl/following{/other_user}", "gists_url": "https://api.github.com/users/Vysybyl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Vysybyl", "id": 18312039, "login": "Vysybyl", "node_id": "MDQ6VXNlcjE4MzEyMDM5", "organizations_url": "https://api.github.com/users/Vysybyl/orgs", "received_events_url": "https://api.github.com/users/Vysybyl/received_events", "repos_url": "https://api.github.com/users/Vysybyl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Vysybyl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Vysybyl/subscriptions", "type": "User", "url": "https://api.github.com/users/Vysybyl" }
[ { "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": "eb6420", "default": false, "description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff", "id": 57296398, "name": "Algos", "node_id": "MDU6TGFiZWw1NzI5NjM5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos" } ]
open
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4", "events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}", "followers_url": "https://api.github.com/users/mzeitlin11/followers", "following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}", "gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mzeitlin11", "id": 37011898, "login": "mzeitlin11", "node_id": "MDQ6VXNlcjM3MDExODk4", "organizations_url": "https://api.github.com/users/mzeitlin11/orgs", "received_events_url": "https://api.github.com/users/mzeitlin11/received_events", "repos_url": "https://api.github.com/users/mzeitlin11/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions", "type": "User", "url": "https://api.github.com/users/mzeitlin11" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4", "events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}", "followers_url": "https://api.github.com/users/mzeitlin11/followers", "following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}", "gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mzeitlin11", "id": 37011898, "login": "mzeitlin11", "node_id": "MDQ6VXNlcjM3MDExODk4", "organizations_url": "https://api.github.com/users/mzeitlin11/orgs", "received_events_url": "https://api.github.com/users/mzeitlin11/received_events", "repos_url": "https://api.github.com/users/mzeitlin11/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions", "type": "User", "url": "https://api.github.com/users/mzeitlin11" } ]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
3
"2021-04-14T22:47:18Z"
"2021-07-09T06:51:17Z"
null
NONE
null
#### Is your feature request related to a problem? DataFrame.corr(method="spearman") is extremely slow. method="pearson" is quite slow too. I can see from my machine resource monitor that the implementation is single threaded. Is it a design choice? If so, there should be at least an optional argument to parallelize it (at C++ level, of course). I did not check the actual code implementing this method. #### Describe the solution you'd like scipy.stats.spearmanr implements this computation on a numpy array in 1/20 of the time in my 6-core machine. #### API breaking implications None. #### Describe alternatives you've considered Add an optional argument (ex. "parallelize"=[True, False]) so that you give the user this option. Then, the method should either be reimplemented from scratch at C++ level or we must use the existing scipy.stats function on the DataFrame.values, wrapping the returned array in a new DataFrame. #### Additional context IMPORTANT: DataFrame.corr and spearmanr gives slightly different results (some kind of small rounding error of about 10e-15) ```python import numpy as np from scipy.stats import spearmanr import pandas as pd df = pd.DataFrame(np.random.rand(1000, 2000)) pd_corr = df.corr(method='spearman') # a few seconds scipy_corr, p_value = spearmanr(df.values) # <1 sec np.equal(pd_corr.values, scipy_corr) # False np.sum(np.abs(corr_m.values - corr_m_sci) > 1e-15) # 0 ```
{ "+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/40956/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40956/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40957
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40957/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40957/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40957/events
https://github.com/pandas-dev/pandas/pull/40957
858,467,113
MDExOlB1bGxSZXF1ZXN0NjE1NzAxMDg0
40,957
REF: move union_categoricals call outside of cython
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[]
closed
false
null
[]
null
0
"2021-04-15T04:20:35Z"
"2021-04-15T15:41:29Z"
"2021-04-15T15:41:29Z"
MEMBER
null
There's no real perf bump to calling union_categoricals inside cython, better to do it in the python code where we can e.g. get the benefit of mypy. Plus gets us closer to dependency structure goals.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40957/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40957/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40957.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40957", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40957.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40957" }
https://api.github.com/repos/pandas-dev/pandas/issues/40958
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40958/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40958/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40958/events
https://github.com/pandas-dev/pandas/pull/40958
858,580,694
MDExOlB1bGxSZXF1ZXN0NjE1Nzk2MTA4
40,958
CLN: refactor tests outside of class setup in `style/test_matplotlib.py`
{ "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": "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": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-15T07:26:55Z"
"2021-04-15T21:55:44Z"
"2021-04-15T17:49:00Z"
CONTRIBUTOR
null
This is a refactor to remove the pytest class setup structure, reverting to class-less fixtures. It also parametrises some of the tests. No test is altered or removed. ``` def test_background_gradient(styler): def test_background_gradient_color(styler): def test_background_gradient_axis(styler, axis, expected): def test_text_color_threshold(cmap, expected): def test_background_gradient_vmin_vmax(): def test_background_gradient_int64(): def test_background_gradient_gmap_array(styler_blank, axis, gmap, expected): def test_background_gradient_gmap_array_raises(gmap, axis): def test_background_gradient_gmap_dataframe_align(styler_blank, gmap, subset, exp_gmap): def test_background_gradient_gmap_series_align(styler_blank, gmap, axis, exp_gmap): def test_background_gradient_gmap_wrong_dataframe(styler_blank, gmap, axis): def test_background_gradient_gmap_wrong_series(styler_blank): ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40958/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40958/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40958.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40958", "merged_at": "2021-04-15T17:49:00Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40958.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40958" }
https://api.github.com/repos/pandas-dev/pandas/issues/40959
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40959/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40959/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40959/events
https://github.com/pandas-dev/pandas/pull/40959
858,586,621
MDExOlB1bGxSZXF1ZXN0NjE1ODAxMTAy
40,959
Add 'virt' and 'group' settings for arm64-graviton2
{ "avatar_url": "https://avatars.githubusercontent.com/u/232002?v=4", "events_url": "https://api.github.com/users/martin-g/events{/privacy}", "followers_url": "https://api.github.com/users/martin-g/followers", "following_url": "https://api.github.com/users/martin-g/following{/other_user}", "gists_url": "https://api.github.com/users/martin-g/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/martin-g", "id": 232002, "login": "martin-g", "node_id": "MDQ6VXNlcjIzMjAwMg==", "organizations_url": "https://api.github.com/users/martin-g/orgs", "received_events_url": "https://api.github.com/users/martin-g/received_events", "repos_url": "https://api.github.com/users/martin-g/repos", "site_admin": false, "starred_url": "https://api.github.com/users/martin-g/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/martin-g/subscriptions", "type": "User", "url": "https://api.github.com/users/martin-g" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "c2e0c6", "default": false, "description": "aarch64 architecture", "id": 2628846204, "name": "ARM", "node_id": "MDU6TGFiZWwyNjI4ODQ2MjA0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ARM" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-04-15T07:33:27Z"
"2021-04-16T05:54:39Z"
"2021-04-15T17:27:37Z"
CONTRIBUTOR
null
https://github.com/pandas-dev/pandas/pull/40868 tried to change from `arm64` to `arm64-graviton2` but actually changed it to `amd64` because of the missing `virt` and `group` settings, as explained at https://blog.travis-ci.com/2020-09-11-arm-on-aws, section "Quick tips"
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40959/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40959/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40959.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40959", "merged_at": "2021-04-15T17:27:37Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40959.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40959" }
https://api.github.com/repos/pandas-dev/pandas/issues/40960
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40960/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40960/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40960/events
https://github.com/pandas-dev/pandas/pull/40960
858,673,299
MDExOlB1bGxSZXF1ZXN0NjE1ODc0Njk3
40,960
[ArrowStringArray] CLN: move and rename test_string_methods
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-04-15T09:11:13Z"
"2021-04-16T07:11:28Z"
"2021-04-15T17:49:44Z"
MEMBER
null
follow-up to #40708 in #40708 the str accessor was enabled and tests changed in `pandas/tests/arrays/string_/test_string.py` and `pandas/tests/strings/test_string_array.py` This PR colocates the str accessor test in `pandas/tests/arrays/string_/test_string.py` with those in `pandas/tests/strings/test_string_array.py` and renames it `test_string_methods` -> `test_capitalize`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40960/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40960/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40960.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40960", "merged_at": "2021-04-15T17:49:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40960.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40960" }
https://api.github.com/repos/pandas-dev/pandas/issues/40961
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40961/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40961/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40961/events
https://github.com/pandas-dev/pandas/pull/40961
858,735,826
MDExOlB1bGxSZXF1ZXN0NjE1OTI3NjA4
40,961
[ArrowStringArray] CLN: imports
{ "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": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-15T10:23:57Z"
"2021-04-16T07:12:17Z"
"2021-04-15T17:27:59Z"
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40961/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40961/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40961.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40961", "merged_at": "2021-04-15T17:27:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40961.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40961" }
https://api.github.com/repos/pandas-dev/pandas/issues/40962
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40962/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40962/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40962/events
https://github.com/pandas-dev/pandas/pull/40962
858,836,578
MDExOlB1bGxSZXF1ZXN0NjE2MDEzNDA3
40,962
[ArrowStringArray] API: StringArray -> ObjectStringArray
{ "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": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" }, { "color": "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
12
"2021-04-15T12:34:43Z"
"2021-07-19T18:21:37Z"
null
MEMBER
null
xref https://github.com/pandas-dev/pandas/issues/35169#issuecomment-712372349 this PR is draft as this change has not yet been discussed. (maybe could keep the StringArray the same and create a StringArrayBase instead) also probably want to do this after #39908 (which is not yet ready) and then move the common base class into a separate module along with the dtype. (this could be string_base.py or create subdir with maybe base.py, string_arrow.py and string_python.py) we should leave moving things around for a follow-up to keep the diff simpler to review. This PR could be a precusor to a follow-up to #40708 to remove duplication https://github.com/pandas-dev/pandas/pull/40708#discussion_r605106321 (or could be done with common helper function or mixin https://github.com/pandas-dev/pandas/pull/40708#discussion_r605674743) No deduplication here. just creating base class and changes to make the tests pass This is API breaking, but for experimental API, so we would probably need some documentation or add to #40747 if we do this after #39908
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40962/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40962/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40962.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40962", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40962.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40962" }
https://api.github.com/repos/pandas-dev/pandas/issues/40963
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40963/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40963/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40963/events
https://github.com/pandas-dev/pandas/pull/40963
859,072,962
MDExOlB1bGxSZXF1ZXN0NjE2MjEyNDIz
40,963
[ArrowStringArray] TST: more parameterised testing - part 4
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "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": "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-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-04-15T16:56:11Z"
"2021-04-16T07:03:33Z"
"2021-04-16T01:03:57Z"
MEMBER
null
still outstanding: `test_astype_string` in `pandas/tests/extension/base/casting.py` requires separate PR with fix `test_convert_dtypes` in `pandas/tests/frame/methods/test_convert_dtypes.py` requires discussion https://github.com/pandas-dev/pandas/pull/40747#issuecomment-812508672... probably need to include in (or follow on to #39908) to at least use the global default `test_to_html_formatters` in `pandas/tests/io/formats/test_to_html.py` paramaterisation where pd.StringArray is used directly... could potentially combine with #40962 and expose ArrowStringArray publicly the changes here to `test_repeat_with_null` need a separate PR to fix so could be excluded 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/40963/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40963/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40963.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40963", "merged_at": "2021-04-16T01:03:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40963.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40963" }
https://api.github.com/repos/pandas-dev/pandas/issues/40964
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40964/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40964/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40964/events
https://github.com/pandas-dev/pandas/pull/40964
859,079,403
MDExOlB1bGxSZXF1ZXN0NjE2MjE3ODIw
40,964
REF: move union_categoricals call outside of cython
{ "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": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-04-15T17:04:55Z"
"2021-04-28T15:54:28Z"
"2021-04-28T14:53:58Z"
MEMBER
null
There's no real perf bump to calling union_categoricals inside cython, better to do it in the python code where we can e.g. get the benefit of mypy. Plus gets us closer to dependency structure goals.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40964/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40964/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40964.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40964", "merged_at": "2021-04-28T14:53:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40964.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40964" }
https://api.github.com/repos/pandas-dev/pandas/issues/40965
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40965/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40965/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40965/events
https://github.com/pandas-dev/pandas/issues/40965
859,108,942
MDU6SXNzdWU4NTkxMDg5NDI=
40,965
DOC: CSS in new doc theme truncates Series table rows.
{ "avatar_url": "https://avatars.githubusercontent.com/u/403865?v=4", "events_url": "https://api.github.com/users/muraii/events{/privacy}", "followers_url": "https://api.github.com/users/muraii/followers", "following_url": "https://api.github.com/users/muraii/following{/other_user}", "gists_url": "https://api.github.com/users/muraii/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/muraii", "id": 403865, "login": "muraii", "node_id": "MDQ6VXNlcjQwMzg2NQ==", "organizations_url": "https://api.github.com/users/muraii/orgs", "received_events_url": "https://api.github.com/users/muraii/received_events", "repos_url": "https://api.github.com/users/muraii/repos", "site_admin": false, "starred_url": "https://api.github.com/users/muraii/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/muraii/subscriptions", "type": "User", "url": "https://api.github.com/users/muraii" }
[ { "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": "23ef97", "default": false, "description": "pandas website", "id": 1508144531, "name": "Web", "node_id": "MDU6TGFiZWwxNTA4MTQ0NTMx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Web" } ]
open
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
3
"2021-04-15T17:45:48Z"
"2021-10-14T15:54:31Z"
null
NONE
null
#### Location of the documentation https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.html #### Documentation problem System: ``` Windows 10 10.0.18363 Build 18363 Firefox 78.9esr (64-bit) Chrome 89.0.4389.128 (Official Build) (64-bit) MS Edge 89.0.774.75 (Official build) (64-bit) Resolution: 1920x1080 ``` The `main` element on the page referenced renders too narrowly. This truncates longer entries. ![image](https://user-images.githubusercontent.com/403865/114914259-52f52f00-9ddf-11eb-9ccc-666404c1264a.png) #### Suggested fix for documentation The definition for the `main` element is as follows: ``` <main class="col-12 col-md-9 col-xl-7 py-md-5 pl-md-5 pr-md-4 bd-content" role="main"> ``` Adjusting the flex breakpoint `col-xl` to use eight columns provides enough space for the content. ``` <main class="col-12 col-md-9 col-xl-8 py-md-5 pl-md-5 pr-md-4 bd-content" role="main"> ``` ![image](https://user-images.githubusercontent.com/403865/114914525-a10a3280-9ddf-11eb-91a9-e4bf147dcd87.png) It might be that an `overflow` declaration would work, but this seems straightforward and there seems to be room on the right of the page. Of course I don't know how this change would cascade.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40965/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40965/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40966
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40966/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40966/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40966/events
https://github.com/pandas-dev/pandas/issues/40966
859,173,309
MDU6SXNzdWU4NTkxNzMzMDk=
40,966
BUG: ewm not working properly with times
{ "avatar_url": "https://avatars.githubusercontent.com/u/17277714?v=4", "events_url": "https://api.github.com/users/deepers/events{/privacy}", "followers_url": "https://api.github.com/users/deepers/followers", "following_url": "https://api.github.com/users/deepers/following{/other_user}", "gists_url": "https://api.github.com/users/deepers/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/deepers", "id": 17277714, "login": "deepers", "node_id": "MDQ6VXNlcjE3Mjc3NzE0", "organizations_url": "https://api.github.com/users/deepers/orgs", "received_events_url": "https://api.github.com/users/deepers/received_events", "repos_url": "https://api.github.com/users/deepers/repos", "site_admin": false, "starred_url": "https://api.github.com/users/deepers/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/deepers/subscriptions", "type": "User", "url": "https://api.github.com/users/deepers" }
[ { "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": "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" }, { "color": "cdea3c", "default": false, "description": "Unit test(s) needed to prevent regressions", "id": 986278782, "name": "Needs Tests", "node_id": "MDU6TGFiZWw5ODYyNzg3ODI=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests" }, { "color": "d4c5f9", "default": false, "description": "rolling, ewma, expanding", "id": 1045950827, "name": "Window", "node_id": "MDU6TGFiZWwxMDQ1OTUwODI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window" } ]
closed
false
null
[]
null
3
"2021-04-15T19:10:28Z"
"2021-04-18T05:49:30Z"
"2021-04-18T05:49:29Z"
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample ```python import numpy as np import pandas as pd print('Example 1') df1 = pd.DataFrame(dict(x=[1, 2], t=[np.datetime64(1, 's'), np.datetime64(3, 's')])) ewm1 = df1.ewm(halflife='1s', times='t').mean()['x'] ewm2 = df1.ewm(halflife='1s', times='t')['x'].mean() print(df1, ewm1, ewm2, sep=2 * '\n') print('\n\nExample 2') df2 = pd.concat([df1, df1], keys=['a', 'b'], names=['group', None]) ewm3 = (df2 .groupby('group', group_keys=False) .ewm(halflife='1s', times='t') .mean()) print(df2, ewm3, sep=2 * '\n') ``` #### Problem description This code computes a rolling EWM of a two element time series `[1, 2]` with a one second half life, assuming two seconds between the data points. You get different answers depending on how you do the computation. The output I get is the following. ``` Example 1 x t 0 1 1970-01-01 00:00:01 1 2 1970-01-01 00:00:03 0 1.0 1 1.8 Name: x, dtype: float64 0 1.0 1 2.0 Name: x, dtype: float64 Example 2 x t group a 0 1 1970-01-01 00:00:01 1 2 1970-01-01 00:00:03 b 0 1 1970-01-01 00:00:01 1 2 1970-01-01 00:00:03 x group a 0 1.0 1 2.0 b 0 1.0 1 2.0 ``` I would have thought that `ewm1` and `ewm2` should the same, but to me it looks like `ewm2` is incorrect. Also when you combine `ewm()` with `groupby()`, it looks like you get the same wrong answer in `ewm3` as in `ewm2`. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.8.8.final.0 python-bits : 64 OS : Linux OS-release : 4.9.0-15-amd64 Version : #1 SMP Debian 4.9.258-1 (2021-03-08) machine : x86_64 processor : byteorder : little LC_ALL : None LANG : en_CA.UTF-8 LOCALE : en_CA.UTF-8 pandas : 1.2.4 numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 54.1.2 Cython : None pytest : 6.2.3 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : 1.3.9 lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 2.11.3 IPython : 7.22.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : 0.5.0 gcsfs : None matplotlib : 3.4.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 3.0.0 pyxlsb : None s3fs : None scipy : 1.6.2 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 2.0.1 xlwt : None numba : 0.53.1 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40966/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40966/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40967
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40967/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40967/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40967/events
https://github.com/pandas-dev/pandas/pull/40967
859,221,781
MDExOlB1bGxSZXF1ZXN0NjE2MzM4NTky
40,967
TST: Add test for union with duplicates
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-04-15T20:24:41Z"
"2021-04-21T20:40:26Z"
"2021-04-20T22:51:39Z"
MEMBER
null
- [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40967/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40967/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40967.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40967", "merged_at": "2021-04-20T22:51:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40967.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40967" }
https://api.github.com/repos/pandas-dev/pandas/issues/40968
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40968/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40968/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40968/events
https://github.com/pandas-dev/pandas/pull/40968
859,240,552
MDExOlB1bGxSZXF1ZXN0NjE2MzU0MzQw
40,968
CLN: de-duplicate reindex/align code
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-04-15T20:54:49Z"
"2021-04-16T01:14:56Z"
"2021-04-16T01:09:45Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40968/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40968/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40968.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40968", "merged_at": "2021-04-16T01:09:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40968.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40968" }
https://api.github.com/repos/pandas-dev/pandas/issues/40969
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40969/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40969/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40969/events
https://github.com/pandas-dev/pandas/pull/40969
859,438,597
MDExOlB1bGxSZXF1ZXN0NjE2NTE5Mzc5
40,969
Updated qcut for Float64DType Issue #40730
{ "avatar_url": "https://avatars.githubusercontent.com/u/10372220?v=4", "events_url": "https://api.github.com/users/taytzehao/events{/privacy}", "followers_url": "https://api.github.com/users/taytzehao/followers", "following_url": "https://api.github.com/users/taytzehao/following{/other_user}", "gists_url": "https://api.github.com/users/taytzehao/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/taytzehao", "id": 10372220, "login": "taytzehao", "node_id": "MDQ6VXNlcjEwMzcyMjIw", "organizations_url": "https://api.github.com/users/taytzehao/orgs", "received_events_url": "https://api.github.com/users/taytzehao/received_events", "repos_url": "https://api.github.com/users/taytzehao/repos", "site_admin": false, "starred_url": "https://api.github.com/users/taytzehao/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/taytzehao/subscriptions", "type": "User", "url": "https://api.github.com/users/taytzehao" }
[ { "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": "9aace2", "default": false, "description": "cut, qcut", "id": 1639305834, "name": "cut", "node_id": "MDU6TGFiZWwxNjM5MzA1ODM0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/cut" }, { "color": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
6
"2021-04-16T04:14:58Z"
"2021-04-26T12:04:23Z"
"2021-04-26T12:04:15Z"
CONTRIBUTOR
null
This PR is used to address #40730 . qcut is now able to support both intdtype and floatdtype
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40969/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40969/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40969.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40969", "merged_at": "2021-04-26T12:04:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40969.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40969" }
https://api.github.com/repos/pandas-dev/pandas/issues/40970
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40970/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40970/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40970/events
https://github.com/pandas-dev/pandas/pull/40970
859,501,089
MDExOlB1bGxSZXF1ZXN0NjE2NTcyMTk4
40,970
BUG: Fix pd.read_orc raising AttributeError
{ "avatar_url": "https://avatars.githubusercontent.com/u/16681550?v=4", "events_url": "https://api.github.com/users/amznero/events{/privacy}", "followers_url": "https://api.github.com/users/amznero/followers", "following_url": "https://api.github.com/users/amznero/following{/other_user}", "gists_url": "https://api.github.com/users/amznero/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/amznero", "id": 16681550, "login": "amznero", "node_id": "MDQ6VXNlcjE2NjgxNTUw", "organizations_url": "https://api.github.com/users/amznero/orgs", "received_events_url": "https://api.github.com/users/amznero/received_events", "repos_url": "https://api.github.com/users/amznero/repos", "site_admin": false, "starred_url": "https://api.github.com/users/amznero/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/amznero/subscriptions", "type": "User", "url": "https://api.github.com/users/amznero" }
[ { "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" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-04-16T06:25:47Z"
"2021-04-25T02:41:50Z"
"2021-04-21T12:41:03Z"
CONTRIBUTOR
null
- [x] closes #40918 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry --- I am not sure if this is a reasonable solution. Cause If users install PyArrow from PyPI on MacOS or Win10(works fine on Linux), it will always raise an `AttributeError` exception. Should we add some operating system requirments to `pd.read_orc`? ([Related to PyArrow's JIRA #7811](https://issues.apache.org/jira/browse/ARROW-7811)).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40970/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40970/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40970.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40970", "merged_at": "2021-04-21T12:41:02Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40970.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40970" }
https://api.github.com/repos/pandas-dev/pandas/issues/40971
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40971/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40971/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40971/events
https://github.com/pandas-dev/pandas/issues/40971
859,502,471
MDU6SXNzdWU4NTk1MDI0NzE=
40,971
API: `Series.quantile` and `DataFrame.quantile` should have consistent arguments
{ "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": "b60205", "default": false, "description": "Internal Consistency of API/Behavior", "id": 1741841389, "name": "API - Consistency", "node_id": "MDU6TGFiZWwxNzQxODQxMzg5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency" } ]
closed
false
null
[]
null
1
"2021-04-16T06:27:58Z"
"2021-04-16T06:45:46Z"
"2021-04-16T06:45:46Z"
CONTRIBUTOR
null
`DataFrame.quantile` has a `numeric_only` keyword argument, and extends the calculation to timedelta and timestamp (not sure why str is not also included, I would suggest that a non-numeric element would typically include a string) `Series.quantile` does not have the `numeric_only` keyword argument, and obviously doesn't work with the above dtypes. The work around is to convert the Series to DataFrame and extract the leading column of results.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40971/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40971/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40972
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40972/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40972/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40972/events
https://github.com/pandas-dev/pandas/issues/40972
859,585,917
MDU6SXNzdWU4NTk1ODU5MTc=
40,972
DOC: Improve describe() doc in getting started
{ "avatar_url": "https://avatars.githubusercontent.com/u/5729076?v=4", "events_url": "https://api.github.com/users/NicoLoco/events{/privacy}", "followers_url": "https://api.github.com/users/NicoLoco/followers", "following_url": "https://api.github.com/users/NicoLoco/following{/other_user}", "gists_url": "https://api.github.com/users/NicoLoco/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/NicoLoco", "id": 5729076, "login": "NicoLoco", "node_id": "MDQ6VXNlcjU3MjkwNzY=", "organizations_url": "https://api.github.com/users/NicoLoco/orgs", "received_events_url": "https://api.github.com/users/NicoLoco/received_events", "repos_url": "https://api.github.com/users/NicoLoco/repos", "site_admin": false, "starred_url": "https://api.github.com/users/NicoLoco/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/NicoLoco/subscriptions", "type": "User", "url": "https://api.github.com/users/NicoLoco" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
{ "avatar_url": "https://avatars.githubusercontent.com/u/13381361?v=4", "events_url": "https://api.github.com/users/Bharat123rox/events{/privacy}", "followers_url": "https://api.github.com/users/Bharat123rox/followers", "following_url": "https://api.github.com/users/Bharat123rox/following{/other_user}", "gists_url": "https://api.github.com/users/Bharat123rox/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Bharat123rox", "id": 13381361, "login": "Bharat123rox", "node_id": "MDQ6VXNlcjEzMzgxMzYx", "organizations_url": "https://api.github.com/users/Bharat123rox/orgs", "received_events_url": "https://api.github.com/users/Bharat123rox/received_events", "repos_url": "https://api.github.com/users/Bharat123rox/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Bharat123rox/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Bharat123rox/subscriptions", "type": "User", "url": "https://api.github.com/users/Bharat123rox" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/13381361?v=4", "events_url": "https://api.github.com/users/Bharat123rox/events{/privacy}", "followers_url": "https://api.github.com/users/Bharat123rox/followers", "following_url": "https://api.github.com/users/Bharat123rox/following{/other_user}", "gists_url": "https://api.github.com/users/Bharat123rox/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Bharat123rox", "id": 13381361, "login": "Bharat123rox", "node_id": "MDQ6VXNlcjEzMzgxMzYx", "organizations_url": "https://api.github.com/users/Bharat123rox/orgs", "received_events_url": "https://api.github.com/users/Bharat123rox/received_events", "repos_url": "https://api.github.com/users/Bharat123rox/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Bharat123rox/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Bharat123rox/subscriptions", "type": "User", "url": "https://api.github.com/users/Bharat123rox" } ]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-04-16T08:18:19Z"
"2021-04-20T04:26:46Z"
"2021-04-20T04:26:26Z"
NONE
null
In the "getting started tutorial" here: https://pandas.pydata.org/docs/getting_started/intro_tutorials/01_table_oriented.html The following sentence is incorrect Many pandas operations return a DataFrame or a Series. The describe() method is an example of a pandas operation returning a pandas **Series**. It should say "The describe() method is an example of a pandas operation returning a pandas **DataFrame**" Steps to reproduce >>> import pandas as pd >>> df = pd.DataFrame({ ... "Name" : ["Ally", "Bob", "Charly"], ... "Age" : [15,25,36], ... "Cash": [1000,5000, 20000]}); >>> d = df.describe() >>> type(d) <class 'pandas.core.frame.DataFrame'>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40972/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40972/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40973
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40973/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40973/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40973/events
https://github.com/pandas-dev/pandas/pull/40973
859,656,543
MDExOlB1bGxSZXF1ZXN0NjE2Njk4NjM5
40,973
STYLE, TYP Turn black formatter off for overloads
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
null
5
"2021-04-16T09:48:37Z"
"2021-04-25T19:43:53Z"
"2021-04-25T19:41:22Z"
MEMBER
null
Following on from the monthly meeting's discussion, some things were suggested: - turning off the black formatter for the overloads, keeping them in `.py` files (what I've done here) - moving overloads to `.pyi` files, writing a script to keep them in sync (I tried that this, and it seems that `mypy` behaves a bit differently with a `.pyi` file than it does with a `.py` file - will look into this more closely, but it'll take more time) - keeping overloads out of `.py` files and "injecting" them before running `mypy` via a script - IMO this might be slightly disruptive to the usual workflow of just running `mypy pandas`, but other than that seems like a potentially good idea - doing away with overloads, and just using `cast` and `assert` - TBH this strikes me as more error-prone, and if pandas will expose types to users, then I think it'd be better to have the correct type revealed rather than having them do `cast` / `assert` Even if `inplace` is removed in version 2, there are other places in the codebase where there's a parameter which changes the return type, so I do think finding a solution here is worthwhile. For now, I've gone with the first solution, though I will give some more thought to the second one
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40973/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40973/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40973.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40973", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40973.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40973" }
https://api.github.com/repos/pandas-dev/pandas/issues/40974
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40974/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40974/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40974/events
https://github.com/pandas-dev/pandas/issues/40974
859,666,824
MDU6SXNzdWU4NTk2NjY4MjQ=
40,974
TYP final `_take_with_is_copy` is overridden in series
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "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" }, { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
null
2
"2021-04-16T10:01:41Z"
"2021-04-19T17:22:28Z"
"2021-04-19T17:22:28Z"
MEMBER
null
This method is declared as `final`: https://github.com/pandas-dev/pandas/blob/526d52f91ee06ba9134762373ab3a0bb38395d8a/pandas/core/generic.py#L3629-L3630 It's then overridden in `series`: https://github.com/pandas-dev/pandas/blob/526d52f91ee06ba9134762373ab3a0bb38395d8a/pandas/core/series.py#L866 The reason `mypy` doesn't detect this failure is that the override in `series` in untyped, and so `mypy` doesn't check it --- @jbrockmendel do you know which one is correct? Remove `final` or remove the override?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40974/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40974/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40975
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40975/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40975/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40975/events
https://github.com/pandas-dev/pandas/pull/40975
859,681,865
MDExOlB1bGxSZXF1ZXN0NjE2NzE5ODc1
40,975
TYP add some missing types to series
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
null
1
"2021-04-16T10:21:50Z"
"2021-04-16T17:31:23Z"
"2021-04-16T16:54:14Z"
MEMBER
null
Noticed this while working on #40973 Those without any types won't be checked by `mypy` e.g.: ```console $ cat t.py from typing import final class Foo: @final def foo(x) -> None: pass class Bar(Foo): def foo(x): pass $ mypy t.py Success: no issues found in 1 source file ``` Adding in `-> None`: ```console $ cat t.py from typing import final class Foo: @final def foo(x) -> None: pass class Bar(Foo): def foo(x) -> None: pass $ mypy t.py t.py:9: error: Cannot override final attribute "foo" (previously declared in base class "Foo") [misc] Found 1 error in 1 file (checked 1 source file) ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40975/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40975/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40975.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40975", "merged_at": "2021-04-16T16:54:14Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40975.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40975" }
https://api.github.com/repos/pandas-dev/pandas/issues/40976
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40976/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40976/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40976/events
https://github.com/pandas-dev/pandas/issues/40976
859,693,830
MDU6SXNzdWU4NTk2OTM4MzA=
40,976
BUG: Read Excel Unnamed Empty Columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/59920376?v=4", "events_url": "https://api.github.com/users/akald/events{/privacy}", "followers_url": "https://api.github.com/users/akald/followers", "following_url": "https://api.github.com/users/akald/following{/other_user}", "gists_url": "https://api.github.com/users/akald/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/akald", "id": 59920376, "login": "akald", "node_id": "MDQ6VXNlcjU5OTIwMzc2", "organizations_url": "https://api.github.com/users/akald/orgs", "received_events_url": "https://api.github.com/users/akald/received_events", "repos_url": "https://api.github.com/users/akald/repos", "site_admin": false, "starred_url": "https://api.github.com/users/akald/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/akald/subscriptions", "type": "User", "url": "https://api.github.com/users/akald" }
[ { "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": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" }, { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
closed
false
null
[]
null
2
"2021-04-16T10:38:28Z"
"2021-04-25T17:48:20Z"
"2021-04-25T17:48:20Z"
NONE
null
Before I upgraded to Pandas v1.2.3, read_excel would sometimes create empty columns, titled "Unnamed: x". But after upgrading, it always creates empty unnamed columns and several of them. It seems like there should be a default such that empty columns that Pandas wants to call Unnamed don't show when reading in Excel. Or that the read excel reverts to the old version (pre v1.2.3) where it wasn't as bad and unnamed empty columns weren't always being created.
{ "+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/40976/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40976/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40977
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40977/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40977/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40977/events
https://github.com/pandas-dev/pandas/issues/40977
859,749,088
MDU6SXNzdWU4NTk3NDkwODg=
40,977
TYP: Signature of "rename" incompatible with supertype "NDFrame"
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "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" }, { "color": "e99695", "default": false, "description": "", "id": 3498152761, "name": "rename", "node_id": "LA_kwDOAA0YD87QgZM5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/rename" } ]
open
false
null
[]
null
0
"2021-04-16T12:00:07Z"
"2021-10-29T02:14:39Z"
null
MEMBER
null
This isn't currently detected as `Series.rename` is untyped and so is unchecked
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40977/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40977/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40978
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40978/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40978/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40978/events
https://github.com/pandas-dev/pandas/issues/40978
859,756,284
MDU6SXNzdWU4NTk3NTYyODQ=
40,978
BUG: slicing a MultiIndex does not preserve the sequence of the index since pandas 1.2.0rc0
{ "avatar_url": "https://avatars.githubusercontent.com/u/5902745?v=4", "events_url": "https://api.github.com/users/johannes-mueller/events{/privacy}", "followers_url": "https://api.github.com/users/johannes-mueller/followers", "following_url": "https://api.github.com/users/johannes-mueller/following{/other_user}", "gists_url": "https://api.github.com/users/johannes-mueller/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/johannes-mueller", "id": 5902745, "login": "johannes-mueller", "node_id": "MDQ6VXNlcjU5MDI3NDU=", "organizations_url": "https://api.github.com/users/johannes-mueller/orgs", "received_events_url": "https://api.github.com/users/johannes-mueller/received_events", "repos_url": "https://api.github.com/users/johannes-mueller/repos", "site_admin": false, "starred_url": "https://api.github.com/users/johannes-mueller/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/johannes-mueller/subscriptions", "type": "User", "url": "https://api.github.com/users/johannes-mueller" }
[ { "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": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
6
"2021-04-16T12:10:23Z"
"2021-05-26T02:04:15Z"
"2021-05-26T02:04:15Z"
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- Between 1.1.5 and 1.2.0rc2 the behavior of slicing MultiIndexes has changed. Up to 1.1.5 slicing a MultiIndex like `df.loc[(slice(None), somel_items), :]` preserved the sequence of the sliced `DataFrame`. From 1.2.0rc0 the sequence is changed. #### Code Sample ```python import pandas as pd print("pandas version %s" % pd.__version__) index = pd.MultiIndex.from_tuples([(1, 1), (1, 2), (1, 7), (1, 6), (2, 2), (2, 3), (2, 8), (2, 7)]) all_items = index.get_level_values(1) # all items from level 1 df = pd.DataFrame({'x': range(8)}, index=index) df_sliced = df.loc[(slice(None), all_items), :] # df_sliced, should be identical with df, as all_items contains all items from level 1 print(df_sliced) pd.testing.assert_frame_equal(df, df_sliced) # works if and only if pd.__version__ < 1.2.0rc0 print("Success") ``` #### Problem description Running the sample code in 1.1.5 gives the following output: ``` pandas version 1.1.5 x 1 1 0 2 1 7 2 6 3 2 2 4 3 5 8 6 7 7 Success ``` whereas in 1.2.4 it gives ``` pandas version 1.2.4 x 1 1 0 6 3 2 1 2 2 4 3 5 8 6 1 7 2 2 7 7 Traceback (most recent call last): File "tmp/pandas_demo.py", line 19, in <module> pd.testing.assert_frame_equal(df, df_sliced) File "/home/jmu3si/Devel/pylife/.venv/lib/python3.8/site-packages/pandas/_testing.py", line 1657, in assert_frame_equal assert_index_equal( File "/home/jmu3si/Devel/pylife/.venv/lib/python3.8/site-packages/pandas/_testing.py", line 805, in assert_index_equal assert_index_equal( File "/home/jmu3si/Devel/pylife/.venv/lib/python3.8/site-packages/pandas/_testing.py", line 825, in assert_index_equal _testing.assert_almost_equal( File "pandas/_libs/testing.pyx", line 46, in pandas._libs.testing.assert_almost_equal File "pandas/_libs/testing.pyx", line 161, in pandas._libs.testing.assert_almost_equal File "/home/jmu3si/Devel/pylife/.venv/lib/python3.8/site-packages/pandas/_testing.py", line 1073, in raise_assert_detail raise AssertionError(msg) AssertionError: MultiIndex level [0] are different MultiIndex level [0] values are different (25.0 %) [left]: Int64Index([1, 1, 1, 1, 2, 2, 2, 2], dtype='int64') [right]: Int64Index([1, 1, 1, 2, 2, 2, 1, 2], dtype='int64') ``` I am not sure if this is necessarily a problem, I stumbled across it because a test suite that used `pd.testing.assert_frame_equal()` failed due to this. So either the actual sequence should be preserved when slicing a `DataFrame` or `pd.testing.assert_frame_equal()` should not fail if the sequence is shuffled (but the index is correct). #### Expected Output As discussed above. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.8.5.final.0 python-bits : 64 OS : Linux OS-release : 5.4.0-71-lowlatency Version : #79-Ubuntu SMP PREEMPT Wed Mar 24 12:38:51 UTC 2021 machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : de_DE.UTF-8 LOCALE : de_DE.UTF-8 pandas : 1.2.4 (resp. 1.1.5) numpy : 1.20.2 pytz : 2021.1 dateutil : 2.8.1 pip : 20.2.4 setuptools : 50.3.0.post20201006 Cython : 0.29.23 pytest : 6.2.3 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 : 3.4.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.2 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/40978/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40978/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40979
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40979/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40979/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40979/events
https://github.com/pandas-dev/pandas/pull/40979
859,858,001
MDExOlB1bGxSZXF1ZXN0NjE2ODY4OTIx
40,979
TYP: Signature of "rename" incompatible with supertype "NDFrame"
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "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" }, { "color": "78bced", "default": false, "description": "Waiting for review/response from a maintainer.", "id": 2324533627, "name": "Needs Review", "node_id": "MDU6TGFiZWwyMzI0NTMzNjI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Review" } ]
open
false
null
[]
null
6
"2021-04-16T14:17:39Z"
"2021-11-16T17:31:13Z"
null
MEMBER
null
- [x] closes #40977 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry --- @WillAyd this should still be backwards compatible, it just makes the signature compatible with its parent's
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40979/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40979/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40979.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40979", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40979.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40979" }
https://api.github.com/repos/pandas-dev/pandas/issues/40980
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40980/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40980/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40980/events
https://github.com/pandas-dev/pandas/issues/40980
859,862,871
MDU6SXNzdWU4NTk4NjI4NzE=
40,980
TYP: Signature of "reindex" incompatible with supertype "NDFrame"
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
open
false
null
[]
null
0
"2021-04-16T14:23:04Z"
"2021-04-16T14:23:04Z"
null
MEMBER
null
same story as #40977
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40980/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40980/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40981
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40981/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40981/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40981/events
https://github.com/pandas-dev/pandas/pull/40981
859,871,872
MDExOlB1bGxSZXF1ZXN0NjE2ODgwNDg1
40,981
TST: use expected_html for to_html tests
{ "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": "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" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-16T14:33:54Z"
"2021-04-16T16:03:33Z"
"2021-04-16T15:57:20Z"
MEMBER
null
xref https://github.com/pandas-dev/pandas/pull/40850#discussion_r611022208
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40981/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40981/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40981.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40981", "merged_at": "2021-04-16T15:57:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40981.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40981" }
https://api.github.com/repos/pandas-dev/pandas/issues/40982
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40982/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40982/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40982/events
https://github.com/pandas-dev/pandas/pull/40982
859,891,898
MDExOlB1bGxSZXF1ZXN0NjE2ODk3MDM3
40,982
REF: enforce annotation in maybe_downcast_to_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": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-16T14:57:25Z"
"2021-04-16T21:25:37Z"
"2021-04-16T19:02:10Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40982/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40982/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40982.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40982", "merged_at": "2021-04-16T19:02:10Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40982.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40982" }
https://api.github.com/repos/pandas-dev/pandas/issues/40983
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40983/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40983/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40983/events
https://github.com/pandas-dev/pandas/issues/40983
859,893,020
MDU6SXNzdWU4NTk4OTMwMjA=
40,983
BUG: module 'calendar' has no attribute 'day_abbr'
{ "avatar_url": "https://avatars.githubusercontent.com/u/29676285?v=4", "events_url": "https://api.github.com/users/antoscha/events{/privacy}", "followers_url": "https://api.github.com/users/antoscha/followers", "following_url": "https://api.github.com/users/antoscha/following{/other_user}", "gists_url": "https://api.github.com/users/antoscha/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/antoscha", "id": 29676285, "login": "antoscha", "node_id": "MDQ6VXNlcjI5Njc2Mjg1", "organizations_url": "https://api.github.com/users/antoscha/orgs", "received_events_url": "https://api.github.com/users/antoscha/received_events", "repos_url": "https://api.github.com/users/antoscha/repos", "site_admin": false, "starred_url": "https://api.github.com/users/antoscha/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/antoscha/subscriptions", "type": "User", "url": "https://api.github.com/users/antoscha" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" } ]
closed
false
null
[]
null
3
"2021-04-16T14:58:46Z"
"2021-04-16T20:04:48Z"
"2021-04-16T20:04:47Z"
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- #### Code Sample, a copy-pastable example ```python import pandas ``` #### Problem description ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.9/site-packages/pandas/__init__.py", line 29, in <module> from pandas._libs import hashtable as _hashtable, lib as _lib, tslib as _tslib File "/usr/lib/python3.9/site-packages/pandas/_libs/__init__.py", line 13, in <module> from pandas._libs.interval import Interval File "pandas/_libs/interval.pyx", line 1, in init pandas._libs.interval File "/usr/lib/python3.9/site-packages/pandas/_libs/tslibs/__init__.py", line 30, in <module> from .conversion import OutOfBoundsTimedelta, localize_pydatetime File "pandas/_libs/tslibs/conversion.pyx", line 58, in init pandas._libs.tslibs.conversion File "pandas/_libs/tslibs/parsing.pyx", line 1, in init pandas._libs.tslibs.parsing File "pandas/_libs/tslibs/offsets.pyx", line 1, in init pandas._libs.tslibs.offsets File "pandas/_libs/tslibs/timestamps.pyx", line 47, in init pandas._libs.tslibs.timestamps File "pandas/_libs/tslibs/fields.pyx", line 40, in init pandas._libs.tslibs.fields File "pandas/_libs/tslibs/strptime.pyx", line 627, in init pandas._libs.tslibs.strptime File "pandas/_libs/tslibs/strptime.pyx", line 532, in pandas._libs.tslibs.strptime.TimeRE.__init__ File "pandas/_libs/tslibs/strptime.pyx", line 408, in pandas._libs.tslibs.strptime.LocaleTime.__init__ File "pandas/_libs/tslibs/strptime.pyx", line 428, in pandas._libs.tslibs.strptime.LocaleTime.__calc_weekday AttributeError: module 'calendar' has no attribute 'day_abbr' ``` Also I have built the latest 1.2.4 and the bug persists. #### Expected Output No output, successful import <details> $ pacman -Qi python-pandas [17:56:31] Name : python-pandas Version : 1.2.3-1 Description : High-performance, easy-to-use data structures and data analysis tools for Python Architecture : x86_64 URL : https://pandas.pydata.org/ Licenses : BSD Groups : None Provides : None Depends On : python-numpy python-dateutil python-pytz python-setuptools Optional Deps : python-pandas-datareader: pandas.io.data replacement (recommended) [installed] python-numexpr: needed for accelerating certain numerical operations (recommended) python-bottleneck: needed for accelerating certain types of nan evaluations (recommended) python-beautifulsoup4: needed for read_html function [installed] python-jinja: needed for conditional HTML formatting [installed] python-pyqt5: needed for read_clipboard function (only one needed) [installed] python-pytables: needed for HDF5-based storage python-sqlalchemy: needed for SQL database support [installed] python-scipy: needed for miscellaneous statistical functions [installed] python-xlsxwriter: alternative Excel XLSX output [installed] python-blosc: for msgpack compression using blosc python-html5lib: needed for read_hmlt function (and/or python-lxml) [installed] python-lxml: needed for read_html function (and/or python-html5lib) [installed] python-matplotlib: needed for plotting [installed] python-openpyxl: needed for Excel XLSX input/output [installed] python-psycopg2: needed for PostgreSQL engine for sqlalchemy [installed] python-pymysql: needed for MySQL engine for sqlalchemy python-qtpy: needed for read_clipboard function (only one needed) python-tabulate: needed for printing in Markdown-friendly format [installed] python-fsspec: needed for handling files aside from local and HTTP xclip: needed for read_clipboard function (only one needed) [installed] python-xlrd: needed for Excel XLS input [installed] python-xlwt: needed for Excel XLS output [installed] xsel: needed for read_clipboard function (only one needed) zlib: needed for compression for msgpack [installed] Required By : python-arch python-pandas-datareader python-pyportfolioopt-git python-statsmodels Optional For : python-cclib python-openpyxl python-tabulate Conflicts With : None Replaces : None Installed Size : 55.24 MiB Packager : Morten Linderud <[email protected]> Build Date : Thu 11 Mar 2021 01:24:21 Install Date : Fri 16 Apr 2021 17:56:31 Install Reason : Explicitly installed Install Script : No Validated By : Signature </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/40983/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40983/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40984
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40984/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40984/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40984/events
https://github.com/pandas-dev/pandas/pull/40984
859,940,139
MDExOlB1bGxSZXF1ZXN0NjE2OTM1ODE1
40,984
TYP: Signature of "reindex" incompatible with supertype "NDFrame"
{ "avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4", "events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}", "followers_url": "https://api.github.com/users/MarcoGorelli/followers", "following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}", "gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/MarcoGorelli", "id": 33491632, "login": "MarcoGorelli", "node_id": "MDQ6VXNlcjMzNDkxNjMy", "organizations_url": "https://api.github.com/users/MarcoGorelli/orgs", "received_events_url": "https://api.github.com/users/MarcoGorelli/received_events", "repos_url": "https://api.github.com/users/MarcoGorelli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions", "type": "User", "url": "https://api.github.com/users/MarcoGorelli" }
[ { "color": "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" }, { "color": "78bced", "default": false, "description": "Waiting for review/response from a maintainer.", "id": 2324533627, "name": "Needs Review", "node_id": "MDU6TGFiZWwyMzI0NTMzNjI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Review" } ]
open
false
null
[]
null
3
"2021-04-16T15:46:51Z"
"2021-11-16T17:29:37Z"
null
MEMBER
null
- [ ] closes #40980 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40984/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40984/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40984.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40984", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40984.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40984" }
https://api.github.com/repos/pandas-dev/pandas/issues/40985
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40985/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40985/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40985/events
https://github.com/pandas-dev/pandas/pull/40985
860,004,944
MDExOlB1bGxSZXF1ZXN0NjE2OTg3MTA3
40,985
DOC: Reindexing behaviour of dataframe column-assignment missing
{ "avatar_url": "https://avatars.githubusercontent.com/u/42876297?v=4", "events_url": "https://api.github.com/users/hewittk/events{/privacy}", "followers_url": "https://api.github.com/users/hewittk/followers", "following_url": "https://api.github.com/users/hewittk/following{/other_user}", "gists_url": "https://api.github.com/users/hewittk/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hewittk", "id": 42876297, "login": "hewittk", "node_id": "MDQ6VXNlcjQyODc2Mjk3", "organizations_url": "https://api.github.com/users/hewittk/orgs", "received_events_url": "https://api.github.com/users/hewittk/received_events", "repos_url": "https://api.github.com/users/hewittk/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hewittk/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hewittk/subscriptions", "type": "User", "url": "https://api.github.com/users/hewittk" }
[ { "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": "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": "7fcce8", "default": false, "description": "", "id": 2347992045, "name": "Stale", "node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale" } ]
closed
false
null
[]
null
8
"2021-04-16T17:07:15Z"
"2021-09-02T00:43:44Z"
"2021-09-02T00:43:43Z"
CONTRIBUTOR
null
- [X] xref #39845 (.loc[] portion of issue) - [X] tests added / passed - [X] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40985/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40985/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40985.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40985", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/40985.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40985" }
https://api.github.com/repos/pandas-dev/pandas/issues/40986
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40986/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40986/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40986/events
https://github.com/pandas-dev/pandas/issues/40986
860,032,866
MDU6SXNzdWU4NjAwMzI4NjY=
40,986
BUG: read_csv is failing with an encoding different that UTF-8 and memory_map set to True in version 1.2.4
{ "avatar_url": "https://avatars.githubusercontent.com/u/31808661?v=4", "events_url": "https://api.github.com/users/emjironal/events{/privacy}", "followers_url": "https://api.github.com/users/emjironal/followers", "following_url": "https://api.github.com/users/emjironal/following{/other_user}", "gists_url": "https://api.github.com/users/emjironal/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/emjironal", "id": 31808661, "login": "emjironal", "node_id": "MDQ6VXNlcjMxODA4NjYx", "organizations_url": "https://api.github.com/users/emjironal/orgs", "received_events_url": "https://api.github.com/users/emjironal/received_events", "repos_url": "https://api.github.com/users/emjironal/repos", "site_admin": false, "starred_url": "https://api.github.com/users/emjironal/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/emjironal/subscriptions", "type": "User", "url": "https://api.github.com/users/emjironal" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
closed
false
null
[]
{ "closed_at": "2021-06-22T09:35:40Z", "closed_issues": 50, "created_at": "2021-04-12T08:10:59Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-05-10T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/85", "id": 6650632, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85/labels", "node_id": "MDk6TWlsZXN0b25lNjY1MDYzMg==", "number": 85, "open_issues": 0, "state": "closed", "title": "1.2.5", "updated_at": "2021-06-23T08:13:15Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85" }
9
"2021-04-16T17:37:44Z"
"2021-05-24T12:20:54Z"
"2021-04-26T12:20:56Z"
NONE
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python df = pd.DataFrame({'name': ['Raphael', 'Donatello', 'Miguel Angel', 'Leonardo'], 'mask': ['red', 'purple', 'orange', 'blue'], 'weapon': ['sai', 'bo staff', 'nunchunk', 'katana']}) df.to_csv("tmnt.csv", index=False, encoding="utf-16") pd.read_csv(filepath_or_buffer="tmnt.csv", encoding="utf-16", sep=",", header=0, decimal=".", memory_map=True) ``` #### Problem description This works perfectly with version 1.1.1, but now it doesn't and since this is a nice feature because it removes I/O overhead, I think is good look into this and also because it could break many things #### Expected Output ``` name mask weapon 0 Raphael red sai 1 Donatello purple bo staff 2 Miguel Angel orange nunchunk 3 Leonardo blue katana ``` #### Traceback <details> ```python-traceback Traceback (most recent call last): File "<stdin>", line 1, in <module> File "./lib/python3.8/site-packages/pandas/io/parsers.py", line 610, in read_csv return _read(filepath_or_buffer, kwds) File "./lib/python3.8/site-packages/pandas/io/parsers.py", line 462, in _read parser = TextFileReader(filepath_or_buffer, **kwds) File "./lib/python3.8/site-packages/pandas/io/parsers.py", line 819, in __init__ self._engine = self._make_engine(self.engine) File "./lib/python3.8/site-packages/pandas/io/parsers.py", line 1050, in _make_engine return mapping[engine](self.f, **self.options) # type: ignore[call-arg] File "./lib/python3.8/site-packages/pandas/io/parsers.py", line 1898, in __init__ self._reader = parsers.TextReader(self.handles.handle, **kwds) File "pandas/_libs/parsers.pyx", line 518, in pandas._libs.parsers.TextReader.__cinit__ File "pandas/_libs/parsers.pyx", line 649, in pandas._libs.parsers.TextReader._get_header UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte ``` </details> #### Output of ``pd.show_versions()`` <details> ``` INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.8.8.final.0 python-bits : 64 OS : Darwin OS-release : 20.2.0 Version : Darwin Kernel Version 20.2.0: Wed Dec 2 20:39:59 PST 2020; root:xnu-7195.60.75~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : None.UTF-8 pandas : 1.2.4 numpy : 1.20.1 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 54.0.0 Cython : None pytest : 6.2.2 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.6.2 html5lib : None pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : None IPython : None pandas_datareader: None bs4 : 4.9.3 bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : 3.0.6 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.2 sqlalchemy : 1.4.1 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/40986/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40986/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40987
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40987/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40987/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40987/events
https://github.com/pandas-dev/pandas/pull/40987
860,142,582
MDExOlB1bGxSZXF1ZXN0NjE3MDk4ODU1
40,987
Bug in loc returning multiindex in wrong oder with duplicated indexer
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "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": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-04-16T20:26:55Z"
"2021-05-27T10:26:39Z"
"2021-05-26T02:04:16Z"
MEMBER
null
- [x] closes #40978 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry This fixes the ordering, but I am not sure if an indexer with duplicates in this case should return the same as an indexer which is unique with the same elements.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40987/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40987/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40987.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40987", "merged_at": "2021-05-26T02:04:15Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40987.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40987" }
https://api.github.com/repos/pandas-dev/pandas/issues/40988
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40988/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40988/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40988/events
https://github.com/pandas-dev/pandas/issues/40988
860,145,558
MDU6SXNzdWU4NjAxNDU1NTg=
40,988
DEPR: Deprecate downcast keyword for fillna
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
open
false
null
[]
null
1
"2021-04-16T20:30:23Z"
"2021-10-26T20:43:52Z"
null
MEMBER
null
This came up recently in #40861 Depending on the way forward this would allow us to get downcast out from Block or be stricter about it Thougts? cc @jbrockmendel @jreback
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40988/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40988/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40989
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40989/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40989/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40989/events
https://github.com/pandas-dev/pandas/issues/40989
860,158,861
MDU6SXNzdWU4NjAxNTg4NjE=
40,989
BUG: fillna with limit and no method ignores axis='columns'
{ "avatar_url": "https://avatars.githubusercontent.com/u/675055?v=4", "events_url": "https://api.github.com/users/TheNeuralBit/events{/privacy}", "followers_url": "https://api.github.com/users/TheNeuralBit/followers", "following_url": "https://api.github.com/users/TheNeuralBit/following{/other_user}", "gists_url": "https://api.github.com/users/TheNeuralBit/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TheNeuralBit", "id": 675055, "login": "TheNeuralBit", "node_id": "MDQ6VXNlcjY3NTA1NQ==", "organizations_url": "https://api.github.com/users/TheNeuralBit/orgs", "received_events_url": "https://api.github.com/users/TheNeuralBit/received_events", "repos_url": "https://api.github.com/users/TheNeuralBit/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TheNeuralBit/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TheNeuralBit/subscriptions", "type": "User", "url": "https://api.github.com/users/TheNeuralBit" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "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": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" } ]
closed
false
null
[]
{ "closed_at": 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-04-16T20:44:57Z"
"2021-08-20T13:50:30Z"
"2021-08-20T13:50:30Z"
CONTRIBUTOR
null
- [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest version of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python In [6]: df = pd.DataFrame([[np.nan, 2, np.nan, 0], ...: [3, 4, np.nan, 1], ...: [np.nan, np.nan, np.nan, 5], ...: [np.nan, 3, np.nan, 4]], ...: columns=list('ABCD')) In [7]: df Out[7]: A B C D 0 NaN 2.0 NaN 0 1 3.0 4.0 NaN 1 2 NaN NaN NaN 5 3 NaN 3.0 NaN 4 In [8]: df.fillna(axis='columns', value=100, limit=2) Out[8]: A B C D 0 100.0 2.0 100.0 0 1 3.0 4.0 100.0 1 2 100.0 100.0 NaN 5 3 NaN 3.0 NaN 4 In [9]: df.fillna(axis='columns', value=100, limit=1) Out[9]: A B C D 0 100.0 2.0 100.0 0 1 3.0 4.0 NaN 1 2 NaN 100.0 NaN 5 3 NaN 3.0 NaN 4 ``` #### Problem description Based on the [description](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.fillna.html) of `limit`: > If method is not specified, this is the maximum number of entries *along the entire axis where NaNs will be filled.* Must be greater than 0 if not None. I would expect it to apply along the columns axis in this case, but it seems to be applied along the index. It's possible this is intentional, but if that's the case I'd like to update the documentation #### Expected Output ```python In [8]: df.fillna(axis='columns', value=100, limit=2) Out[8]: A B C D 0 100.0 2.0 100.0 0 1 3.0 4.0 100.0 1 2 100.0 100.0 NaN 5 3 100.0 3.0 100.0 4 In [9]: df.fillna(axis='columns', value=100, limit=1) Out[9]: A B C D 0 100.0 2.0 NaN 0 1 3.0 4.0 100.0 1 2 100.0 NaN NaN 5 3 100.0 3.0 NaN 4 ``` #### Output of ``pd.show_versions()`` <details> pandas : 1.2.4 numpy : 1.19.5 pytz : 2019.3 dateutil : 2.8.1 pip : 20.2.1 setuptools : 49.2.1 Cython : 0.29.13 pytest : 4.6.11 hypothesis : None sphinx : 1.8.5 blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 2.11.2 IPython : 7.19.0 pandas_datareader: None bs4 : None bottleneck : None fsspec : None fastparquet : None gcsfs : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 3.0.0 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.20 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/40989/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40989/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40990
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40990/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40990/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40990/events
https://github.com/pandas-dev/pandas/pull/40990
860,184,093
MDExOlB1bGxSZXF1ZXN0NjE3MTM0ODQw
40,990
TYP: libperiod
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-04-16T21:30:41Z"
"2021-05-05T14:47:17Z"
"2021-05-05T12:52:29Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40990/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40990/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40990.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40990", "merged_at": "2021-05-05T12:52:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40990.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40990" }
https://api.github.com/repos/pandas-dev/pandas/issues/40991
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40991/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40991/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40991/events
https://github.com/pandas-dev/pandas/pull/40991
860,259,719
MDExOlB1bGxSZXF1ZXN0NjE3MTk3NzM0
40,991
Deprecate suffixes in merge producing duplicate columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-16T23:50:24Z"
"2021-04-21T20:39:54Z"
"2021-04-20T22:47:30Z"
MEMBER
null
- [x] closes #22818 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry I think we should not allow these column collisions at all. Hence deprecating and raising in 2.0 Alternative here would be to add an ``errors`` keyword to the merge and join functions as @simonjayhawkins mentioned in the op.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40991/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40991/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40991.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40991", "merged_at": "2021-04-20T22:47:29Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40991.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40991" }
https://api.github.com/repos/pandas-dev/pandas/issues/40992
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40992/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40992/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40992/events
https://github.com/pandas-dev/pandas/issues/40992
860,265,958
MDU6SXNzdWU4NjAyNjU5NTg=
40,992
BUG: Pandas changing values when inferring dtypes
{ "avatar_url": "https://avatars.githubusercontent.com/u/5802128?v=4", "events_url": "https://api.github.com/users/giovannirescia/events{/privacy}", "followers_url": "https://api.github.com/users/giovannirescia/followers", "following_url": "https://api.github.com/users/giovannirescia/following{/other_user}", "gists_url": "https://api.github.com/users/giovannirescia/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/giovannirescia", "id": 5802128, "login": "giovannirescia", "node_id": "MDQ6VXNlcjU4MDIxMjg=", "organizations_url": "https://api.github.com/users/giovannirescia/orgs", "received_events_url": "https://api.github.com/users/giovannirescia/received_events", "repos_url": "https://api.github.com/users/giovannirescia/repos", "site_admin": false, "starred_url": "https://api.github.com/users/giovannirescia/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/giovannirescia/subscriptions", "type": "User", "url": "https://api.github.com/users/giovannirescia" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "009800", "default": false, "description": "Duplicate issue or pull request", "id": 40153326, "name": "Duplicate Report", "node_id": "MDU6TGFiZWw0MDE1MzMyNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report" }, { "color": "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
[]
null
6
"2021-04-17T00:14:18Z"
"2021-04-20T01:23:52Z"
"2021-04-19T10:45: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 of pandas. - [ ] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python import pandas as pd df = pd.read_json('file.jsonl', orient='records', lines=True) df['uuid'] ``` #### Problem description I have a `jsonlines` file (`file.jsonl`) that looks like this ``` {"id": 1, "uuid": "1344800117571260417"} {"id": 2, "uuid": "1344900117571260918"} ``` After reading that file using the above code, this is what I get: ``` id uuid 0 1 1344800117571260416 1 2 1344900117571260928 ``` So the `uuid`s have changed #### Expected Output My output should look like ``` id uuid 0 1 1344800117571260417 1 2 1344900117571260918 ``` On Stackoverflow, someone answered [my post](https://stackoverflow.com/questions/67133093/pandas-changing-values-when-inferring-dtypes?noredirect=1#comment118664602_67133093), with the following explanation: > int(float("1344900117571260918")) is 1344900117571260928 . I assume pandas first uses floats and afterwards converts it to int - so precision is lost. So the problem is how `pandas` is inferring the types. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 2cb96529396d93b46abab7bbc73a208e708c642e python : 3.7.6.final.0 python-bits : 64 OS : Linux OS-release : 5.8.0-49-generic Version : #55~20.04.1-Ubuntu SMP Fri Mar 26 01:01:07 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.2.4 numpy : 1.18.5 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 45.2.0.post20200210 Cython : 0.29.15 pytest : 5.4.3 hypothesis : 5.5.4 sphinx : 2.4.0 blosc : None feather : None xlsxwriter : 1.2.7 lxml.etree : 4.5.2 html5lib : 1.0.1 pymysql : None psycopg2 : 2.8.6 (dt dec pq3 ext lo64) jinja2 : 2.11.1 IPython : 7.12.0 pandas_datareader: None bs4 : 4.8.2 bottleneck : 1.3.2 fsspec : 0.6.2 fastparquet : None gcsfs : None matplotlib : 3.1.3 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.13 tables : 3.6.1 tabulate : 0.8.7 xarray : None xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.48.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40992/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40992/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40993
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40993/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40993/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40993/events
https://github.com/pandas-dev/pandas/pull/40993
860,267,792
MDExOlB1bGxSZXF1ZXN0NjE3MjA0MDQ5
40,993
Deprecate joining over a different number of levels
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "5319e7", "default": false, "description": "Functionality to remove in pandas", "id": 87485152, "name": "Deprecate", "node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-04-17T00:22:07Z"
"2021-04-21T20:40:07Z"
"2021-04-20T22:47:54Z"
MEMBER
null
- [x] closes #34862 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry I think deprecating this is a good idea, I stumbled across this accidentally this week and found this really odd
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40993/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40993/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40993.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40993", "merged_at": "2021-04-20T22:47:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40993.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40993" }
https://api.github.com/repos/pandas-dev/pandas/issues/40994
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40994/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40994/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40994/events
https://github.com/pandas-dev/pandas/pull/40994
860,300,274
MDExOlB1bGxSZXF1ZXN0NjE3MjMxMjgz
40,994
REGR: memory_map with non-UTF8 encoding
{ "avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4", "events_url": "https://api.github.com/users/twoertwein/events{/privacy}", "followers_url": "https://api.github.com/users/twoertwein/followers", "following_url": "https://api.github.com/users/twoertwein/following{/other_user}", "gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/twoertwein", "id": 6618166, "login": "twoertwein", "node_id": "MDQ6VXNlcjY2MTgxNjY=", "organizations_url": "https://api.github.com/users/twoertwein/orgs", "received_events_url": "https://api.github.com/users/twoertwein/received_events", "repos_url": "https://api.github.com/users/twoertwein/repos", "site_admin": false, "starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions", "type": "User", "url": "https://api.github.com/users/twoertwein" }
[ { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "color": "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-06-22T09:35:40Z", "closed_issues": 50, "created_at": "2021-04-12T08:10:59Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-05-10T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/85", "id": 6650632, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85/labels", "node_id": "MDk6TWlsZXN0b25lNjY1MDYzMg==", "number": 85, "open_issues": 0, "state": "closed", "title": "1.2.5", "updated_at": "2021-06-23T08:13:15Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85" }
4
"2021-04-17T02:09:57Z"
"2021-06-05T20:50:11Z"
"2021-04-26T12:20:57Z"
CONTRIBUTOR
null
- [x] closes #40986 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry My best guess is that `memory_map=True` always assumed UTF-8 with the python engine. Now that the c and python engine use the same IO code, the c engine assumed UTF-8 as well.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40994/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40994/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40994.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40994", "merged_at": "2021-04-26T12:20:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40994.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40994" }
https://api.github.com/repos/pandas-dev/pandas/issues/40995
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40995/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40995/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40995/events
https://github.com/pandas-dev/pandas/pull/40995
860,302,738
MDExOlB1bGxSZXF1ZXN0NjE3MjMzMDQy
40,995
CLN: remove CategoricalIndex.unique
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" }, { "color": "e99695", "default": false, "description": "Related to the Index class or subclasses", "id": 1218227310, "name": "Index", "node_id": "MDU6TGFiZWwxMjE4MjI3MzEw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-04-17T02:25:15Z"
"2021-04-19T14:40:54Z"
"2021-04-19T14:10:34Z"
MEMBER
null
made possible by #38140
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40995/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40995/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40995.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40995", "merged_at": "2021-04-19T14:10:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40995.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40995" }
https://api.github.com/repos/pandas-dev/pandas/issues/40996
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40996/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40996/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40996/events
https://github.com/pandas-dev/pandas/issues/40996
860,314,991
MDU6SXNzdWU4NjAzMTQ5OTE=
40,996
API: Categorical constructor with dtype raise instead of casting to NA
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "e11d21", "default": false, "description": "Categorical Data Type", "id": 78527356, "name": "Categorical", "node_id": "MDU6TGFiZWw3ODUyNzM1Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical" }, { "color": "d4c5f9", "default": false, "description": "Series/DataFrame/Index/pd.array Constructors", "id": 1465286368, "name": "Constructors", "node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors" }, { "color": "b60205", "default": false, "description": "Internal Consistency of API/Behavior", "id": 1741841389, "name": "API - Consistency", "node_id": "MDU6TGFiZWwxNzQxODQxMzg5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency" } ]
open
false
null
[]
null
1
"2021-04-17T03:45:39Z"
"2021-08-20T02:06:40Z"
null
MEMBER
null
``` dti = pd.date_range("2016-01-01", periods=3) ci = pd.Categorical(dti._values) >>> pd.Categorical(["foo"], dtype=ci.dtype) [NaT] Categories (3, datetime64[ns]): [2016-01-01, 2016-01-02, 2016-01-03] ``` Casting "foo" to pd.NaT here makes very little sense to me, and does not match the behavior of any of our other constructors. I'm pretty sure this is why we have to do so much special-casing for Categorical in dtypes.cast and groupby ops. Suggestion: we change/deprecate the behavior to raise instead of cast.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40996/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40996/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40997
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40997/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40997/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40997/events
https://github.com/pandas-dev/pandas/issues/40997
860,342,039
MDU6SXNzdWU4NjAzNDIwMzk=
40,997
BUG: Compile failed on Raspberry Pi
{ "avatar_url": "https://avatars.githubusercontent.com/u/35684393?v=4", "events_url": "https://api.github.com/users/Albelt/events{/privacy}", "followers_url": "https://api.github.com/users/Albelt/followers", "following_url": "https://api.github.com/users/Albelt/following{/other_user}", "gists_url": "https://api.github.com/users/Albelt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Albelt", "id": 35684393, "login": "Albelt", "node_id": "MDQ6VXNlcjM1Njg0Mzkz", "organizations_url": "https://api.github.com/users/Albelt/orgs", "received_events_url": "https://api.github.com/users/Albelt/received_events", "repos_url": "https://api.github.com/users/Albelt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Albelt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Albelt/subscriptions", "type": "User", "url": "https://api.github.com/users/Albelt" }
[ { "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": "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": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
closed
false
null
[]
null
3
"2021-04-17T06:50:26Z"
"2021-08-20T02:09:53Z"
"2021-08-20T02:09:53Z"
NONE
null
## Problem Description I have followed the guidance of **README.md -> Installation from sources** , download the source code of master and excute the install commands. However, I got some errors when running this command ``` bash python setup.py install ``` It looks like that the installation script called gcc and got some problems, here's the error report: ``` bash gcc: error: unrecognized command line option '-ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.9.2=Python-3.9.2' gcc: error: unrecognized command line option '-ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.9.2=Python-3.9.2' gcc: error: unrecognized command line option '-ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.9.2=Python-3.9.2' error: command '/usr/bin/gcc' failed with exit code 1 ``` How can I solve this problem? Should I change the different gcc version or else? ## Device Information Platform: Raspberry Pi 4B CPU: BCM2711 ARM Cortex-A71 64bit OS: OpenWrt( a linux distribution ) gcc: gcc (OpenWrt GCC 7.4.0) 7.4.0 g++: g++ (OpenWrt GCC 7.4.0) 7.4.0 Python: 3.9.2
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40997/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40997/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/40998
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40998/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40998/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40998/events
https://github.com/pandas-dev/pandas/pull/40998
860,391,495
MDExOlB1bGxSZXF1ZXN0NjE3Mjk0MjY3
40,998
[ArrowStringArray] BUG: fix test_astype_string for Float32Dtype
{ "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": "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-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-17T11:41:39Z"
"2021-04-30T17:57:25Z"
"2021-04-30T17:24:25Z"
MEMBER
null
this also fixes Interval, but that test doesn't fail in #39908 for a single StringDtype parameterized by storage.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40998/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40998/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40998.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40998", "merged_at": "2021-04-30T17:24:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40998.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40998" }
https://api.github.com/repos/pandas-dev/pandas/issues/40999
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/40999/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/40999/comments
https://api.github.com/repos/pandas-dev/pandas/issues/40999/events
https://github.com/pandas-dev/pandas/pull/40999
860,425,828
MDExOlB1bGxSZXF1ZXN0NjE3MzE3MjQ3
40,999
Regression modifying obj with all false indexer
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-17T14:43:17Z"
"2021-04-19T23:20:21Z"
"2021-04-19T14:02:53Z"
MEMBER
null
- [x] closes #40885 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them Regression on master so no whatsnew
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/40999/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/40999/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/40999.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/40999", "merged_at": "2021-04-19T14:02:52Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/40999.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40999" }
https://api.github.com/repos/pandas-dev/pandas/issues/41000
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41000/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41000/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41000/events
https://github.com/pandas-dev/pandas/pull/41000
860,426,820
MDExOlB1bGxSZXF1ZXN0NjE3MzE3OTMx
41,000
REF: remove how arg from maybe_cast_result
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "FCE94F", "default": false, "description": "Internal refactoring of code", "id": 127681, "name": "Refactor", "node_id": "MDU6TGFiZWwxMjc2ODE=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-04-17T14:47:59Z"
"2021-04-19T14:44:06Z"
"2021-04-19T14:01:50Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41000/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41000/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41000.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41000", "merged_at": "2021-04-19T14:01:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41000.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41000" }
https://api.github.com/repos/pandas-dev/pandas/issues/41001
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41001/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41001/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41001/events
https://github.com/pandas-dev/pandas/pull/41001
860,483,117
MDExOlB1bGxSZXF1ZXN0NjE3MzU5ODkz
41,001
[ArrowStringArray] fix test_repeat_with_null
{ "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": "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-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-04-17T18:15:39Z"
"2021-04-19T15:35:53Z"
"2021-04-19T14:00:40Z"
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41001/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41001/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41001.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41001", "merged_at": "2021-04-19T14:00:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41001.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41001" }
https://api.github.com/repos/pandas-dev/pandas/issues/41002
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41002/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41002/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41002/events
https://github.com/pandas-dev/pandas/pull/41002
860,503,602
MDExOlB1bGxSZXF1ZXN0NjE3MzczMDkx
41,002
[ArrowStringArray] fix test_value_counts_na
{ "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": "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-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-04-17T20:00:27Z"
"2021-04-19T15:51:02Z"
"2021-04-19T14:00:20Z"
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41002/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41002/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41002.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41002", "merged_at": "2021-04-19T14:00:20Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41002.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41002" }
https://api.github.com/repos/pandas-dev/pandas/issues/41003
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41003/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41003/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41003/events
https://github.com/pandas-dev/pandas/pull/41003
860,506,589
MDExOlB1bGxSZXF1ZXN0NjE3Mzc1MTQ2
41,003
CI: suppress warnings
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-04-17T20:17:48Z"
"2021-04-19T14:46:40Z"
"2021-04-19T13:53:57Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41003/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41003/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41003.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41003", "merged_at": "2021-04-19T13:53:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41003.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41003" }
https://api.github.com/repos/pandas-dev/pandas/issues/41004
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41004/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41004/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41004/events
https://github.com/pandas-dev/pandas/pull/41004
860,508,102
MDExOlB1bGxSZXF1ZXN0NjE3Mzc2MjI0
41,004
fix: function _take_with_is_copy was defined final but overriden
{ "avatar_url": "https://avatars.githubusercontent.com/u/22662498?v=4", "events_url": "https://api.github.com/users/ajiteshsingh/events{/privacy}", "followers_url": "https://api.github.com/users/ajiteshsingh/followers", "following_url": "https://api.github.com/users/ajiteshsingh/following{/other_user}", "gists_url": "https://api.github.com/users/ajiteshsingh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ajiteshsingh", "id": 22662498, "login": "ajiteshsingh", "node_id": "MDQ6VXNlcjIyNjYyNDk4", "organizations_url": "https://api.github.com/users/ajiteshsingh/orgs", "received_events_url": "https://api.github.com/users/ajiteshsingh/received_events", "repos_url": "https://api.github.com/users/ajiteshsingh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ajiteshsingh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ajiteshsingh/subscriptions", "type": "User", "url": "https://api.github.com/users/ajiteshsingh" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-04-17T20:27:04Z"
"2021-04-19T17:22:38Z"
"2021-04-19T17:22:29Z"
CONTRIBUTOR
null
- [x] closes #40974 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41004/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41004/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41004.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41004", "merged_at": "2021-04-19T17:22:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41004.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41004" }
https://api.github.com/repos/pandas-dev/pandas/issues/41005
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41005/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41005/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41005/events
https://github.com/pandas-dev/pandas/pull/41005
860,517,215
MDExOlB1bGxSZXF1ZXN0NjE3MzgyNDcx
41,005
BUG: Fix Dataframe constructor missing sql column names (#40682)
{ "avatar_url": "https://avatars.githubusercontent.com/u/56703401?v=4", "events_url": "https://api.github.com/users/jnchngc/events{/privacy}", "followers_url": "https://api.github.com/users/jnchngc/followers", "following_url": "https://api.github.com/users/jnchngc/following{/other_user}", "gists_url": "https://api.github.com/users/jnchngc/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jnchngc", "id": 56703401, "login": "jnchngc", "node_id": "MDQ6VXNlcjU2NzAzNDAx", "organizations_url": "https://api.github.com/users/jnchngc/orgs", "received_events_url": "https://api.github.com/users/jnchngc/received_events", "repos_url": "https://api.github.com/users/jnchngc/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jnchngc/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jnchngc/subscriptions", "type": "User", "url": "https://api.github.com/users/jnchngc" }
[ { "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": "to_sql, read_sql, read_sql_query", "id": 47232590, "name": "IO SQL", "node_id": "MDU6TGFiZWw0NzIzMjU5MA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL" }, { "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-04-17T21:22:45Z"
"2021-06-25T16:13:00Z"
"2021-06-25T16:13:00Z"
NONE
null
…ames - [ ] closes #40682 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41005/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41005/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41005.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41005", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41005.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41005" }
https://api.github.com/repos/pandas-dev/pandas/issues/41006
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41006/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41006/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41006/events
https://github.com/pandas-dev/pandas/pull/41006
860,519,059
MDExOlB1bGxSZXF1ZXN0NjE3MzgzNzI5
41,006
Bug in to_datetime raising ValueError with None and NaT and more than 50 elements
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "AFEEEE", "default": false, "description": null, "id": 211840, "name": "Timeseries", "node_id": "MDU6TGFiZWwyMTE4NDA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries" }, { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-04-17T21:34:34Z"
"2021-04-21T20:40:13Z"
"2021-04-20T22:49:56Z"
MEMBER
null
- [x] closes #39882 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry None and NaT are different for unique while convert_listlike casts None to NaT, hence causing dups Not sure if we could do something better.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41006/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41006/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41006.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41006", "merged_at": "2021-04-20T22:49:55Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41006.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41006" }
https://api.github.com/repos/pandas-dev/pandas/issues/41007
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41007/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41007/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41007/events
https://github.com/pandas-dev/pandas/pull/41007
860,521,092
MDExOlB1bGxSZXF1ZXN0NjE3Mzg1MTQ2
41,007
TYP: core.computation
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-04-17T21:47:41Z"
"2021-04-19T14:49:41Z"
"2021-04-19T13:53:19Z"
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41007/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41007/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41007.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41007", "merged_at": "2021-04-19T13:53:19Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41007.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41007" }
https://api.github.com/repos/pandas-dev/pandas/issues/41008
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41008/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41008/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41008/events
https://github.com/pandas-dev/pandas/pull/41008
860,522,429
MDExOlB1bGxSZXF1ZXN0NjE3Mzg2MDc5
41,008
Fix setting dataframe column to 2d array with more than one col
{ "avatar_url": "https://avatars.githubusercontent.com/u/34886045?v=4", "events_url": "https://api.github.com/users/Mxchaeltrxn/events{/privacy}", "followers_url": "https://api.github.com/users/Mxchaeltrxn/followers", "following_url": "https://api.github.com/users/Mxchaeltrxn/following{/other_user}", "gists_url": "https://api.github.com/users/Mxchaeltrxn/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Mxchaeltrxn", "id": 34886045, "login": "Mxchaeltrxn", "node_id": "MDQ6VXNlcjM0ODg2MDQ1", "organizations_url": "https://api.github.com/users/Mxchaeltrxn/orgs", "received_events_url": "https://api.github.com/users/Mxchaeltrxn/received_events", "repos_url": "https://api.github.com/users/Mxchaeltrxn/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Mxchaeltrxn/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Mxchaeltrxn/subscriptions", "type": "User", "url": "https://api.github.com/users/Mxchaeltrxn" }
[]
closed
false
null
[]
null
5
"2021-04-17T21:56:18Z"
"2021-04-28T10:56:48Z"
"2021-04-28T10:01:21Z"
NONE
null
- [ ] closes #40827 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them I throw a value error when a dataframe column is assigned to an object with `ndim == 2` with more than one column. I have added a test to test dataframe column assignment to an array with more than one 'column' and a test to show that assignment still works with an array with only one 'column'. The tests I added pass but I am unsure why ~600 existing tests fail when I run the entire suite (whether I have my change or not). I doubt the tests are failing because of something on my machine but I want to see if that's the case anyway. ~500 linting tests fail as well when I run `./ci/code_checks.sh`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41008/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41008/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41008.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41008", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/41008.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41008" }
https://api.github.com/repos/pandas-dev/pandas/issues/41009
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41009/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41009/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41009/events
https://github.com/pandas-dev/pandas/issues/41009
860,542,720
MDU6SXNzdWU4NjA1NDI3MjA=
41,009
BUG: Pandas Multicolumns don´t keep df.columns.name when modifiyng some colum
{ "avatar_url": "https://avatars.githubusercontent.com/u/10742826?v=4", "events_url": "https://api.github.com/users/epasseto/events{/privacy}", "followers_url": "https://api.github.com/users/epasseto/followers", "following_url": "https://api.github.com/users/epasseto/following{/other_user}", "gists_url": "https://api.github.com/users/epasseto/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/epasseto", "id": 10742826, "login": "epasseto", "node_id": "MDQ6VXNlcjEwNzQyODI2", "organizations_url": "https://api.github.com/users/epasseto/orgs", "received_events_url": "https://api.github.com/users/epasseto/received_events", "repos_url": "https://api.github.com/users/epasseto/repos", "site_admin": false, "starred_url": "https://api.github.com/users/epasseto/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/epasseto/subscriptions", "type": "User", "url": "https://api.github.com/users/epasseto" }
[ { "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": "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": 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-04-18T00:27:11Z"
"2021-04-18T00:31:02Z"
"2021-04-18T00:30:38Z"
NONE
null
Just imagine that I create a dataset with multicolumns like that: `import pandas as pd` `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"])` `df = pd.DataFrame(np.random.randn(3, 8), index=["A", "B", "C"], columns=index)` `df` OK, I created a df dataset, and I need to keep the name for the dataset using the **columns.name** attribute: `df.columns.name = 'BOO'` `df.columns.name` gives: 'BOO' Then I made a little alteration in my dataset (e.g. deleting, or adding a column) like this: `df = df.drop([('bar', 'one')], axis=1)` `df.columns.name` gives: None On single-column datasets, the column.name persist. But on multicolumns, column.name is lost every time I make a even small change on my columns! INSTALLED VERSIONS ------------------ commit : f2c8480af2f25efdbd803218b9d87980f416563e python : 3.8.8.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.19041 machine : AMD64 processor : Intel64 Family 6 Model 58 Stepping 9, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : pt_BR.cp1252 pandas : 1.2.3 numpy : 1.19.2 pytz : 2021.1 dateutil : 2.8.1 pip : 21.0.1 setuptools : 52.0.0.post20210125 Cython : 0.29.22 pytest : 6.2.2 hypothesis : None sphinx : 3.5.3 blosc : None feather : None xlsxwriter : 1.3.8 lxml.etree : 4.6.3 html5lib : 1.1 pymysql : None psycopg2 : None jinja2 : 2.11.3 IPython : 7.22.0 pandas_datareader: None bs4 : 4.9.3 bottleneck : 1.3.2 fsspec : 0.8.7 fastparquet : None gcsfs : None matplotlib : 3.3.4 numexpr : 2.7.3 odfpy : None openpyxl : 3.0.7 pandas_gbq : None pyarrow : None pyxlsb : None s3fs : None scipy : 1.6.2 sqlalchemy : 1.4.4 tables : 3.6.1 tabulate : None xarray : None xlrd : 2.0.1 xlwt : 1.3.0 numba : 0.53.1 - [X] I have checked that this issue has not already been reported. - [X] I have confirmed this bug exists on the latest version of pandas. - [] (optional) I have confirmed this bug exists on the master branch of pandas. --- **Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug. #### Code Sample, a copy-pastable example ```python # Your code here ``` #### Problem description [this should explain **why** the current behaviour is a problem and why the expected output is a better solution] #### Expected Output #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag] </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41009/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41009/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41010
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41010/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41010/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41010/events
https://github.com/pandas-dev/pandas/pull/41010
860,563,555
MDExOlB1bGxSZXF1ZXN0NjE3NDE0NTE5
41,010
BUG: groupby.rank with MaskedArray incorrect casting
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "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": "8cc645", "default": false, "description": "Related to pd.NA and nullable extension arrays", "id": 1817503692, "name": "NA - MaskedArrays", "node_id": "MDU6TGFiZWwxODE3NTAzNjky", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
1
"2021-04-18T03:23:27Z"
"2021-04-20T22:59:10Z"
"2021-04-20T22:56:41Z"
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry In master: ``` df = pd.DataFrame({"key": ["a"] * 4, "val": [1] * 4}) df["val"] = df["val"].astype("Int64") >>> result = df.groupby("key").rank() TypeError: cannot safely cast non-equivalent float64 to int64 ``` Moves in the direction of sharing/generalizing _ea_wrap_cython_operation. If I did this right, should avoid overlap with #40651.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41010/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41010/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41010.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41010", "merged_at": "2021-04-20T22:56:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41010.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41010" }
https://api.github.com/repos/pandas-dev/pandas/issues/41011
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41011/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41011/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41011/events
https://github.com/pandas-dev/pandas/pull/41011
860,568,064
MDExOlB1bGxSZXF1ZXN0NjE3NDE3MzU5
41,011
CLN: remove ensure_int_or_float
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e102d8", "default": false, "description": "Unexpected or buggy dtype conversions", "id": 31404521, "name": "Dtype Conversions", "node_id": "MDU6TGFiZWwzMTQwNDUyMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
0
"2021-04-18T04:01:23Z"
"2021-04-19T14:43:15Z"
"2021-04-19T13:51:57Z"
MEMBER
null
- [x] closes #27506 - [ ] tests added / passed - [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry No need for a try/except; we can reason out which branch we go down in each of the places this is used.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41011/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41011/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41011.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41011", "merged_at": "2021-04-19T13:51:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41011.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41011" }
https://api.github.com/repos/pandas-dev/pandas/issues/41012
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41012/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41012/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41012/events
https://github.com/pandas-dev/pandas/pull/41012
860,582,224
MDExOlB1bGxSZXF1ZXN0NjE3NDI3MzE4
41,012
DOC: Improve describe() documentation
{ "avatar_url": "https://avatars.githubusercontent.com/u/13381361?v=4", "events_url": "https://api.github.com/users/Bharat123rox/events{/privacy}", "followers_url": "https://api.github.com/users/Bharat123rox/followers", "following_url": "https://api.github.com/users/Bharat123rox/following{/other_user}", "gists_url": "https://api.github.com/users/Bharat123rox/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Bharat123rox", "id": 13381361, "login": "Bharat123rox", "node_id": "MDQ6VXNlcjEzMzgxMzYx", "organizations_url": "https://api.github.com/users/Bharat123rox/orgs", "received_events_url": "https://api.github.com/users/Bharat123rox/received_events", "repos_url": "https://api.github.com/users/Bharat123rox/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Bharat123rox/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Bharat123rox/subscriptions", "type": "User", "url": "https://api.github.com/users/Bharat123rox" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
7
"2021-04-18T05:52:26Z"
"2021-04-20T04:26:36Z"
"2021-04-20T04:26:26Z"
CONTRIBUTOR
null
- [x] closes #40972 - [ ] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [ ] whatsnew entry It feels more verbose, but necessary?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41012/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41012/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41012.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41012", "merged_at": "2021-04-20T04:26:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41012.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41012" }
https://api.github.com/repos/pandas-dev/pandas/issues/41013
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41013/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41013/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41013/events
https://github.com/pandas-dev/pandas/pull/41013
860,583,546
MDExOlB1bGxSZXF1ZXN0NjE3NDI4MjA2
41,013
DOC: update `style.ipynb` user guide for recent enhancements
{ "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": "eb6420", "default": false, "description": "Code style, linting, code_checks", "id": 106935113, "name": "Code Style", "node_id": "MDU6TGFiZWwxMDY5MzUxMTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
6
"2021-04-18T06:02:13Z"
"2021-04-22T10:34:56Z"
"2021-04-21T18:31:39Z"
CONTRIBUTOR
null
I added small changes to the Styler User Guide to exemplify the new builtin highlighting functions. Also removed some of the longer detail which has been moved to individual documentation pages (for example for `background_gradient`)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41013/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41013/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41013.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41013", "merged_at": "2021-04-21T18:31:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41013.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41013" }
https://api.github.com/repos/pandas-dev/pandas/issues/41014
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41014/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41014/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41014/events
https://github.com/pandas-dev/pandas/issues/41014
860,618,842
MDU6SXNzdWU4NjA2MTg4NDI=
41,014
QST: Fastest way to combine two dataframes on common columns (based on nearest timestamp and same ID)
{ "avatar_url": "https://avatars.githubusercontent.com/u/73073990?v=4", "events_url": "https://api.github.com/users/hscj87/events{/privacy}", "followers_url": "https://api.github.com/users/hscj87/followers", "following_url": "https://api.github.com/users/hscj87/following{/other_user}", "gists_url": "https://api.github.com/users/hscj87/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/hscj87", "id": 73073990, "login": "hscj87", "node_id": "MDQ6VXNlcjczMDczOTkw", "organizations_url": "https://api.github.com/users/hscj87/orgs", "received_events_url": "https://api.github.com/users/hscj87/received_events", "repos_url": "https://api.github.com/users/hscj87/repos", "site_admin": false, "starred_url": "https://api.github.com/users/hscj87/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/hscj87/subscriptions", "type": "User", "url": "https://api.github.com/users/hscj87" }
[ { "color": "0052cc", "default": false, "description": null, "id": 34444536, "name": "Usage Question", "node_id": "MDU6TGFiZWwzNDQ0NDUzNg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question" }, { "color": "0052cc", "default": false, "description": "Issue that has not been reviewed by a pandas team member", "id": 1954720290, "name": "Needs Triage", "node_id": "MDU6TGFiZWwxOTU0NzIwMjkw", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage" }, { "color": "be21f2", "default": false, "description": "May be closeable, needs more eyeballs", "id": 2365504893, "name": "Closing Candidate", "node_id": "MDU6TGFiZWwyMzY1NTA0ODkz", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate" } ]
closed
false
null
[]
null
2
"2021-04-18T09:41:14Z"
"2021-04-18T22:19:48Z"
"2021-04-18T22:19:48Z"
NONE
null
I am trying to combine two dataframes (~10 Million rows) on column timestamp and ID. Due to both dataframes dont have the same timestamp for same ID, i need to use a function called 'map_RSRP' to combine both using conditions. However below codes consume very very long time (few days time) to load the 10 Millions rows of dataframe using my personal notebook. Is there any method/codes can be used to speed up the processing for such big dataframe? Dataframe RTT columns: ['TIMESTAMP', 'ID', 'RTT'] Dataframe RSRP columns: ['TIMESTAMP', 'ID', 'RSRP'] Result dataframe columns: ['TIMESTAMP', 'ID', 'RTT', 'RSRP'] Below are my codes: ```python def map_RSRP(timestamp, id): rsrp = np.nan time_diff = np.nan past_5mins = timestamp - timedelta(minutes = 5) future_5mins = timestamp + timedelta(minutes = 5) #Get the RSRP data for same ID with timestamp within 5 minutes difference from RTT timestamp df_rsrp = df_RSRP.loc[(df_RSRP['ID'] == id) & (df_RSRP['TIMESTAMP'] >= past_5mins) & (df_RSRP['TIMESTAMP'] <= future_5mins)] df_rsrp['Time Difference (minutes)'] = ((df_rsrp['TIMESTAMP'] - timestamp).dt.total_seconds()/60).astype(int) if len(df_rsrp) > 0: time_nearest = abs(df_rsrp['Time Difference (minutes)']).min() df_rsrp = df_rsrp[abs(df_rsrp['Time Difference (minutes)']) == time_nearest] rsrp = df_rsrp['RSRP'].mean() return rsrp #Result dataframe columns: ['TIMESTAMP', 'ID', 'RTT', 'RSRP'] df_rtt['RSRP'] = df_rtt.apply(lambda x : pd.Series(map_RSRP(x['TIMESTAMP'],x['ID'])), axis = 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/41014/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41014/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41015
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41015/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41015/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41015/events
https://github.com/pandas-dev/pandas/pull/41015
860,637,099
MDExOlB1bGxSZXF1ZXN0NjE3NDY1NzY5
41,015
Revert "Skipt failing tests for numpy dev (#40877)"
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" }, { "color": "d8439a", "default": false, "description": "Issue related to pandas dependency", "id": 2533668378, "name": "Upstream issue", "node_id": "MDU6TGFiZWwyNTMzNjY4Mzc4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Upstream%20issue" } ]
closed
false
null
[]
{ "closed_at": "2021-06-22T09:35:40Z", "closed_issues": 50, "created_at": "2021-04-12T08:10:59Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-05-10T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/85", "id": 6650632, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85/labels", "node_id": "MDk6TWlsZXN0b25lNjY1MDYzMg==", "number": 85, "open_issues": 0, "state": "closed", "title": "1.2.5", "updated_at": "2021-06-23T08:13:15Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85" }
5
"2021-04-18T11:13:42Z"
"2021-04-18T16:03:01Z"
"2021-04-18T15:55:39Z"
MEMBER
null
- [x] closes #40874 new numpy wheel is out, bug was fixed during the week
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41015/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41015/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41015.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41015", "merged_at": "2021-04-18T15:55:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41015.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41015" }
https://api.github.com/repos/pandas-dev/pandas/issues/41016
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41016/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41016/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41016/events
https://github.com/pandas-dev/pandas/issues/41016
860,645,502
MDU6SXNzdWU4NjA2NDU1MDI=
41,016
ENH: add optional sort_order keyword to `concat()`.
{ "avatar_url": "https://avatars.githubusercontent.com/u/5946712?v=4", "events_url": "https://api.github.com/users/DriesSchaumont/events{/privacy}", "followers_url": "https://api.github.com/users/DriesSchaumont/followers", "following_url": "https://api.github.com/users/DriesSchaumont/following{/other_user}", "gists_url": "https://api.github.com/users/DriesSchaumont/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DriesSchaumont", "id": 5946712, "login": "DriesSchaumont", "node_id": "MDQ6VXNlcjU5NDY3MTI=", "organizations_url": "https://api.github.com/users/DriesSchaumont/orgs", "received_events_url": "https://api.github.com/users/DriesSchaumont/received_events", "repos_url": "https://api.github.com/users/DriesSchaumont/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DriesSchaumont/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DriesSchaumont/subscriptions", "type": "User", "url": "https://api.github.com/users/DriesSchaumont" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" }, { "color": "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-04-18T11:56:17Z"
"2021-04-20T10:54:59Z"
"2021-04-20T10:54:59Z"
MEMBER
null
#### Is your feature request related to a problem? xref #33634 ```python ser1 = pd.Series(["1","3"], index=pd.Index(["a", "c"], dtype="object"), dtype="object", name="test1") ser2 = pd.Series([3, 4, 5], index=pd.Index(["a", "b", "c"], dtype="object"), dtype="float64", name="test2") ser3 = pd.Series([6,7,8], index=pd.Index(["a", "b", "c"], dtype="object"), dtype="float64", name="test3") pd.concat([ser1, ser2, ser3], axis=1, sort=False, keys=["test1", "test2", "test3"]) test1 test2 test3 a 1 3.0 6.0 c 3 5.0 8.0 b NaN 4.0 7.0 ``` When concatenating, `concat` uses the index from the first series to determine the order of the non-concatenated axis. It would be neat to have a way specify this order with either a function or a list. Currently, `sort=True` can be used, but it only allows for sorting. #### Describe the solution you'd like The solution could be either to: - add a new argument - expand the sort argument to take functions or lists - use the `key` argument for this. #### API breaking implications I think this change can be backward compatible #### Describe alternatives you've considered As an alternative, reindexing could be used. But this requires the extraction of the largest index first.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41016/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41016/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/41017
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41017/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41017/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41017/events
https://github.com/pandas-dev/pandas/pull/41017
860,668,659
MDExOlB1bGxSZXF1ZXN0NjE3NDg3Mjg2
41,017
Fix 33634: If aggregation function returns NaN the order of the index on the resulting df is not maintained
{ "avatar_url": "https://avatars.githubusercontent.com/u/5946712?v=4", "events_url": "https://api.github.com/users/DriesSchaumont/events{/privacy}", "followers_url": "https://api.github.com/users/DriesSchaumont/followers", "following_url": "https://api.github.com/users/DriesSchaumont/following{/other_user}", "gists_url": "https://api.github.com/users/DriesSchaumont/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/DriesSchaumont", "id": 5946712, "login": "DriesSchaumont", "node_id": "MDQ6VXNlcjU5NDY3MTI=", "organizations_url": "https://api.github.com/users/DriesSchaumont/orgs", "received_events_url": "https://api.github.com/users/DriesSchaumont/received_events", "repos_url": "https://api.github.com/users/DriesSchaumont/repos", "site_admin": false, "starred_url": "https://api.github.com/users/DriesSchaumont/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/DriesSchaumont/subscriptions", "type": "User", "url": "https://api.github.com/users/DriesSchaumont" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "fbca04", "default": false, "description": "Apply, Aggregate, Transform", "id": 697792067, "name": "Apply", "node_id": "MDU6TGFiZWw2OTc3OTIwNjc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply" } ]
closed
false
null
[]
{ "closed_at": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
2
"2021-04-18T13:44:15Z"
"2021-05-21T01:16:15Z"
"2021-05-21T01:16:05Z"
MEMBER
null
- [x] closes #33634 - [x] tests added / passed - [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them - [x] whatsnew entry
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41017/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41017/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41017.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41017", "merged_at": "2021-05-21T01:16:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41017.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41017" }
https://api.github.com/repos/pandas-dev/pandas/issues/41018
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41018/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41018/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41018/events
https://github.com/pandas-dev/pandas/pull/41018
860,674,488
MDExOlB1bGxSZXF1ZXN0NjE3NDkxNTIx
41,018
[ArrowStringArray] fix test_astype_int, test_astype_float
{ "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": "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-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
3
"2021-04-18T14:11:39Z"
"2021-05-31T17:23:04Z"
"2021-05-31T16:21:07Z"
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41018/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41018/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41018.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41018", "merged_at": "2021-05-31T16:21:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41018.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41018" }
https://api.github.com/repos/pandas-dev/pandas/issues/41019
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/41019/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/41019/comments
https://api.github.com/repos/pandas-dev/pandas/issues/41019/events
https://github.com/pandas-dev/pandas/pull/41019
860,699,285
MDExOlB1bGxSZXF1ZXN0NjE3NTA5MDgw
41,019
Backport PR #41015 on branch 1.2.x (Revert "Skipt failing tests for numpy dev (#40877)")
{ "avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4", "events_url": "https://api.github.com/users/phofl/events{/privacy}", "followers_url": "https://api.github.com/users/phofl/followers", "following_url": "https://api.github.com/users/phofl/following{/other_user}", "gists_url": "https://api.github.com/users/phofl/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/phofl", "id": 61934744, "login": "phofl", "node_id": "MDQ6VXNlcjYxOTM0NzQ0", "organizations_url": "https://api.github.com/users/phofl/orgs", "received_events_url": "https://api.github.com/users/phofl/received_events", "repos_url": "https://api.github.com/users/phofl/repos", "site_admin": false, "starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/phofl/subscriptions", "type": "User", "url": "https://api.github.com/users/phofl" }
[ { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" }, { "color": "d93f0b", "default": false, "description": "Required and optional dependencies", "id": 527603109, "name": "Dependencies", "node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies" }, { "color": "d8439a", "default": false, "description": "Issue related to pandas dependency", "id": 2533668378, "name": "Upstream issue", "node_id": "MDU6TGFiZWwyNTMzNjY4Mzc4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Upstream%20issue" } ]
closed
false
null
[]
{ "closed_at": "2021-06-22T09:35:40Z", "closed_issues": 50, "created_at": "2021-04-12T08:10:59Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }, "description": "on-merge: backport to 1.2.x", "due_on": "2021-05-10T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/85", "id": 6650632, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85/labels", "node_id": "MDk6TWlsZXN0b25lNjY1MDYzMg==", "number": 85, "open_issues": 0, "state": "closed", "title": "1.2.5", "updated_at": "2021-06-23T08:13:15Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/85" }
0
"2021-04-18T16:02:01Z"
"2021-04-18T17:50:30Z"
"2021-04-18T17:50:27Z"
MEMBER
null
Backport pr #41015
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/41019/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/41019/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/41019.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/41019", "merged_at": "2021-04-18T17:50:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/41019.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/41019" }