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/43422 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43422/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43422/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43422/events | https://github.com/pandas-dev/pandas/issues/43422 | 988,588,520 | MDU6SXNzdWU5ODg1ODg1MjA= | 43,422 | BUG: Regression in 1.3.0: Exception when setting arrays as cell values | {
"avatar_url": "https://avatars.githubusercontent.com/u/4403130?v=4",
"events_url": "https://api.github.com/users/felixdivo/events{/privacy}",
"followers_url": "https://api.github.com/users/felixdivo/followers",
"following_url": "https://api.github.com/users/felixdivo/following{/other_user}",
"gists_url": "https://api.github.com/users/felixdivo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/felixdivo",
"id": 4403130,
"login": "felixdivo",
"node_id": "MDQ6VXNlcjQ0MDMxMzA=",
"organizations_url": "https://api.github.com/users/felixdivo/orgs",
"received_events_url": "https://api.github.com/users/felixdivo/received_events",
"repos_url": "https://api.github.com/users/felixdivo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/felixdivo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/felixdivo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/felixdivo"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] | closed | false | null | [] | {
"closed_at": "2021-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 4 | "2021-09-05T20:12:02Z" | "2021-09-08T13:04:13Z" | "2021-09-07T21:59:33Z" | 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 (yes, on version 1.3.2).
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
The following works fine on 1.2.5 and now fails (starting with 1.3.0). I waited for it to be fixed by 1.3.1/1.3.2 but it seems like this one went unnoticed until now.
#### Code Sample, a copy-pastable example
```python
from pandas import DataFrame
from numpy import zeros
# (Leaving out the dtype doesn't change things)
frame = DataFrame(columns=["x", "P"], dtype=object)
data = {"x": zeros((2, )), "P": zeros((2, 2))}
frame.append(data, ignore_index=True)
frame.loc[0] = data
```
#### Problem description
No exception, just the inserted data.
#### Expected Output
None.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b
python : 3.8.10.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-81-generic
Version : #91-Ubuntu SMP Thu Jul 15 19:09:17 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.2
numpy : 1.21.0
pytz : 2021.1
dateutil : 2.8.1
pip : 20.0.2
setuptools : 57.0.0
Cython : None
pytest : 6.2.5
hypothesis : 6.17.4
sphinx : 4.0.2
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 3.0.1
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.4.2
numexpr : 2.7.3
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.7.1
sqlalchemy : None
tables : 3.6.1
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : 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/43422/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43422/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43423 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43423/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43423/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43423/events | https://github.com/pandas-dev/pandas/pull/43423 | 988,594,188 | MDExOlB1bGxSZXF1ZXN0NzI3NDY2MjI2 | 43,423 | CI: add `jinja2` as a hard dependency for `DataFrame.to_latex/to_html` | {
"avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4",
"events_url": "https://api.github.com/users/attack68/events{/privacy}",
"followers_url": "https://api.github.com/users/attack68/followers",
"following_url": "https://api.github.com/users/attack68/following{/other_user}",
"gists_url": "https://api.github.com/users/attack68/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/attack68",
"id": 24256554,
"login": "attack68",
"node_id": "MDQ6VXNlcjI0MjU2NTU0",
"organizations_url": "https://api.github.com/users/attack68/orgs",
"received_events_url": "https://api.github.com/users/attack68/received_events",
"repos_url": "https://api.github.com/users/attack68/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attack68/subscriptions",
"type": "User",
"url": "https://api.github.com/users/attack68"
} | [
{
"color": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
},
{
"color": "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": "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 | 7 | "2021-09-05T20:42:10Z" | "2021-11-16T17:34:57Z" | "2021-11-16T17:34:56Z" | CONTRIBUTOR | null | As per https://github.com/pandas-dev/pandas/pull/43161#issuecomment-909765165
Goes towards #43161 and #41648
This is WIP since 41648 is not finished yet, but it is getting close.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43423/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43423/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43423.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43423",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43423.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43423"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43424 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43424/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43424/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43424/events | https://github.com/pandas-dev/pandas/issues/43424 | 988,644,829 | MDU6SXNzdWU5ODg2NDQ4Mjk= | 43,424 | BUG: Series.fillna raising with `float32` dtype when using value arg | {
"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": "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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] | closed | false | null | [] | {
"closed_at": "2021-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 8 | "2021-09-06T00:54:25Z" | "2021-09-09T11:37:26Z" | "2021-09-09T11:37:26Z" | 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.
---
#### Code Sample, a copy-pastable example
```python
ser = pd.Series([1.0, 2.0], dtype="float32")
val = {1: 1.01}
ser.fillna(val)
```
#### Problem description
The above code raises with
`TypeError: Cannot cast array data from dtype('float64') to dtype('float32') according to the rule 'safe'`
#### Expected Output
```
0 1.0
1 2.0
dtype: float32
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 343ac2a4179fdd1cb24633e9b95cbec33371c14d
python : 3.8.10.final.0
python-bits : 64
OS : Darwin
OS-release : 20.4.0
Version : Darwin Kernel Version 20.4.0: Thu Apr 22 21:46:47 PDT 2021; root:xnu-7195.101.2~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.UTF-8
pandas : 1.4.0.dev0+599.g343ac2a417.dirty
numpy : 1.21.1
pytz : 2021.1
dateutil : 2.8.2
pip : 21.2.1
setuptools : 49.6.0.post20210108
Cython : 0.29.24
pytest : 6.2.4
hypothesis : 6.14.3
sphinx : 3.5.4
blosc : None
feather : None
xlsxwriter : 1.4.4
lxml.etree : 4.6.3
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 3.0.1
IPython : 7.25.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 2021.05.0
fastparquet : 0.6.3
gcsfs : 2021.05.0
matplotlib : 3.4.2
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : 4.0.1
pyxlsb : None
s3fs : 0.4.2
scipy : 1.7.0
sqlalchemy : 1.4.22
tables : 3.6.1
tabulate : 0.8.9
xarray : 0.19.0
xlrd : 2.0.1
xlwt : 1.3.0
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/43424/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43424/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43425 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43425/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43425/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43425/events | https://github.com/pandas-dev/pandas/pull/43425 | 989,272,407 | MDExOlB1bGxSZXF1ZXN0NzI4MDQzOTMz | 43,425 | Backport PR #42772 on branch 1.3.x (BUG: Series.groupby fails with InvalidIndexError on time series with …) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"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-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 0 | "2021-09-06T15:18:12Z" | "2021-09-06T17:11:53Z" | "2021-09-06T17:11:53Z" | NONE | null | Backport PR #42772: BUG: Series.groupby fails with InvalidIndexError on time series with … | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43425/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43425/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43425.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43425",
"merged_at": "2021-09-06T17:11:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43425.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43425"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43426 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43426/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43426/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43426/events | https://github.com/pandas-dev/pandas/pull/43426 | 989,312,063 | MDExOlB1bGxSZXF1ZXN0NzI4MDc3MzU2 | 43,426 | BACKPORT: groupby.apply incorrectly dropping nan #43236 | {
"avatar_url": "https://avatars.githubusercontent.com/u/6472290?v=4",
"events_url": "https://api.github.com/users/debnathshoham/events{/privacy}",
"followers_url": "https://api.github.com/users/debnathshoham/followers",
"following_url": "https://api.github.com/users/debnathshoham/following{/other_user}",
"gists_url": "https://api.github.com/users/debnathshoham/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/debnathshoham",
"id": 6472290,
"login": "debnathshoham",
"node_id": "MDQ6VXNlcjY0NzIyOTA=",
"organizations_url": "https://api.github.com/users/debnathshoham/orgs",
"received_events_url": "https://api.github.com/users/debnathshoham/received_events",
"repos_url": "https://api.github.com/users/debnathshoham/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/debnathshoham/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/debnathshoham/subscriptions",
"type": "User",
"url": "https://api.github.com/users/debnathshoham"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] | closed | false | null | [] | {
"closed_at": "2021-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 1 | "2021-09-06T16:18:02Z" | "2021-09-06T18:56:48Z" | "2021-09-06T18:37:29Z" | CONTRIBUTOR | null | xref #43236 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43426/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43426/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43426.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43426",
"merged_at": "2021-09-06T18:37:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43426.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43426"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43427 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43427/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43427/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43427/events | https://github.com/pandas-dev/pandas/pull/43427 | 989,341,844 | MDExOlB1bGxSZXF1ZXN0NzI4MTAyMTI3 | 43,427 | DEPR: squeeze argument in read_csv/read_table/read_excel | {
"avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4",
"events_url": "https://api.github.com/users/lithomas1/events{/privacy}",
"followers_url": "https://api.github.com/users/lithomas1/followers",
"following_url": "https://api.github.com/users/lithomas1/following{/other_user}",
"gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lithomas1",
"id": 47963215,
"login": "lithomas1",
"node_id": "MDQ6VXNlcjQ3OTYzMjE1",
"organizations_url": "https://api.github.com/users/lithomas1/orgs",
"received_events_url": "https://api.github.com/users/lithomas1/received_events",
"repos_url": "https://api.github.com/users/lithomas1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lithomas1"
} | [
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 5 | "2021-09-06T17:15:26Z" | "2021-09-12T15:07:29Z" | "2021-09-10T13:45:49Z" | MEMBER | null | - [ ] closes #43242
- [ ] 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/43427/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43427/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43427.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43427",
"merged_at": "2021-09-10T13:45:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43427.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43427"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43428 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43428/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43428/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43428/events | https://github.com/pandas-dev/pandas/pull/43428 | 989,376,866 | MDExOlB1bGxSZXF1ZXN0NzI4MTMwODE1 | 43,428 | Regression in __getitem__ raising for slice DatetimeIndex | {
"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": "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-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 4 | "2021-09-06T18:35:34Z" | "2021-09-09T13:51:16Z" | "2021-09-09T13:51:01Z" | MEMBER | null | - [x] closes #43223
- [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
@jbrockmendel Any idea why we used ``maybe_indices_to_slice`` instead of take like in loc?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43428/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43428/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43428.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43428",
"merged_at": "2021-09-09T13:51:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43428.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43428"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43429 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43429/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43429/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43429/events | https://github.com/pandas-dev/pandas/issues/43429 | 989,384,116 | MDU6SXNzdWU5ODkzODQxMTY= | 43,429 | CI: Posix / pytest failing in test_unique.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/8927258?v=4",
"events_url": "https://api.github.com/users/johnzangwill/events{/privacy}",
"followers_url": "https://api.github.com/users/johnzangwill/followers",
"following_url": "https://api.github.com/users/johnzangwill/following{/other_user}",
"gists_url": "https://api.github.com/users/johnzangwill/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/johnzangwill",
"id": 8927258,
"login": "johnzangwill",
"node_id": "MDQ6VXNlcjg5MjcyNTg=",
"organizations_url": "https://api.github.com/users/johnzangwill/orgs",
"received_events_url": "https://api.github.com/users/johnzangwill/received_events",
"repos_url": "https://api.github.com/users/johnzangwill/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/johnzangwill/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/johnzangwill/subscriptions",
"type": "User",
"url": "https://api.github.com/users/johnzangwill"
} | [
{
"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": "Unit tests that occasionally fail",
"id": 76939933,
"name": "Unreliable Test",
"node_id": "MDU6TGFiZWw3NjkzOTkzMw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unreliable%20Test"
}
] | closed | false | null | [] | null | 6 | "2021-09-06T18:55:05Z" | "2021-09-29T09:49:25Z" | "2021-09-29T09:49:25Z" | CONTRIBUTOR | null | Posix / pytest (actions-38-minimum_versions.yaml, not slow and not network and not clipboard) failing at test_unique.py::test_unique_bad_unicode[idx_or_series_w_bad_unicode0]
`UnicodeEncodeError: 'utf-8' codec can't encode character '\ud83d' in position 84: surrogates not allowed`
(I believe that \ud83d is a smily face character...) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43429/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43429/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43430 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43430/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43430/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43430/events | https://github.com/pandas-dev/pandas/pull/43430 | 989,399,639 | MDExOlB1bGxSZXF1ZXN0NzI4MTQ5MDMy | 43,430 | TYP: libs | {
"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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-09-06T19:28:55Z" | "2021-09-09T15:24:29Z" | "2021-09-09T12:41:32Z" | 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/43430/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43430/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43430.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43430",
"merged_at": "2021-09-09T12:41:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43430.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43430"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43431 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43431/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43431/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43431/events | https://github.com/pandas-dev/pandas/pull/43431 | 989,405,669 | MDExOlB1bGxSZXF1ZXN0NzI4MTUzNjg0 | 43,431 | Backport PR #43403: Revert Cythonized Kendall implementation and improve test case to prevent regressions | {
"avatar_url": "https://avatars.githubusercontent.com/u/709668?v=4",
"events_url": "https://api.github.com/users/zrait/events{/privacy}",
"followers_url": "https://api.github.com/users/zrait/followers",
"following_url": "https://api.github.com/users/zrait/following{/other_user}",
"gists_url": "https://api.github.com/users/zrait/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zrait",
"id": 709668,
"login": "zrait",
"node_id": "MDQ6VXNlcjcwOTY2OA==",
"organizations_url": "https://api.github.com/users/zrait/orgs",
"received_events_url": "https://api.github.com/users/zrait/received_events",
"repos_url": "https://api.github.com/users/zrait/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zrait/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zrait/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zrait"
} | [
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
}
] | closed | false | null | [] | {
"closed_at": "2021-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 1 | "2021-09-06T19:46:28Z" | "2021-09-06T23:50:57Z" | "2021-09-06T23:50:50Z" | CONTRIBUTOR | null | - [ ] closes #43401
- [ ] 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/43431/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43431/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43431.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43431",
"merged_at": "2021-09-06T23:50:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43431.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43431"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43432 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43432/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43432/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43432/events | https://github.com/pandas-dev/pandas/pull/43432 | 989,446,346 | MDExOlB1bGxSZXF1ZXN0NzI4MTg3OTg3 | 43,432 | DOC: Modify pandas.ExcelWriter default engine in docstring (#43359) | {
"avatar_url": "https://avatars.githubusercontent.com/u/37710770?v=4",
"events_url": "https://api.github.com/users/LiquidMika/events{/privacy}",
"followers_url": "https://api.github.com/users/LiquidMika/followers",
"following_url": "https://api.github.com/users/LiquidMika/following{/other_user}",
"gists_url": "https://api.github.com/users/LiquidMika/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/LiquidMika",
"id": 37710770,
"login": "LiquidMika",
"node_id": "MDQ6VXNlcjM3NzEwNzcw",
"organizations_url": "https://api.github.com/users/LiquidMika/orgs",
"received_events_url": "https://api.github.com/users/LiquidMika/received_events",
"repos_url": "https://api.github.com/users/LiquidMika/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/LiquidMika/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LiquidMika/subscriptions",
"type": "User",
"url": "https://api.github.com/users/LiquidMika"
} | [
{
"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": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-09-06T21:36:17Z" | "2021-09-12T16:56:08Z" | "2021-09-12T16:55:59Z" | CONTRIBUTOR | null | * engine for xlsx : xlsxwriter instead of openpyxl
* correction to pass the doctest
- [x] closes #43359
- [x] tests added / passed : script/validate_docstrings.py detected 3 errors before my pull request. It's now resolved
- [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 : black pandas didn't change anything
- [x] whatsnew entry : one word changed in docstring
Script validate_docstings report : [validate_docstrings.txt](https://github.com/pandas-dev/pandas/files/7117843/validate_docstrings.txt)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43432/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43432/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43432.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43432",
"merged_at": "2021-09-12T16:55:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43432.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43432"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43433 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43433/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43433/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43433/events | https://github.com/pandas-dev/pandas/pull/43433 | 989,450,733 | MDExOlB1bGxSZXF1ZXN0NzI4MTkxNDQ2 | 43,433 | TST: Test for MultiIndex merge with CategoricalIndex (#36973) | {
"avatar_url": "https://avatars.githubusercontent.com/u/22553685?v=4",
"events_url": "https://api.github.com/users/tim-tran/events{/privacy}",
"followers_url": "https://api.github.com/users/tim-tran/followers",
"following_url": "https://api.github.com/users/tim-tran/following{/other_user}",
"gists_url": "https://api.github.com/users/tim-tran/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tim-tran",
"id": 22553685,
"login": "tim-tran",
"node_id": "MDQ6VXNlcjIyNTUzNjg1",
"organizations_url": "https://api.github.com/users/tim-tran/orgs",
"received_events_url": "https://api.github.com/users/tim-tran/received_events",
"repos_url": "https://api.github.com/users/tim-tran/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tim-tran/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tim-tran/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tim-tran"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-09-06T21:51:55Z" | "2021-09-07T14:12:00Z" | "2021-09-07T14:11:56Z" | CONTRIBUTOR | null | - [x] closes #36973
- [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/43433/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43433/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43433.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43433",
"merged_at": "2021-09-07T14:11:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43433.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43433"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43434 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43434/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43434/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43434/events | https://github.com/pandas-dev/pandas/pull/43434 | 989,492,196 | MDExOlB1bGxSZXF1ZXN0NzI4MjI2NjE2 | 43,434 | REF: groupby.pad/backfill blockwise | {
"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-09-07T00:14:13Z" | "2021-09-07T23:24:37Z" | "2021-09-07T02:46:13Z" | 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/43434/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43434/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43434.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43434",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43434.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43434"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43435 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43435/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43435/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43435/events | https://github.com/pandas-dev/pandas/pull/43435 | 989,598,587 | MDExOlB1bGxSZXF1ZXN0NzI4MzEzMTgz | 43,435 | REF: Groupby._get_cythonized_result operate blockwise in axis==1 case | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 4 | "2021-09-07T05:10:26Z" | "2021-09-13T16:06:22Z" | "2021-09-13T15:26:08Z" | 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/43435/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43435/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43435.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43435",
"merged_at": "2021-09-13T15:26:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43435.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43435"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43436 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43436/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43436/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43436/events | https://github.com/pandas-dev/pandas/pull/43436 | 989,636,300 | MDExOlB1bGxSZXF1ZXN0NzI4MzQ0OTMy | 43,436 | ENH: Improve IOError handling on missing parent directory for Series/DataFrame write methods #24306 | {
"avatar_url": "https://avatars.githubusercontent.com/u/65842583?v=4",
"events_url": "https://api.github.com/users/leonarduschen/events{/privacy}",
"followers_url": "https://api.github.com/users/leonarduschen/followers",
"following_url": "https://api.github.com/users/leonarduschen/following{/other_user}",
"gists_url": "https://api.github.com/users/leonarduschen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/leonarduschen",
"id": 65842583,
"login": "leonarduschen",
"node_id": "MDQ6VXNlcjY1ODQyNTgz",
"organizations_url": "https://api.github.com/users/leonarduschen/orgs",
"received_events_url": "https://api.github.com/users/leonarduschen/received_events",
"repos_url": "https://api.github.com/users/leonarduschen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/leonarduschen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leonarduschen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/leonarduschen"
} | [
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "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"
} | 6 | "2021-09-07T06:22:20Z" | "2021-09-11T14:51:04Z" | "2021-09-11T14:50:50Z" | CONTRIBUTOR | null | - [x] closes #24306
- [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/43436/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43436/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43436.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43436",
"merged_at": "2021-09-11T14:50:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43436.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43436"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43437 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43437/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43437/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43437/events | https://github.com/pandas-dev/pandas/issues/43437 | 989,687,901 | MDU6SXNzdWU5ODk2ODc5MDE= | 43,437 | ENH: Handle for current DataFrame in pd.query expression | {
"avatar_url": "https://avatars.githubusercontent.com/u/37619875?v=4",
"events_url": "https://api.github.com/users/julibeg/events{/privacy}",
"followers_url": "https://api.github.com/users/julibeg/followers",
"following_url": "https://api.github.com/users/julibeg/following{/other_user}",
"gists_url": "https://api.github.com/users/julibeg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/julibeg",
"id": 37619875,
"login": "julibeg",
"node_id": "MDQ6VXNlcjM3NjE5ODc1",
"organizations_url": "https://api.github.com/users/julibeg/orgs",
"received_events_url": "https://api.github.com/users/julibeg/received_events",
"repos_url": "https://api.github.com/users/julibeg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/julibeg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/julibeg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/julibeg"
} | [
{
"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": "f3afff",
"default": false,
"description": "pd.eval, query",
"id": 1631985267,
"name": "expressions",
"node_id": "MDU6TGFiZWwxNjMxOTg1MjY3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/expressions"
}
] | open | false | null | [] | null | 0 | "2021-09-07T07:39:13Z" | "2021-09-14T11:32:55Z" | null | NONE | null | #### Is your feature request related to a problem?
I use `pd.query` and `pd.eval` a lot. However, sometimes I find myself in situations where I would like to filter an unnamed DataFrame with `pd.query` and it would be very handy if there was a handle for the DataFrame available in the query expression.
#### Describe the solution you'd like
For sake of an example, consider this DataFrame:
```python
>>> df = pd.DataFrame(
data=np.arange(20).reshape(5, 4),
columns=pd.MultiIndex.from_product([['A', 'B'], ['x', 'y']]))
>>> df
A B
x y x y
0 0 1 2 3
1 4 5 6 7
2 8 9 10 11
3 12 13 14 15
4 16 17 18 19
```
In order to get all `y` columns with values above `10`, I would like to use something like
```python
df.loc[:, (slice(None), 'y')].query('(PLACEHOLDER > 10).any(1)')
```
The placeholder could be a symbol like `#` or simply nothing (i.e. one would write `df.loc[:, (slice(None), 'y')].query('(> 10).any(1)')`), but this would be harder to implement I guess.
#### API breaking implications
I don't think that this would break anything as it is just the addition of a feature.
#### Describe alternatives you've considered
I know that what I wanted to do in my example can be achieved in multiple other ways. However, most of them are neither as concise nor as flexible as simply being able to access the current DataFrame in the query expression.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43437/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43437/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43438 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43438/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43438/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43438/events | https://github.com/pandas-dev/pandas/issues/43438 | 989,769,294 | MDU6SXNzdWU5ODk3NjkyOTQ= | 43,438 | ENH: Reopen "Default value for missing values on merge" | {
"avatar_url": "https://avatars.githubusercontent.com/u/11861496?v=4",
"events_url": "https://api.github.com/users/Codeberg-AsGithubAlternative-buhtz/events{/privacy}",
"followers_url": "https://api.github.com/users/Codeberg-AsGithubAlternative-buhtz/followers",
"following_url": "https://api.github.com/users/Codeberg-AsGithubAlternative-buhtz/following{/other_user}",
"gists_url": "https://api.github.com/users/Codeberg-AsGithubAlternative-buhtz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Codeberg-AsGithubAlternative-buhtz",
"id": 11861496,
"login": "Codeberg-AsGithubAlternative-buhtz",
"node_id": "MDQ6VXNlcjExODYxNDk2",
"organizations_url": "https://api.github.com/users/Codeberg-AsGithubAlternative-buhtz/orgs",
"received_events_url": "https://api.github.com/users/Codeberg-AsGithubAlternative-buhtz/received_events",
"repos_url": "https://api.github.com/users/Codeberg-AsGithubAlternative-buhtz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Codeberg-AsGithubAlternative-buhtz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Codeberg-AsGithubAlternative-buhtz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Codeberg-AsGithubAlternative-buhtz"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 1 | "2021-09-07T09:13:05Z" | "2021-09-07T09:53:29Z" | "2021-09-07T09:53:29Z" | NONE | null | Please reopen #20007
There was no valid reason for closing.
The "closer" just wrote about a workaround (not a solution) with `fillna()`.
Please let us reopen the discussion on the original Issue. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43438/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43438/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43439 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43439/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43439/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43439/events | https://github.com/pandas-dev/pandas/issues/43439 | 989,779,495 | MDU6SXNzdWU5ODk3Nzk0OTU= | 43,439 | BUG: SpooledTemporaryFile no longer working with read_csv | {
"avatar_url": "https://avatars.githubusercontent.com/u/7900614?v=4",
"events_url": "https://api.github.com/users/oskli/events{/privacy}",
"followers_url": "https://api.github.com/users/oskli/followers",
"following_url": "https://api.github.com/users/oskli/following{/other_user}",
"gists_url": "https://api.github.com/users/oskli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/oskli",
"id": 7900614,
"login": "oskli",
"node_id": "MDQ6VXNlcjc5MDA2MTQ=",
"organizations_url": "https://api.github.com/users/oskli/orgs",
"received_events_url": "https://api.github.com/users/oskli/received_events",
"repos_url": "https://api.github.com/users/oskli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/oskli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/oskli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/oskli"
} | [
{
"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-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 4 | "2021-09-07T09:24:10Z" | "2021-09-10T00:24:10Z" | "2021-09-10T00:24:10Z" | NONE | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [ ] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import os
import pandas
import tempfile
import traceback
with tempfile.SpooledTemporaryFile() as f:
f.write(b'abcd')
f.seek(0)
try:
result = pandas.read_csv(f)
print(result)
except Exception as e:
print(e)
print(traceback.format_exc())
```
### Issue Description
This worked in pandas 1.1.5 but is no longer working in version >=1.2.0.
### Expected Behavior
According to the `read_csv` description I would expect this to work.
filepath_or_bufferstr, path object or file-like object
> Any valid string path is acceptable. The string could be a URL. Valid URL schemes include http, ftp, s3, gs, and file. For file URLs, a host is expected. A local file could be: file://localhost/path/to/table.csv.
> If you want to pass in a path object, pandas accepts any os.PathLike.
> By file-like object, we refer to objects with a read() method, such as a file handle (e.g. via builtin open function) or StringIO.
### Installed Versions
<details>
INSTALLED VERSIONS
------------------
commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b
python : 3.7.9.final.0
python-bits : 64
OS : Darwin
OS-release : 20.5.0
Version : Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : en_US.UTF-8
LANG : None
LOCALE : en_US.UTF-8
pandas : 1.3.2
numpy : 1.21.2
pytz : 2021.1
dateutil : 2.8.2
pip : 20.1.1
setuptools : 47.1.0
IPython : 7.27.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/43439/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43439/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43440 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43440/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43440/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43440/events | https://github.com/pandas-dev/pandas/issues/43440 | 989,795,919 | MDU6SXNzdWU5ODk3OTU5MTk= | 43,440 | DOC: no docs for ExcelWriter `engine_kwargs` #42292 #42214 | {
"avatar_url": "https://avatars.githubusercontent.com/u/33122845?v=4",
"events_url": "https://api.github.com/users/Joeperdefloep/events{/privacy}",
"followers_url": "https://api.github.com/users/Joeperdefloep/followers",
"following_url": "https://api.github.com/users/Joeperdefloep/following{/other_user}",
"gists_url": "https://api.github.com/users/Joeperdefloep/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Joeperdefloep",
"id": 33122845,
"login": "Joeperdefloep",
"node_id": "MDQ6VXNlcjMzMTIyODQ1",
"organizations_url": "https://api.github.com/users/Joeperdefloep/orgs",
"received_events_url": "https://api.github.com/users/Joeperdefloep/received_events",
"repos_url": "https://api.github.com/users/Joeperdefloep/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Joeperdefloep/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Joeperdefloep/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Joeperdefloep"
} | [
{
"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": "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"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-09-07T09:41:48Z" | "2021-09-29T13:19:36Z" | null | CONTRIBUTOR | null | ###
- [X] I have checked that the issue still exists on the latest versions of the docs on `master` [here](https://pandas.pydata.org/docs/dev/)
### Location of the documentation
https://pandas.pydata.org/docs/dev/reference/api/pandas.ExcelWriter.html?highlight=excelwriter#pandas.ExcelWriter
### Documentation problem
There is no use-case specified for `engine_kwargs`, as a result of which I was confused and made #42214. There, my test was overwritten by #42292 that uses the 'correct' use of `engine_kwargs`. How I did it first (incorrect):
```
import pandas as pd
with pd.ExcelWriter("file.xlsx",engine="xlsxwriter",engine_kwargs={"strings_to_formulas":False}) as writer:
pd.DataFrame(["=1+1"]).to_excel(writer)
```
where it should have been:
```
import pandas as pd
with pd.ExcelWriter("file.xlsx",engine="xlsxwriter",engine_kwargs={"options":{"strings_to_formulas":False}}) as writer:
pd.DataFrame(["=1+1"]).to_excel(writer)
```
However, since only `xlsxwriter` actually passes the `engine_kwargs` through to the `Workbook` class, this is unintuitive without documentation.
### Suggested fix for documentation
I will submit a PR | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43440/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43440/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43441 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43441/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43441/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43441/events | https://github.com/pandas-dev/pandas/pull/43441 | 989,808,226 | MDExOlB1bGxSZXF1ZXN0NzI4NDkxMjA2 | 43,441 | DOC: add links to pre-commit in contributing | {
"avatar_url": "https://avatars.githubusercontent.com/u/33122845?v=4",
"events_url": "https://api.github.com/users/Joeperdefloep/events{/privacy}",
"followers_url": "https://api.github.com/users/Joeperdefloep/followers",
"following_url": "https://api.github.com/users/Joeperdefloep/following{/other_user}",
"gists_url": "https://api.github.com/users/Joeperdefloep/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Joeperdefloep",
"id": 33122845,
"login": "Joeperdefloep",
"node_id": "MDQ6VXNlcjMzMTIyODQ1",
"organizations_url": "https://api.github.com/users/Joeperdefloep/orgs",
"received_events_url": "https://api.github.com/users/Joeperdefloep/received_events",
"repos_url": "https://api.github.com/users/Joeperdefloep/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Joeperdefloep/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Joeperdefloep/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Joeperdefloep"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 6 | "2021-09-07T09:56:19Z" | "2021-09-08T23:53:56Z" | "2021-09-08T23:53:49Z" | CONTRIBUTOR | null | - [ ] 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
The contributing page has comments on style, but does not link to setting up pre-commits yourself. It would be nice to be guided there | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43441/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43441/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43441.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43441",
"merged_at": "2021-09-08T23:53:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43441.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43441"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43442 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43442/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43442/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43442/events | https://github.com/pandas-dev/pandas/issues/43442 | 989,811,383 | MDU6SXNzdWU5ODk4MTEzODM= | 43,442 | BUG: ExcelWriter `engine_kwargs` not passed through to other engines than xlsxwriter #42292 #42214 #43440 | {
"avatar_url": "https://avatars.githubusercontent.com/u/33122845?v=4",
"events_url": "https://api.github.com/users/Joeperdefloep/events{/privacy}",
"followers_url": "https://api.github.com/users/Joeperdefloep/followers",
"following_url": "https://api.github.com/users/Joeperdefloep/following{/other_user}",
"gists_url": "https://api.github.com/users/Joeperdefloep/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Joeperdefloep",
"id": 33122845,
"login": "Joeperdefloep",
"node_id": "MDQ6VXNlcjMzMTIyODQ1",
"organizations_url": "https://api.github.com/users/Joeperdefloep/orgs",
"received_events_url": "https://api.github.com/users/Joeperdefloep/received_events",
"repos_url": "https://api.github.com/users/Joeperdefloep/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Joeperdefloep/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Joeperdefloep/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Joeperdefloep"
} | [
{
"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": "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"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-09-07T09:59:59Z" | "2021-09-29T13:19:30Z" | null | CONTRIBUTOR | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [X] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import pandas as pd
from datetime import datetime
with pd.ExcelWriter("file.xlsx",engine="openpyxl",engine_kwarg={"iso_dates":True}) as writer:
pd.DataFrame([datetime(1996,20,10)]).to_excel(writer)
```
### Issue Description
the arguments are silently not passed through to the openpyxl [`Workbook`](https://openpyxl.readthedocs.io/en/stable/api/openpyxl.workbook.workbook.html) class.
### Expected Behavior
This should either raise or pass through to the engine
### Installed Versions
<details>
/home/kees/miniconda3/envs/pd-doc/lib/python3.8/site-packages/fastparquet/dataframe.py:5: FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas in a future version. Use pandas.NumericIndex with the appropriate dtype instead.
from pandas import (
INSTALLED VERSIONS
------------------
commit : 73c473dce9f07bba96993c42843320e116cf94ea
python : 3.8.10.final.0
python-bits : 64
OS : Linux
OS-release : 5.8.0-59-generic
Version : #66~20.04.1-Ubuntu SMP Thu Jun 17 11:14:10 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.4.0.dev0+613.g73c473dce9.dirty
numpy : 1.21.2
pytz : 2021.1
dateutil : 2.8.2
pip : 21.2.4
setuptools : 57.4.0
Cython : 0.29.24
pytest : 6.2.5
hypothesis : 6.18.0
sphinx : 4.1.2
blosc : None
feather : None
xlsxwriter : 3.0.1
lxml.etree : 4.6.3
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 3.0.1
IPython : 7.27.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 2021.05.0
fastparquet : 0.7.1
gcsfs : 2021.05.0
matplotlib : 3.4.3
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : 5.0.0
pyxlsb : None
s3fs : 2021.05.0
scipy : 1.7.1
sqlalchemy : 1.4.23
tables : 3.6.1
tabulate : 0.8.9
xarray : 0.18.2
xlrd : 2.0.1
xlwt : 1.3.0
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/43442/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43442/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43443 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43443/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43443/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43443/events | https://github.com/pandas-dev/pandas/pull/43443 | 989,845,195 | MDExOlB1bGxSZXF1ZXN0NzI4NTIzMjcw | 43,443 | BUG: use TypeError (not OSError) when read_csv expects file path name or file-like object | {
"avatar_url": "https://avatars.githubusercontent.com/u/895458?v=4",
"events_url": "https://api.github.com/users/mwtoews/events{/privacy}",
"followers_url": "https://api.github.com/users/mwtoews/followers",
"following_url": "https://api.github.com/users/mwtoews/following{/other_user}",
"gists_url": "https://api.github.com/users/mwtoews/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mwtoews",
"id": 895458,
"login": "mwtoews",
"node_id": "MDQ6VXNlcjg5NTQ1OA==",
"organizations_url": "https://api.github.com/users/mwtoews/orgs",
"received_events_url": "https://api.github.com/users/mwtoews/received_events",
"repos_url": "https://api.github.com/users/mwtoews/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mwtoews/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mwtoews/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mwtoews"
} | [] | closed | false | null | [] | null | 1 | "2021-09-07T10:40:01Z" | "2021-09-07T11:19:51Z" | "2021-09-07T11:16:37Z" | CONTRIBUTOR | null | The exception class was changed from `IOError` (alias of `OSError`) to `TypeError` when `read_csv` expects file path or file-like object.
This bug is split from #43366, but with more clear intent and added test. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43443/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43443/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43443.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43443",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43443.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43443"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43444 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43444/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43444/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43444/events | https://github.com/pandas-dev/pandas/pull/43444 | 989,965,457 | MDExOlB1bGxSZXF1ZXN0NzI4NjI3NTMz | 43,444 | Backport PR #43410 on branch 1.3.x (REGR: Resampler.aggregate fails when used with column selection) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
] | closed | false | null | [] | {
"closed_at": "2021-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 0 | "2021-09-07T13:07:07Z" | "2021-09-07T14:09:51Z" | "2021-09-07T14:09:50Z" | NONE | null | Backport PR #43410: REGR: Resampler.aggregate fails when used with column selection | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43444/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43444/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43444.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43444",
"merged_at": "2021-09-07T14:09:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43444.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43444"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43445 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43445/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43445/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43445/events | https://github.com/pandas-dev/pandas/pull/43445 | 990,121,047 | MDExOlB1bGxSZXF1ZXN0NzI4NzU3Mzcz | 43,445 | Pass through Engine kwargs in ExcelWriter | {
"avatar_url": "https://avatars.githubusercontent.com/u/33122845?v=4",
"events_url": "https://api.github.com/users/Joeperdefloep/events{/privacy}",
"followers_url": "https://api.github.com/users/Joeperdefloep/followers",
"following_url": "https://api.github.com/users/Joeperdefloep/following{/other_user}",
"gists_url": "https://api.github.com/users/Joeperdefloep/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Joeperdefloep",
"id": 33122845,
"login": "Joeperdefloep",
"node_id": "MDQ6VXNlcjMzMTIyODQ1",
"organizations_url": "https://api.github.com/users/Joeperdefloep/orgs",
"received_events_url": "https://api.github.com/users/Joeperdefloep/received_events",
"repos_url": "https://api.github.com/users/Joeperdefloep/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Joeperdefloep/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Joeperdefloep/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Joeperdefloep"
} | [
{
"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"
}
] | open | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4",
"events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}",
"followers_url": "https://api.github.com/users/alimcmaster1/followers",
"following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}",
"gists_url": "https://api.github.com/users/alimcmaster1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alimcmaster1",
"id": 16733618,
"login": "alimcmaster1",
"node_id": "MDQ6VXNlcjE2NzMzNjE4",
"organizations_url": "https://api.github.com/users/alimcmaster1/orgs",
"received_events_url": "https://api.github.com/users/alimcmaster1/received_events",
"repos_url": "https://api.github.com/users/alimcmaster1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alimcmaster1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alimcmaster1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alimcmaster1"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4",
"events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}",
"followers_url": "https://api.github.com/users/alimcmaster1/followers",
"following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}",
"gists_url": "https://api.github.com/users/alimcmaster1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alimcmaster1",
"id": 16733618,
"login": "alimcmaster1",
"node_id": "MDQ6VXNlcjE2NzMzNjE4",
"organizations_url": "https://api.github.com/users/alimcmaster1/orgs",
"received_events_url": "https://api.github.com/users/alimcmaster1/received_events",
"repos_url": "https://api.github.com/users/alimcmaster1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alimcmaster1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alimcmaster1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alimcmaster1"
}
] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 7 | "2021-09-07T15:46:38Z" | "2021-11-18T21:22:51Z" | null | CONTRIBUTOR | null | - [x] closes #43442
- [x] closes #43440
- [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 is the revised version of #42214. In fact, in xlsxwriter, all kwargs are passed like so:
```python
ExcelWriter("path_to_file.xlsx",engine="xlsxwriter",engine_kwargs={"options":{"nan_inf_to_errors":True}})
```
which then becomes internally:
```python
from xlsxwriter import Workbook
Workbook("path_to_file.xlsx",options={"nan_inf_to_errors":True})
```
so my initial fix was wrong in that sense, because I made `engine_kwargs` able to be passed in like this:
```python
ExcelWriter("path_to_file.xlsx",engine="xlsxwriter",engine_kwargs={"nan_inf_to_errors":True})
```
and the resulted internals:
```python
Workbook("pat_to_file.xlsx",{"nan_inf_to_errors":True})
```
so #42214 was actually wrong (we want users to actually pass in **kw**args.
However, there was still the issue of #43442, where the following engines *do* have some options that were silently ignored:
* *openpyxl* can set `iso_dates` and `write_only`
* *xlwt* can set `style_compression` (not sure why anybody would want this, but people may)
* *xlsxwriter* has many `options`
so I added tests for that in `engine_kwargs`. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43445/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43445/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43445.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43445",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43445.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43445"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43446 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43446/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43446/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43446/events | https://github.com/pandas-dev/pandas/pull/43446 | 990,143,735 | MDExOlB1bGxSZXF1ZXN0NzI4Nzc2Nzc1 | 43,446 | REF: share _wrap_aggregated_output | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-09-07T16:13:28Z" | "2021-09-07T23:08:28Z" | "2021-09-07T22:59:53Z" | 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/43446/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43446/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43446.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43446",
"merged_at": "2021-09-07T22:59:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43446.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43446"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43447 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43447/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43447/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43447/events | https://github.com/pandas-dev/pandas/pull/43447 | 990,169,249 | MDExOlB1bGxSZXF1ZXN0NzI4Nzk4Njcy | 43,447 | REGR: SpooledTemporaryFile support in read_csv | {
"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": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
] | closed | false | null | [] | {
"closed_at": "2021-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 8 | "2021-09-07T16:47:48Z" | "2021-09-10T00:24:31Z" | "2021-09-10T00:24:11Z" | CONTRIBUTOR | null | - [ ] closes #43439
- [ ] 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
Probably should throw a warning, if we cannot wrap the handle with `io.TextIOWrapper`.
To avoid the try-except, we could check whether the handle has the `readable` attribute, but there might be other attribute errors that might occur inside `TextIOWrapper`. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43447/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43447/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43447.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43447",
"merged_at": "2021-09-10T00:24:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43447.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43447"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43448 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43448/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43448/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43448/events | https://github.com/pandas-dev/pandas/issues/43448 | 990,204,871 | MDU6SXNzdWU5OTAyMDQ4NzE= | 43,448 | BUG: `groupby` on categorical columns creates unexisting combinations | {
"avatar_url": "https://avatars.githubusercontent.com/u/46298009?v=4",
"events_url": "https://api.github.com/users/Seon82/events{/privacy}",
"followers_url": "https://api.github.com/users/Seon82/followers",
"following_url": "https://api.github.com/users/Seon82/following{/other_user}",
"gists_url": "https://api.github.com/users/Seon82/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Seon82",
"id": 46298009,
"login": "Seon82",
"node_id": "MDQ6VXNlcjQ2Mjk4MDA5",
"organizations_url": "https://api.github.com/users/Seon82/orgs",
"received_events_url": "https://api.github.com/users/Seon82/received_events",
"repos_url": "https://api.github.com/users/Seon82/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Seon82/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Seon82/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Seon82"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] | closed | false | null | [] | null | 3 | "2021-09-07T17:36:16Z" | "2021-09-13T16:05:03Z" | "2021-09-13T16:05:03Z" | NONE | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [x] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import pandas as pd
df = pd.DataFrame(
{
"col1": [1, 1, 2, 2, 3, 3],
"col2": ["a", "a", "b", "b", "c", "c"],
"col3": [8, 8, 8, 8, 8, 8],
}
)
df.col1 = df.col1.astype("category")
df.groupby(["col1", "col2"]).col3.first()
```
Output:
```
col1 col2 col3
1 a 8.0
1 b NaN
1 c NaN
2 a NaN
2 b 8.0
2 c NaN
3 a NaN
3 b NaN
3 c 8.0
```
### Issue Description
Combinations that don't exist in the original dataframe are created after the `groupby`, for instance: `col1=1 and col2='b'`.
### Expected Behavior
```python
import pandas as pd
df = pd.DataFrame(
{
"col1": [1, 1, 2, 2, 3, 3],
"col2": ["a", "a", "b", "b", "c", "c"],
"col3": [8, 8, 8, 8, 8, 8],
}
)
df.groupby(["col1", "col2"]).col3.first()
```
Output when `col1` isn't a category:
```
col1 col2 col3
1 a 8
2 b 8
3 c 8
```
### Installed Versions
<details>
INSTALLED VERSIONS
------------------
commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b
python : 3.9.6.final.0
python-bits : 64
OS : Linux
OS-release : 4.4.0-19041-Microsoft
Version : #1151-Microsoft Thu Jul 22 21:05:00 PST 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : C.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.3.2
numpy : 1.21.2
pytz : 2021.1
dateutil : 2.8.2
pip : 21.2.4
setuptools : 56.0.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 : 3.0.1
IPython : 7.27.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 2021.08.1
fastparquet : None
gcsfs : None
matplotlib : 3.4.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.7.1
sqlalchemy : 1.4.23
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/43448/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43448/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43449 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43449/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43449/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43449/events | https://github.com/pandas-dev/pandas/pull/43449 | 990,235,140 | MDExOlB1bGxSZXF1ZXN0NzI4ODUyOTc0 | 43,449 | REF: share _wrap_transformed_output | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-09-07T18:20:10Z" | "2021-09-09T15:27:20Z" | "2021-09-09T12:34:40Z" | MEMBER | null | Sits on top of #43446 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43449/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43449/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43449.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43449",
"merged_at": "2021-09-09T12:34:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43449.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43449"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43450 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43450/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43450/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43450/events | https://github.com/pandas-dev/pandas/pull/43450 | 990,336,839 | MDExOlB1bGxSZXF1ZXN0NzI4OTM5NjU4 | 43,450 | Regression in loc setitem raising ValueError when setting array as cell value | {
"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-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 3 | "2021-09-07T20:42:18Z" | "2021-09-08T07:25:12Z" | "2021-09-07T21:59:33Z" | MEMBER | null | - [x] closes #43422
- [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": 1,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43450/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43450/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43450.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43450",
"merged_at": "2021-09-07T21:59:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43450.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43450"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43451 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43451/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43451/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43451/events | https://github.com/pandas-dev/pandas/issues/43451 | 990,371,177 | MDU6SXNzdWU5OTAzNzExNzc= | 43,451 | BUILD: Incorrect filenames on pypi | {
"avatar_url": "https://avatars.githubusercontent.com/u/4199385?v=4",
"events_url": "https://api.github.com/users/cmdawson/events{/privacy}",
"followers_url": "https://api.github.com/users/cmdawson/followers",
"following_url": "https://api.github.com/users/cmdawson/following{/other_user}",
"gists_url": "https://api.github.com/users/cmdawson/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cmdawson",
"id": 4199385,
"login": "cmdawson",
"node_id": "MDQ6VXNlcjQxOTkzODU=",
"organizations_url": "https://api.github.com/users/cmdawson/orgs",
"received_events_url": "https://api.github.com/users/cmdawson/received_events",
"repos_url": "https://api.github.com/users/cmdawson/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cmdawson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cmdawson/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cmdawson"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 3 | "2021-09-07T21:33:58Z" | "2021-09-07T23:00:56Z" | "2021-09-07T22:43:31Z" | NONE | null | ###
- [X] I have read the [installation guide](https://pandas.pydata.org/pandas-docs/stable/getting_started/install.html#installing-pandas).
### Platform
Linux-4.15.0-144-generic-x86_64-with-glibc2.27
### Installation Method
pip install
### pandas Version
latest
### Python Version
3.8
### Installation Logs
Files on https://pypi.org/project/pandas/#files appear to have a duplicated platform tag e.g.
```pandas-1.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl```
instead of
```pandas-1.3.2-cp38-cp38-manylinux_2_17_x86_64.whl```
So pip installs are not able to match and will attempt to build from source. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43451/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43451/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43452 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43452/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43452/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43452/events | https://github.com/pandas-dev/pandas/issues/43452 | 990,382,230 | MDU6SXNzdWU5OTAzODIyMzA= | 43,452 | ENH: pd.Index to .toset() method | {
"avatar_url": "https://avatars.githubusercontent.com/u/9061708?v=4",
"events_url": "https://api.github.com/users/jolespin/events{/privacy}",
"followers_url": "https://api.github.com/users/jolespin/followers",
"following_url": "https://api.github.com/users/jolespin/following{/other_user}",
"gists_url": "https://api.github.com/users/jolespin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jolespin",
"id": 9061708,
"login": "jolespin",
"node_id": "MDQ6VXNlcjkwNjE3MDg=",
"organizations_url": "https://api.github.com/users/jolespin/orgs",
"received_events_url": "https://api.github.com/users/jolespin/received_events",
"repos_url": "https://api.github.com/users/jolespin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jolespin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jolespin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jolespin"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "207de5",
"default": false,
"description": "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": "006b75",
"default": false,
"description": "union, intersection, difference, symmetric_difference",
"id": 3073524400,
"name": "setops",
"node_id": "MDU6TGFiZWwzMDczNTI0NDAw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/setops"
}
] | open | false | null | [] | null | 0 | "2021-09-07T21:50:11Z" | "2021-09-30T23:31:53Z" | null | NONE | null | #### Is your feature request related to a problem?
Yes, it would be much easier to set comprehension and return sets of things
```python
a = pd.Index([1,1,2,3,4])
b = pd.Index([2,3,5])
c = pd.Index([3,5,6])
a.intersection(b).intersection(c)
# Int64Index([3], dtype='int64')
```
#### Describe the solution you'd like
It would be nice if this could be done:
```python
a.toset() & b.toset() & c.toset()
```
For example, what if there are a list of `N` indexes:
```python
indexes = [a, b, c, ..., N]
set.intersection(*map(lambda x: x.toset(), indexes))
set.union(*map(lambda x: x.toset(), indexes))
```
Yes you could do `set(x)` but sometimes the expression is much more complex and having nested parentheses makes it more confusing to keep track of everything. Same reason why `.tolist()` exists I suspect.
#### API breaking implications
Should not break API at all.
#### Describe alternatives you've considered
Parentheses but as mentioned nested parentheses gets confusing for complex one liners
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43452/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43452/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43453 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43453/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43453/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43453/events | https://github.com/pandas-dev/pandas/pull/43453 | 990,386,899 | MDExOlB1bGxSZXF1ZXN0NzI4OTgzMTQ0 | 43,453 | Backport PR #43450 on branch 1.3.x (Regression in loc setitem raising ValueError when setting array as cell value) | {
"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": "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-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 0 | "2021-09-07T21:59:41Z" | "2021-09-07T22:58:26Z" | "2021-09-07T22:58:26Z" | NONE | null | Backport PR #43450: Regression in loc setitem raising ValueError when setting array as cell value | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43453/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43453/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43453.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43453",
"merged_at": "2021-09-07T22:58:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43453.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43453"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43454 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43454/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43454/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43454/events | https://github.com/pandas-dev/pandas/issues/43454 | 990,432,020 | MDU6SXNzdWU5OTA0MzIwMjA= | 43,454 | REF: use common utilities when implementing EA._get_common_dtype | {
"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": "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"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] | open | false | null | [] | null | 2 | "2021-09-07T23:36:58Z" | "2021-09-09T00:46:16Z" | null | MEMBER | null | From #43409, https://github.com/pandas-dev/pandas/pull/43409#discussion_r703891397.
Look to use `is_*_dtype` instead of `isinstance` when implementing `_get_common_dtype` for EA'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/43454/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43454/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43455 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43455/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43455/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43455/events | https://github.com/pandas-dev/pandas/pull/43455 | 990,597,228 | MDExOlB1bGxSZXF1ZXN0NzI5MTc2NDY3 | 43,455 | REGR: fillna on f32 column raising for f64 | {
"avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4",
"events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}",
"followers_url": "https://api.github.com/users/mzeitlin11/followers",
"following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mzeitlin11",
"id": 37011898,
"login": "mzeitlin11",
"node_id": "MDQ6VXNlcjM3MDExODk4",
"organizations_url": "https://api.github.com/users/mzeitlin11/orgs",
"received_events_url": "https://api.github.com/users/mzeitlin11/received_events",
"repos_url": "https://api.github.com/users/mzeitlin11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mzeitlin11"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "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": "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": "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-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 7 | "2021-09-08T02:17:12Z" | "2021-09-09T12:55:24Z" | "2021-09-09T11:37:26Z" | MEMBER | null | - [x] closes #43424
- [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
For now have put whatsnew in 1.3.3, but might be better for 1.4 since regression is later (worked in 1.1.5) and the `can_hold_element` change causes subtle indexing behavior differences (but that are now more consistent between int and float) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43455/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43455/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43455.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43455",
"merged_at": "2021-09-09T11:37:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43455.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43455"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43456 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43456/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43456/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43456/events | https://github.com/pandas-dev/pandas/pull/43456 | 990,636,180 | MDExOlB1bGxSZXF1ZXN0NzI5MjExODk1 | 43,456 | TST: add test to check numeric precision GH33234 | {
"avatar_url": "https://avatars.githubusercontent.com/u/11304533?v=4",
"events_url": "https://api.github.com/users/whitneymichelle/events{/privacy}",
"followers_url": "https://api.github.com/users/whitneymichelle/followers",
"following_url": "https://api.github.com/users/whitneymichelle/following{/other_user}",
"gists_url": "https://api.github.com/users/whitneymichelle/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/whitneymichelle",
"id": 11304533,
"login": "whitneymichelle",
"node_id": "MDQ6VXNlcjExMzA0NTMz",
"organizations_url": "https://api.github.com/users/whitneymichelle/orgs",
"received_events_url": "https://api.github.com/users/whitneymichelle/received_events",
"repos_url": "https://api.github.com/users/whitneymichelle/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/whitneymichelle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/whitneymichelle/subscriptions",
"type": "User",
"url": "https://api.github.com/users/whitneymichelle"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"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": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-09-08T03:04:14Z" | "2021-11-06T21:36:18Z" | "2021-11-06T21:36:18Z" | NONE | null | test to check numeric precision after .groupby and .agg
- [X] closes #33234
- [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/43456/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43456/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43456.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43456",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43456.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43456"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43457 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43457/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43457/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43457/events | https://github.com/pandas-dev/pandas/issues/43457 | 990,796,568 | MDU6SXNzdWU5OTA3OTY1Njg= | 43,457 | ENH: `assert_frame_equal` to show column name for columns of dtype `datetime64[ns]` | {
"avatar_url": "https://avatars.githubusercontent.com/u/7835508?v=4",
"events_url": "https://api.github.com/users/roger-yu-ds/events{/privacy}",
"followers_url": "https://api.github.com/users/roger-yu-ds/followers",
"following_url": "https://api.github.com/users/roger-yu-ds/following{/other_user}",
"gists_url": "https://api.github.com/users/roger-yu-ds/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/roger-yu-ds",
"id": 7835508,
"login": "roger-yu-ds",
"node_id": "MDQ6VXNlcjc4MzU1MDg=",
"organizations_url": "https://api.github.com/users/roger-yu-ds/orgs",
"received_events_url": "https://api.github.com/users/roger-yu-ds/received_events",
"repos_url": "https://api.github.com/users/roger-yu-ds/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/roger-yu-ds/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/roger-yu-ds/subscriptions",
"type": "User",
"url": "https://api.github.com/users/roger-yu-ds"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"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": "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"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 1 | "2021-09-08T07:13:57Z" | "2021-09-11T21:12:14Z" | null | NONE | null | #### Is your feature request related to a problem?
I wish I could use [`pandas.testing.assert_frame_equal`](https://pandas.pydata.org/docs/reference/api/pandas.testing.assert_frame_equal.html) to determine which of my `datetime64[ns]` columns are not equal when comparing two dataframes. Currently the output is `AssertionError: numpy array are different` without indicating which columns are different.
#### Describe the solution you'd like
When two dataframes with `datetime64[ns]` columns are compared using [`pandas.testing.assert_frame_equal`](https://pandas.pydata.org/docs/reference/api/pandas.testing.assert_frame_equal.html) and there are different values, the output should also have the column name that has this difference, e.g. `AssertionError: DataFrame.iloc[:, 1] (column name="b") are different`.
#### Additional context
Minimal reproducible code below. If you change one of the `datetime` values to an integer, the dtype of the column will be `object`, in which case, the desired behaviour is shown.
```python
import pandas as pd
from pandas.testing import assert_frame_equal
df_left = pd.DataFrame({'a': [1, 2], 'b': [
datetime(2021, 1, 1),
# 1,
datetime(2021, 1, 2)
]})
df_right = pd.DataFrame({'a': [1, 2], 'b': [
datetime(2021, 1, 1),
# 1,
datetime(2021, 1, 3)
]})
assert_frame_equal(left=df_left, right=df_right)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43457/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43457/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43458 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43458/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43458/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43458/events | https://github.com/pandas-dev/pandas/pull/43458 | 991,136,862 | MDExOlB1bGxSZXF1ZXN0NzI5NjQ1ODQ1 | 43,458 | DOC: 'if_sheet_exists' only on openpyxl in stead of 'append' | {
"avatar_url": "https://avatars.githubusercontent.com/u/33122845?v=4",
"events_url": "https://api.github.com/users/Joeperdefloep/events{/privacy}",
"followers_url": "https://api.github.com/users/Joeperdefloep/followers",
"following_url": "https://api.github.com/users/Joeperdefloep/following{/other_user}",
"gists_url": "https://api.github.com/users/Joeperdefloep/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Joeperdefloep",
"id": 33122845,
"login": "Joeperdefloep",
"node_id": "MDQ6VXNlcjMzMTIyODQ1",
"organizations_url": "https://api.github.com/users/Joeperdefloep/orgs",
"received_events_url": "https://api.github.com/users/Joeperdefloep/received_events",
"repos_url": "https://api.github.com/users/Joeperdefloep/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Joeperdefloep/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Joeperdefloep/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Joeperdefloep"
} | [] | closed | false | null | [] | null | 1 | "2021-09-08T13:25:02Z" | "2021-09-08T13:35:30Z" | "2021-09-08T13:35:30Z" | CONTRIBUTOR | null | - [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
The `if_sheet_exists` parameter works also in write mode of openpyxl. e.g.:
```python
import pandas as pd
with pd.ExcelWriter("f.xlsx",engine="openpyxl") as writer:
pd.DataFrame([1,2]).to_excel(writer)
pd.DataFrame([3,4]).to_excel(writer)
```
will raise an error, because the default `if_sheet_exists` is set to "error". This could be fixed by this simple docs change, or changing the default of `if_sheet_exists` to "overlay". However, if that is the case, it could also very well be implemented for other engines. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43458/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43458/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43458.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43458",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43458.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43458"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43459 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43459/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43459/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43459/events | https://github.com/pandas-dev/pandas/pull/43459 | 991,180,156 | MDExOlB1bGxSZXF1ZXN0NzI5NjgyMDQy | 43,459 | TST: add test to read empty array | {
"avatar_url": "https://avatars.githubusercontent.com/u/33854773?v=4",
"events_url": "https://api.github.com/users/nakatomotoi/events{/privacy}",
"followers_url": "https://api.github.com/users/nakatomotoi/followers",
"following_url": "https://api.github.com/users/nakatomotoi/following{/other_user}",
"gists_url": "https://api.github.com/users/nakatomotoi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nakatomotoi",
"id": 33854773,
"login": "nakatomotoi",
"node_id": "MDQ6VXNlcjMzODU0Nzcz",
"organizations_url": "https://api.github.com/users/nakatomotoi/orgs",
"received_events_url": "https://api.github.com/users/nakatomotoi/received_events",
"repos_url": "https://api.github.com/users/nakatomotoi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nakatomotoi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nakatomotoi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nakatomotoi"
} | [
{
"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": "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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 3 | "2021-09-08T14:05:33Z" | "2021-09-29T13:07:25Z" | "2021-09-29T12:58:50Z" | CONTRIBUTOR | null | - [ ] closes #41241
- [ ] 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/43459/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43459/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43459.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43459",
"merged_at": "2021-09-29T12:58:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43459.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43459"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43460 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43460/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43460/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43460/events | https://github.com/pandas-dev/pandas/issues/43460 | 991,194,976 | MDU6SXNzdWU5OTExOTQ5NzY= | 43,460 | ENH: Behaviour Series.isin with dataframe comparison is confusing [for discussion] | {
"avatar_url": "https://avatars.githubusercontent.com/u/34067903?v=4",
"events_url": "https://api.github.com/users/erfannariman/events{/privacy}",
"followers_url": "https://api.github.com/users/erfannariman/followers",
"following_url": "https://api.github.com/users/erfannariman/following{/other_user}",
"gists_url": "https://api.github.com/users/erfannariman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/erfannariman",
"id": 34067903,
"login": "erfannariman",
"node_id": "MDQ6VXNlcjM0MDY3OTAz",
"organizations_url": "https://api.github.com/users/erfannariman/orgs",
"received_events_url": "https://api.github.com/users/erfannariman/received_events",
"repos_url": "https://api.github.com/users/erfannariman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/erfannariman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/erfannariman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/erfannariman"
} | [
{
"color": "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": "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": "fef2c0",
"default": false,
"description": "isin method",
"id": 2468482981,
"name": "isin",
"node_id": "MDU6TGFiZWwyNDY4NDgyOTgx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/isin"
}
] | open | false | null | [] | null | 2 | "2021-09-08T14:19:18Z" | "2021-09-12T12:04:51Z" | null | CONTRIBUTOR | null | Right now we can compare a Series with a DataFrame through `Series.isin`, but is this expected / wanted behaviour?
I would say this should raise, since expectations can be pretty ambiguous here and is confusing to me.
Also the [documentation](https://pandas.pydata.org/docs/reference/api/pandas.Series.isin.html) right now states that the `values` parameter should be "set or list-like"
Code example:
```python
values = list("ABCD")
s = pd.Series(values)
df = pd.DataFrame({"Column": values})
print(s)
0 A
1 B
2 C
3 D
dtype: object
print(df)
Column
0 A
1 B
2 C
3 D
```
```python
# comparing DataFrame to Series, this is okay (right?) and I understand the result
df.isin(s)
Column
0 True
1 True
2 True
3 True
# comparing a series to df, what do we expect here? Should this raise? Why do you want to compare a Series to a DataFrame?
s.isin(df)
0 False
1 False
2 False
3 False
dtype: bool
```
Proposal: when passing anything else than "set or list-like" should raise in `Series.isin` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43460/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43460/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43461 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43461/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43461/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43461/events | https://github.com/pandas-dev/pandas/issues/43461 | 991,343,594 | MDU6SXNzdWU5OTEzNDM1OTQ= | 43,461 | Avoid import warning when lzma is missing | {
"avatar_url": "https://avatars.githubusercontent.com/u/630936?v=4",
"events_url": "https://api.github.com/users/rth/events{/privacy}",
"followers_url": "https://api.github.com/users/rth/followers",
"following_url": "https://api.github.com/users/rth/following{/other_user}",
"gists_url": "https://api.github.com/users/rth/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rth",
"id": 630936,
"login": "rth",
"node_id": "MDQ6VXNlcjYzMDkzNg==",
"organizations_url": "https://api.github.com/users/rth/orgs",
"received_events_url": "https://api.github.com/users/rth/received_events",
"repos_url": "https://api.github.com/users/rth/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rth/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rth/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rth"
} | [
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
},
{
"color": "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 | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 2 | "2021-09-08T16:57:15Z" | "2021-09-10T09:07:23Z" | null | CONTRIBUTOR | null | Currently if Python is built without lzma, following https://github.com/pandas-dev/pandas/pull/27882 a warning is going to be shown to users at import time,
```
lib/python3.9/site-packages/pandas/compat/__init__.py:117: UserWarning: Could not import the lzma
module. Your installed Python is incomplete. Attempting to use lzma compression will result in a
RuntimeError.
```
I don't believe this is helpful. While lzma is part of stdlib, CPython [builds perfectly fine](https://github.com/python/cpython/blob/2ec9428e3516b6e7c6583687aa3b39fb96925577/setup.py#L1736-L1740) without lzma, and most of the test suite [gracefully handles](https://github.com/python/cpython/blob/6564656495d456a1bcc1aaa06abfc696209f37b2/Lib/test/test_shutil.py#L1584) the fact that lzma might be missing.
Of course the `RuntimeError` is unavoidable, but I think the warning about "Your installed Python is incomplete" at import time is confusing to users. Particularly that in my, possibly biased experience, opening xz compressed files is not that common: users would most often either read plain text/csv for readability (possibly gzip compressed) or switch to parquet with compression if they care about size/performance. So most users should not be affected by this even if they don't have lzma.
For instance in [Pyodide](https://github.com/pyodide/pyodide) this warning makes users wonder what is wrong with their install https://github.com/pyodide/pyodide/issues/1821 :) We will likely include lzma eventually, but so far there haven't been much requests for it (and every extra module has a download size penalty). | {
"+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/43461/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43461/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43462 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43462/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43462/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43462/events | https://github.com/pandas-dev/pandas/issues/43462 | 991,372,049 | MDU6SXNzdWU5OTEzNzIwNDk= | 43,462 | CI: re-run failed tests | {
"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": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 2 | "2021-09-08T17:33:04Z" | "2021-09-08T17:53:44Z" | "2021-09-08T17:53:43Z" | CONTRIBUTOR | null | I can see there is the re-run tests that have failed in **some** of the sections of a PR review.
Some jobs, though, dont have the option to re-run in isolation. Is there a way of getting a button in github that re-runs just failed tests. I imagine this would improve the performance by avoiding recalculating the majority of the jobs which have already passed?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43462/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43462/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43463 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43463/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43463/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43463/events | https://github.com/pandas-dev/pandas/issues/43463 | 991,399,667 | MDU6SXNzdWU5OTEzOTk2Njc= | 43,463 | BUILD: cant use pandas without bottleneck | {
"avatar_url": "https://avatars.githubusercontent.com/u/79041106?v=4",
"events_url": "https://api.github.com/users/ronyeh-lb/events{/privacy}",
"followers_url": "https://api.github.com/users/ronyeh-lb/followers",
"following_url": "https://api.github.com/users/ronyeh-lb/following{/other_user}",
"gists_url": "https://api.github.com/users/ronyeh-lb/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ronyeh-lb",
"id": 79041106,
"login": "ronyeh-lb",
"node_id": "MDQ6VXNlcjc5MDQxMTA2",
"organizations_url": "https://api.github.com/users/ronyeh-lb/orgs",
"received_events_url": "https://api.github.com/users/ronyeh-lb/received_events",
"repos_url": "https://api.github.com/users/ronyeh-lb/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ronyeh-lb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ronyeh-lb/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ronyeh-lb"
} | [
{
"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-09-08T18:10:11Z" | "2021-10-09T16:13:38Z" | "2021-10-09T16:13:38Z" | NONE | null | ###
- [X] I have read the [installation guide](https://pandas.pydata.org/pandas-docs/stable/getting_started/install.html#installing-pandas).
### Platform
mac 10.15.7
### Installation Method
pip install
### pandas Version
1.3.2
### Python Version
3.8
### Installation Logs
Hi,
im want to use pandas for a simple python project.
needed to import pd in a python module, in the simplest way and without install more requirements such as bottleneck.
im doing:
`import pandas as pd
`
and i tried to set
`pd.set_option("compute.use_bottleneck", False)
`
after the import, but it still throw error
`ImportError: Can't determine version for bottleneck
`
appreciate your help using pandas.
full log:
`Traceback (most recent call last):
File "/Users/xxx/github/xx/linb_kpi/visualize.py", line 5, in <module>
import pandas as pd
File "/Users/xx/github/commonvenv-new/lib/python3.8/site-packages/pandas/__init__.py", line 50, in <module>
from pandas.core.api import (
File "/Users/xx/github/commonvenv-new/lib/python3.8/site-packages/pandas/core/api.py", line 29, in <module>
from pandas.core.arrays import Categorical
File "/Users/xx/github/commonvenv-new/lib/python3.8/site-packages/pandas/core/arrays/__init__.py", line 6, in <module>
from pandas.core.arrays.boolean import BooleanArray
File "/Users/xx/github/commonvenv-new/lib/python3.8/site-packages/pandas/core/arrays/boolean.py", line 36, in <module>
from pandas.core.arrays.masked import (
File "/Users/xx/github/commonvenv-new/lib/python3.8/site-packages/pandas/core/arrays/masked.py", line 46, in <module>
from pandas.core import (
File "/Users/xx/github/commonvenv-new/lib/python3.8/site-packages/pandas/core/nanops.py", line 59, in <module>
bn = import_optional_dependency("bottleneck", errors="warn")
File "/Users/xx/github/commonvenv-new/lib/python3.8/site-packages/pandas/compat/_optional.py", line 131, in import_optional_dependency
version = get_version(module_to_get)
File "/Users/xx/github/commonvenv-new/lib/python3.8/site-packages/pandas/compat/_optional.py", line 60, in get_version
raise ImportError(f"Can't determine version for {module.__name__}")
ImportError: Can't determine version for bottleneck` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43463/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43463/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43464 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43464/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43464/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43464/events | https://github.com/pandas-dev/pandas/issues/43464 | 991,423,461 | MDU6SXNzdWU5OTE0MjM0NjE= | 43,464 | BUG: `Styler.hide_columns` fails when not sparsifying | {
"avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4",
"events_url": "https://api.github.com/users/attack68/events{/privacy}",
"followers_url": "https://api.github.com/users/attack68/followers",
"following_url": "https://api.github.com/users/attack68/following{/other_user}",
"gists_url": "https://api.github.com/users/attack68/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/attack68",
"id": 24256554,
"login": "attack68",
"node_id": "MDQ6VXNlcjI0MjU2NTU0",
"organizations_url": "https://api.github.com/users/attack68/orgs",
"received_events_url": "https://api.github.com/users/attack68/received_events",
"repos_url": "https://api.github.com/users/attack68/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attack68/subscriptions",
"type": "User",
"url": "https://api.github.com/users/attack68"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
},
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-09-08T18:41:34Z" | "2021-09-09T11:59:53Z" | "2021-09-09T11:59:53Z" | CONTRIBUTOR | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [X] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
pd.options.styler.sparse.columns=False
midx = MultiIndex.from_product([[1, 2],["a", "a", "b"]], names=["zero", "one"])
df = DataFrame(9, index=midx, columns=midx)
styler = df.style.hide_columns((1, "a"))
styler
```
### Issue Description

### Expected Behavior
Columns are hidden in the header row
### Installed Versions
<details>
Replace this line with the output of pd.show_versions()
</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/43464/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43464/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43465 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43465/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43465/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43465/events | https://github.com/pandas-dev/pandas/pull/43465 | 991,444,137 | MDExOlB1bGxSZXF1ZXN0NzI5OTA2MzI5 | 43,465 | BUG: `styler.hide_columns` fails when no sparsification | {
"avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4",
"events_url": "https://api.github.com/users/attack68/events{/privacy}",
"followers_url": "https://api.github.com/users/attack68/followers",
"following_url": "https://api.github.com/users/attack68/following{/other_user}",
"gists_url": "https://api.github.com/users/attack68/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/attack68",
"id": 24256554,
"login": "attack68",
"node_id": "MDQ6VXNlcjI0MjU2NTU0",
"organizations_url": "https://api.github.com/users/attack68/orgs",
"received_events_url": "https://api.github.com/users/attack68/received_events",
"repos_url": "https://api.github.com/users/attack68/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attack68/subscriptions",
"type": "User",
"url": "https://api.github.com/users/attack68"
} | [
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-09-08T19:09:28Z" | "2021-09-08T21:47:00Z" | "2021-09-08T21:24:54Z" | CONTRIBUTOR | null | - [x] closes #43464
- [x] tests added / passed
- [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/43465/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43465/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43465.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43465",
"merged_at": "2021-09-08T21:24:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43465.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43465"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43466 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43466/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43466/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43466/events | https://github.com/pandas-dev/pandas/pull/43466 | 991,500,273 | MDExOlB1bGxSZXF1ZXN0NzI5OTU0NzE0 | 43,466 | REF: de-duplicate result index construction in groupby | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-09-08T20:26:00Z" | "2021-09-08T22:34:28Z" | "2021-09-08T21:25:42Z" | 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/43466/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43466/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43466.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43466",
"merged_at": "2021-09-08T21:25:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43466.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43466"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43467 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43467/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43467/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43467/events | https://github.com/pandas-dev/pandas/pull/43467 | 991,582,904 | MDExOlB1bGxSZXF1ZXN0NzMwMDI3MTM1 | 43,467 | Make group_mean compatible with NaT | {
"avatar_url": "https://avatars.githubusercontent.com/u/13885630?v=4",
"events_url": "https://api.github.com/users/AlexeyGy/events{/privacy}",
"followers_url": "https://api.github.com/users/AlexeyGy/followers",
"following_url": "https://api.github.com/users/AlexeyGy/following{/other_user}",
"gists_url": "https://api.github.com/users/AlexeyGy/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AlexeyGy",
"id": 13885630,
"login": "AlexeyGy",
"node_id": "MDQ6VXNlcjEzODg1NjMw",
"organizations_url": "https://api.github.com/users/AlexeyGy/orgs",
"received_events_url": "https://api.github.com/users/AlexeyGy/received_events",
"repos_url": "https://api.github.com/users/AlexeyGy/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AlexeyGy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AlexeyGy/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AlexeyGy"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] | closed | false | null | [] | {
"closed_at": "2021-10-17T11:06:28Z",
"closed_issues": 77,
"created_at": "2021-09-10T19:48:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-10-17T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/90",
"id": 7142224,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels",
"node_id": "MI_kwDOAA0YD84AbPtQ",
"number": 90,
"open_issues": 0,
"state": "closed",
"title": "1.3.4",
"updated_at": "2021-10-18T11:00:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90"
} | 26 | "2021-09-08T22:28:28Z" | "2021-09-18T02:32:24Z" | "2021-09-18T02:31:52Z" | CONTRIBUTOR | null | Make group_mean compatible with NaT
## Background
NaT is the datetime equivalent of NaN and is set to be the lowest possible 64-bit integer -(2**63). Previously, we could not support this value in any groupby.mean() calculations which lead to #43132.
## Implementation
On a high level, we slightly modify the `group_mean` to not count NaT values. To do so, we introduce the `is_datetimelike` parameter to the function call (already present in other functions, e.g., `group_cumsum`).
## Tests
This PR adds integration and unit tests for the new functionality. In contrast to other tests in classes, I've tried to keep an individual test's scope as small as possible.
## Notes
Additionally, I've taken the liberty to:
* Add a docstring for the group_mean algorithm.
- [x] closes #43132
- [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": 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/43467/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43467/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43467.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43467",
"merged_at": "2021-09-18T02:31:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43467.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43467"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43468 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43468/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43468/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43468/events | https://github.com/pandas-dev/pandas/pull/43468 | 991,715,313 | MDExOlB1bGxSZXF1ZXN0NzMwMTQwNTg0 | 43,468 | CI: split Windows Azure tests in half | {
"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": "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": "fbca04",
"default": false,
"description": "Windows OS",
"id": 57186974,
"name": "Windows",
"node_id": "MDU6TGFiZWw1NzE4Njk3NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows"
}
] | closed | false | null | [] | {
"closed_at": "2021-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 30 | "2021-09-09T03:19:52Z" | "2021-09-10T15:23:11Z" | "2021-09-10T12:39:28Z" | CONTRIBUTOR | null | Trying an experiment for Windows CI where `PYTEST_WORKERS` is `auto` rather than 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/43468/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43468/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43468.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43468",
"merged_at": "2021-09-10T12:39:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43468.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43468"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43469 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43469/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43469/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43469/events | https://github.com/pandas-dev/pandas/pull/43469 | 991,722,773 | MDExOlB1bGxSZXF1ZXN0NzMwMTQ2Nzk0 | 43,469 | PERF: groupby.quantile | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-09-09T03:39:40Z" | "2021-09-09T21:46:44Z" | "2021-09-09T21:18:42Z" | MEMBER | null | Nearly 10x
```
import pandas as pd
import numpy as np
np.random.seed(536445246)
arr = np.random.randn(10**5, 5)
df = pd.DataFrame(arr, columns=["A", "B", "C", "D", "E"])
gb = df.groupby(df.index % 7)
qs = np.arange(0, 1, 0.1)
%timeit res = gb.quantile(qs)
771 ms ± 34 ms per loop (mean ± std. dev. of 7 runs, 1 loop each) # <- master
81.2 ms ± 8.63 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) # <- PR
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43469/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43469/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43469.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43469",
"merged_at": "2021-09-09T21:18:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43469.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43469"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43470 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43470/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43470/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43470/events | https://github.com/pandas-dev/pandas/pull/43470 | 991,791,606 | MDExOlB1bGxSZXF1ZXN0NzMwMjA3MzY4 | 43,470 | BUG: `Styler` hidden elements sparse none | {
"avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4",
"events_url": "https://api.github.com/users/attack68/events{/privacy}",
"followers_url": "https://api.github.com/users/attack68/followers",
"following_url": "https://api.github.com/users/attack68/following{/other_user}",
"gists_url": "https://api.github.com/users/attack68/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/attack68",
"id": 24256554,
"login": "attack68",
"node_id": "MDQ6VXNlcjI0MjU2NTU0",
"organizations_url": "https://api.github.com/users/attack68/orgs",
"received_events_url": "https://api.github.com/users/attack68/received_events",
"repos_url": "https://api.github.com/users/attack68/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attack68/subscriptions",
"type": "User",
"url": "https://api.github.com/users/attack68"
} | [
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-09-09T05:40:54Z" | "2021-09-12T17:37:49Z" | "2021-09-09T11:59:53Z" | CONTRIBUTOR | null | - [x] closes #43464
- [x] tests added / passed
- [x] whatsnew entry
sorry, missed that this also applied to index. more generic fix 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/43470/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43470/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43470.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43470",
"merged_at": "2021-09-09T11:59:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43470.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43470"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43471 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43471/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43471/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43471/events | https://github.com/pandas-dev/pandas/issues/43471 | 991,863,653 | MDU6SXNzdWU5OTE4NjM2NTM= | 43,471 | ENH: expand multicol_align and multirow_align Styler.to_latex | {
"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": "to_latex",
"id": 251382258,
"name": "IO LaTeX",
"node_id": "MDU6TGFiZWwyNTEzODIyNTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20LaTeX"
},
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] | closed | false | null | [] | null | 0 | "2021-09-09T06:45:31Z" | "2021-09-21T14:09:54Z" | "2021-09-21T14:09:54Z" | CONTRIBUTOR | null | Currently styler only allows `multicol_align` in `{"r", "l", "c", "naive-l", "naive-r"}`
Simple pipe characters around multicol_alignment allow dividers to be drawn, e.g. `|r` or `|r|` or `r|` etc..
```
\begin{tabular}{lllrrrrrr}
\toprule
{} & {} & {} & \multicolumn{3}{|r|}{1} & \multicolumn{3}{|r|}{2} \\
{} & {} & {} & \multicolumn{2}{r|}{a} & {b} & \multicolumn{2}{|l}{a} & {b} \\
{} & {} & {} & {0} & {0} & {0} & {0} & {0} & {0} \\
\midrule
\multirow[t]{3}{*}{1} & \multirow[t]{2}{*}{a} & 0 & -1 & -1 & -1 & -1 & -1 & -1 \\
& & 0 & -1 & -1 & -1 & -1 & -1 & -1 \\
& b & 0 & -1 & -1 & -1 & -1 & -1 & -1 \\ \cline{1-3}
\multirow[t]{3}{*}{2} & \multirow[t]{2}{*}{a} & 0 & -1 & -1 & -1 & -1 & -1 & -1 \\
& & 0 & -1 & -1 & -1 & -1 & -1 & -1 \\
& b & 0 & -1 & -1 & -1 & -1 & -1 & -1 \\
\bottomrule
\end{tabular}
```

Also note the cline (this one might be harder to implement)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43471/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43471/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43472 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43472/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43472/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43472/events | https://github.com/pandas-dev/pandas/issues/43472 | 991,951,348 | MDU6SXNzdWU5OTE5NTEzNDg= | 43,472 | Add `inplace` input param to `add_prefix` and `add_suffix` | {
"avatar_url": "https://avatars.githubusercontent.com/u/45828280?v=4",
"events_url": "https://api.github.com/users/deponovo/events{/privacy}",
"followers_url": "https://api.github.com/users/deponovo/followers",
"following_url": "https://api.github.com/users/deponovo/following{/other_user}",
"gists_url": "https://api.github.com/users/deponovo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/deponovo",
"id": 45828280,
"login": "deponovo",
"node_id": "MDQ6VXNlcjQ1ODI4Mjgw",
"organizations_url": "https://api.github.com/users/deponovo/orgs",
"received_events_url": "https://api.github.com/users/deponovo/received_events",
"repos_url": "https://api.github.com/users/deponovo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/deponovo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/deponovo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/deponovo"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 4 | "2021-09-09T08:34:57Z" | "2021-09-30T23:38:03Z" | "2021-09-30T23:38:03Z" | NONE | null | I find myself often wanting to rename columns with a prefix or suffix **inplace** and want to avoid creating copies, so I end up with code as:
`df.rename(columns={col: add_prefix_or_suffix_func_prototype(col) for col in df.columns}, inplace=True)`
It would be a simple feature addition if the `add_prefix` and `add_suffix` would expose this `kwarg` (**inplace**) to simplify the code to:
`df.add_prefix('prefix', **inplace**=True) # same for add_suffix` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43472/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43472/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43473 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43473/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43473/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43473/events | https://github.com/pandas-dev/pandas/issues/43473 | 992,010,196 | MDU6SXNzdWU5OTIwMTAxOTY= | 43,473 | pytest -v failed about [email protected] on centos8_aarch64 | {
"avatar_url": "https://avatars.githubusercontent.com/u/77763324?v=4",
"events_url": "https://api.github.com/users/Tom-python0121/events{/privacy}",
"followers_url": "https://api.github.com/users/Tom-python0121/followers",
"following_url": "https://api.github.com/users/Tom-python0121/following{/other_user}",
"gists_url": "https://api.github.com/users/Tom-python0121/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Tom-python0121",
"id": 77763324,
"login": "Tom-python0121",
"node_id": "MDQ6VXNlcjc3NzYzMzI0",
"organizations_url": "https://api.github.com/users/Tom-python0121/orgs",
"received_events_url": "https://api.github.com/users/Tom-python0121/received_events",
"repos_url": "https://api.github.com/users/Tom-python0121/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Tom-python0121/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Tom-python0121/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Tom-python0121"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 4 | "2021-09-09T09:37:01Z" | "2021-09-11T02:15:01Z" | "2021-09-11T02:15:01Z" | NONE | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [X] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import pandas as pd
pd.test()
```
### Issue Description
```console
bug:
FAILED pandas/tests/config/test_localization.py::test_encoding_detected - LookupError: unknown encoding: C
FAILED pandas/tests/indexes/numeric/test_numeric.py::TestUInt64Index::test_constructor_does_not_cast_to_float
FAILED pandas/tests/io/test_clipboard.py::test_raw_roundtrip[\U0001f44d...] - pandas.io.clipboard.PyperclipException:
FAILED pandas/tests/io/test_clipboard.py::test_raw_roundtrip[\u03a9\u0153\u2211\xb4...] - pandas.io.clipboard.PyperclipException:
FAILED pandas/tests/io/test_clipboard.py::test_raw_roundtrip[abcd...] - pandas.io.clipboard.PyperclipException:
```
### Expected Behavior
```console
detail:
_____________________________________________________________________________________________ test_encoding_detected ______________________________________________________________________________________________
def test_encoding_detected():
system_locale = os.environ.get("LC_ALL")
system_encoding = system_locale.split(".")[-1] if system_locale else "utf-8"
> assert (
codecs.lookup(pd.options.display.encoding).name
== codecs.lookup(system_encoding).name
)
E LookupError: unknown encoding: C
pandas/tests/config/test_localization.py:106: LookupError
_____________________________________________________________________________ TestUInt64Index.test_constructor_does_not_cast_to_float _____________________________________________________________________________
[XPASS(strict)] https://github.com/numpy/numpy/issues/19146
________________________________________________________________________________________ test_raw_roundtrip[\U0001f44d...] ________________________________________________________________________________________
data = '👍...'
@pytest.mark.single
@pytest.mark.clipboard
@pytest.mark.parametrize("data", ["\U0001f44d...", "Ωœ∑´...", "abcd..."])
def test_raw_roundtrip(data):
# PR #25040 wide unicode wasn't copied correctly on PY3 on windows
> clipboard_set(data)
pandas/tests/io/test_clipboard.py:312:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pandas/io/clipboard/__init__.py:633: in lazy_load_stub_copy
return copy(text)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pandas.io.clipboard.init_no_clipboard.<locals>.ClipboardUnavailable object at 0xfffee2be8940>, args = ('👍...',), kwargs = {}
def __call__(self, *args, **kwargs):
> raise PyperclipException(EXCEPT_MSG)
E pandas.io.clipboard.PyperclipException:
E Pyperclip could not find a copy/paste mechanism for your system.
E For more information, please visit
E https://pyperclip.readthedocs.io/en/latest/#not-implemented-error
pandas/io/clipboard/__init__.py:294: PyperclipException
__________________________________________________________________________________ test_raw_roundtrip[\u03a9\u0153\u2211\xb4...] __________________________________________________________________________________
data = 'Ωœ∑´...'
@pytest.mark.single
@pytest.mark.clipboard
@pytest.mark.parametrize("data", ["\U0001f44d...", "Ωœ∑´...", "abcd..."])
def test_raw_roundtrip(data):
# PR #25040 wide unicode wasn't copied correctly on PY3 on windows
> clipboard_set(data)
pandas/tests/io/test_clipboard.py:312:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pandas/io/clipboard/__init__.py:633: in lazy_load_stub_copy
return copy(text)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pandas.io.clipboard.init_no_clipboard.<locals>.ClipboardUnavailable object at 0xfffee2afa640>, args = ('Ωœ∑´...',), kwargs = {}
def __call__(self, *args, **kwargs):
> raise PyperclipException(EXCEPT_MSG)
E pandas.io.clipboard.PyperclipException:
E Pyperclip could not find a copy/paste mechanism for your system.
E For more information, please visit
E https://pyperclip.readthedocs.io/en/latest/#not-implemented-error
pandas/io/clipboard/__init__.py:294: PyperclipException
___________________________________________________________________________________________ test_raw_roundtrip[abcd...] ___________________________________________________________________________________________
data = 'abcd...'
@pytest.mark.single
@pytest.mark.clipboard
@pytest.mark.parametrize("data", ["\U0001f44d...", "Ωœ∑´...", "abcd..."])
def test_raw_roundtrip(data):
# PR #25040 wide unicode wasn't copied correctly on PY3 on windows
> clipboard_set(data)
pandas/tests/io/test_clipboard.py:312:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pandas/io/clipboard/__init__.py:633: in lazy_load_stub_copy
return copy(text)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pandas.io.clipboard.init_no_clipboard.<locals>.ClipboardUnavailable object at 0xfffee2b84880>, args = ('abcd...',), kwargs = {}
def __call__(self, *args, **kwargs):
> raise PyperclipException(EXCEPT_MSG)
E pandas.io.clipboard.PyperclipException:
E Pyperclip could not find a copy/paste mechanism for your system.
E For more information, please visit
E https://pyperclip.readthedocs.io/en/latest/#not-implemented-error
pandas/io/clipboard/__init__.py:294: PyperclipException
================================================================================================ warnings summary =================================================================================================
../../../home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.4.1/python-3.8.8-aosgvy74ce4zaoqnbj7obuyvg7csguo7/lib/python3.8/site-packages/_pytest/config/__init__.py:1114
/home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.4.1/python-3.8.8-aosgvy74ce4zaoqnbj7obuyvg7csguo7/lib/python3.8/site-packages/_pytest/config/__init__.py:1114: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: hypothesis
self._mark_plugins_for_rewrite(hook)
pandas/tests/apply/test_invalid_arg.py::test_transform_wont_agg_series[func1]
/root/9/pandas-1.3.2/pandas/core/arraylike.py:364: RuntimeWarning: invalid value encountered in sqrt
result = getattr(ufunc, method)(*inputs, **kwargs)
pandas/tests/scalar/timedelta/test_arithmetic.py::TestTimedeltaMultiplicationDivision::test_td_div_nan[nan1]
/root/9/pandas-1.3.2/pandas/tests/scalar/timedelta/test_arithmetic.py:445: RuntimeWarning: invalid value encountered in double_scalars
result = td // nan
-- Docs: https://docs.pytest.org/en/stable/warnings.html
----------------------------------------------------------------------------- generated xml file: /root/9/pandas-1.3.2/test-data.xml --------
```
### Installed Versions
<details>
pd.show_versions()
1.3.2
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43473/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43473/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43474 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43474/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43474/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43474/events | https://github.com/pandas-dev/pandas/pull/43474 | 992,120,581 | MDExOlB1bGxSZXF1ZXN0NzMwNDk1MTc3 | 43,474 | Backport PR #43455 on branch 1.3.x (REGR: fillna on f32 column raising for f64) | {
"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": "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": "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": "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": "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-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 4 | "2021-09-09T11:37:56Z" | "2021-09-09T16:09:22Z" | "2021-09-09T16:09:15Z" | NONE | null | Backport PR #43455: REGR: fillna on f32 column raising for f64 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43474/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43474/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43474.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43474",
"merged_at": "2021-09-09T16:09:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43474.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43474"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43475 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43475/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43475/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43475/events | https://github.com/pandas-dev/pandas/pull/43475 | 992,250,309 | MDExOlB1bGxSZXF1ZXN0NzMwNjA3NTM1 | 43,475 | Backport PR #43428 on branch 1.3.x (Regression in __getitem__ raising for slice DatetimeIndex) | {
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"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-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 4 | "2021-09-09T13:51:10Z" | "2021-09-09T17:23:33Z" | "2021-09-09T17:23:25Z" | NONE | null | Backport PR #43428: Regression in __getitem__ raising for slice DatetimeIndex | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43475/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43475/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43475.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43475",
"merged_at": "2021-09-09T17:23:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43475.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43475"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43476 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43476/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43476/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43476/events | https://github.com/pandas-dev/pandas/issues/43476 | 992,394,945 | MDU6SXNzdWU5OTIzOTQ5NDU= | 43,476 | BUG: dataframe.fillna not working for dataframe with duplicate column names | {
"avatar_url": "https://avatars.githubusercontent.com/u/79206008?v=4",
"events_url": "https://api.github.com/users/Phil-Garmann/events{/privacy}",
"followers_url": "https://api.github.com/users/Phil-Garmann/followers",
"following_url": "https://api.github.com/users/Phil-Garmann/following{/other_user}",
"gists_url": "https://api.github.com/users/Phil-Garmann/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Phil-Garmann",
"id": 79206008,
"login": "Phil-Garmann",
"node_id": "MDQ6VXNlcjc5MjA2MDA4",
"organizations_url": "https://api.github.com/users/Phil-Garmann/orgs",
"received_events_url": "https://api.github.com/users/Phil-Garmann/received_events",
"repos_url": "https://api.github.com/users/Phil-Garmann/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Phil-Garmann/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Phil-Garmann/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Phil-Garmann"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-09-09T16:07:01Z" | "2021-09-10T14:09:32Z" | "2021-09-10T14:09:32Z" | NONE | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [X] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import pandas as pd
df1 = pd.DataFrame(pd.NA, index=[0, 1], columns=['A', 'A', 'B'])
df1.fillna({'A': 0})
df2 = pd.DataFrame(pd.NA, index=[0, 1], columns=['A', 'A'])
df2.fillna({'A': 0})
```
### Issue Description
For dataframes with duplicate column names `.fillna` fails to fill missing values, if a `dict` is passed as the `value` parameter
- **Example 1** (`df1`). When multiple, but not all, columns share a name, the `SettingWithCopyWarning` is thrown.
- **Example 2** (`df2`). When all column names are identical, no error is thrown, nor is missing values replaced.
### Expected Behavior
Expecting missing values in columns of the same name to be filled according to the parsed `dict`.
### Installed Versions
<details>
INSTALLED VERSIONS
------------------
commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b
python : 3.8.8.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.18362
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 12, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : Danish_Denmark.1252
pandas : 1.3.2
numpy : 1.21.2
pytz : 2021.1
dateutil : 2.8.2
pip : 20.2.3
setuptools : 49.2.1
Cython : None
pytest : 6.2.4
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.3
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 2021.08.1
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : 3.0.0
pyxlsb : None
s3fs : None
scipy : 1.7.1
sqlalchemy : 1.3.23
tables : None
tabulate : 0.8.9
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43476/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43476/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43477 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43477/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43477/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43477/events | https://github.com/pandas-dev/pandas/issues/43477 | 992,441,374 | MDU6SXNzdWU5OTI0NDEzNzQ= | 43,477 | BUG: Concatenation of two objects of the `category` type gives an object of the `object` type | {
"avatar_url": "https://avatars.githubusercontent.com/u/4412118?v=4",
"events_url": "https://api.github.com/users/leihuang/events{/privacy}",
"followers_url": "https://api.github.com/users/leihuang/followers",
"following_url": "https://api.github.com/users/leihuang/following{/other_user}",
"gists_url": "https://api.github.com/users/leihuang/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/leihuang",
"id": 4412118,
"login": "leihuang",
"node_id": "MDQ6VXNlcjQ0MTIxMTg=",
"organizations_url": "https://api.github.com/users/leihuang/orgs",
"received_events_url": "https://api.github.com/users/leihuang/received_events",
"repos_url": "https://api.github.com/users/leihuang/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/leihuang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leihuang/subscriptions",
"type": "User",
"url": "https://api.github.com/users/leihuang"
} | [
{
"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": "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": "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": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 1 | "2021-09-09T17:01:07Z" | "2021-09-09T18:03:52Z" | "2021-09-09T18:03:35Z" | NONE | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [ ] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import pandas as pd
a = pd.Series(['A', 'B'], dtype='category')
b = pd.Series(['C', 'D'], dtype='category')
print(a.dtypes, b.dtypes, pd.concat((a,b)).dtypes)
```
### Issue Description
The output of the codes above is:
`category category object`
### Expected Behavior
I expect the output to be:
`category category category`
Concatenation of two objects of the same type should give an object of that type. The current behavior gave me some unexpected results that took me a while to figure out.
### Installed Versions
<details>
INSTALLED VERSIONS
------------------
commit : 2cb96529396d93b46abab7bbc73a208e708c642e
python : 3.7.10.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.120+
Version : #1 SMP Wed Aug 18 10:20:32 PDT 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : C.UTF-8
LANG : C.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.2.4
numpy : 1.19.5
pytz : 2021.1
dateutil : 2.8.1
pip : 21.1.2
setuptools : 49.6.0.post20210108
Cython : 0.29.23
pytest : 6.2.4
hypothesis : 6.14.1
sphinx : None
blosc : None
feather : 0.4.1
xlsxwriter : None
lxml.etree : 4.6.3
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 3.0.1
IPython : 7.24.1
pandas_datareader: 0.9.0
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 2021.06.1
fastparquet : None
gcsfs : 2021.06.0
matplotlib : 3.4.2
numexpr : 2.7.3
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 4.0.0
pyxlsb : None
s3fs : 2021.06.1
scipy : 1.6.3
sqlalchemy : 1.4.18
tables : 3.6.1
tabulate : 0.8.9
xarray : 0.18.2
xlrd : None
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/43477/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43477/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43478 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43478/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43478/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43478/events | https://github.com/pandas-dev/pandas/pull/43478 | 992,454,695 | MDExOlB1bGxSZXF1ZXN0NzMwNzg0ODM1 | 43,478 | REF: Groupby.pad/backfill operate blockwise | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-09-09T17:17:18Z" | "2021-09-10T21:39:32Z" | "2021-09-10T21:38:19Z" | MEMBER | null | We get a decent-but-not-whopping perf boost, with a much bigger perf boost in the follow-up that de-duplicates an argsort call that we're currently doing repeatedly inside the cython function.
More importantly, we're getting close to having everything operate blockwise, at which point we can get rid of _get_cythonized_result and send everything through the _cython_operation path.
```
import pandas as pd
import numpy as np
np.random.seed(23446365)
arr = np.random.randn(10**5, 10)
mask = arr < -1
arr[mask] = np.nan
df = pd.DataFrame(arr)
gb = df.groupby(df.index % 7)
%timeit res = gb.pad()
28.7 ms ± 113 µs per loop (mean ± std. dev. of 7 runs, 10 loops each) # <- master
24 ms ± 1.06 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) # <- PR
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43478/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43478/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43478.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43478",
"merged_at": "2021-09-10T21:38:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43478.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43478"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43479 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43479/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43479/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43479/events | https://github.com/pandas-dev/pandas/pull/43479 | 992,465,709 | MDExOlB1bGxSZXF1ZXN0NzMwNzk0MTUz | 43,479 | REF: dont pass keys through wrap_applied_output | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-09-09T17:31:15Z" | "2021-11-20T23:20:41Z" | "2021-09-09T19:39:43Z" | MEMBER | null | This makes it easier to reason about these `keys`, which I'm hopeful will lead to getting rid of them entirely and just using result_index. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43479/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43479/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43479.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43479",
"merged_at": "2021-09-09T19:39:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43479.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43479"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43480 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43480/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43480/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43480/events | https://github.com/pandas-dev/pandas/issues/43480 | 992,481,344 | MDU6SXNzdWU5OTI0ODEzNDQ= | 43,480 | BUG: DataFrameGroupBy.boxplot with subplots=False fails for object columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/33971?v=4",
"events_url": "https://api.github.com/users/sarming/events{/privacy}",
"followers_url": "https://api.github.com/users/sarming/followers",
"following_url": "https://api.github.com/users/sarming/following{/other_user}",
"gists_url": "https://api.github.com/users/sarming/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sarming",
"id": 33971,
"login": "sarming",
"node_id": "MDQ6VXNlcjMzOTcx",
"organizations_url": "https://api.github.com/users/sarming/orgs",
"received_events_url": "https://api.github.com/users/sarming/received_events",
"repos_url": "https://api.github.com/users/sarming/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sarming/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sarming/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sarming"
} | [
{
"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": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/72849852?v=4",
"events_url": "https://api.github.com/users/brendandrury/events{/privacy}",
"followers_url": "https://api.github.com/users/brendandrury/followers",
"following_url": "https://api.github.com/users/brendandrury/following{/other_user}",
"gists_url": "https://api.github.com/users/brendandrury/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/brendandrury",
"id": 72849852,
"login": "brendandrury",
"node_id": "MDQ6VXNlcjcyODQ5ODUy",
"organizations_url": "https://api.github.com/users/brendandrury/orgs",
"received_events_url": "https://api.github.com/users/brendandrury/received_events",
"repos_url": "https://api.github.com/users/brendandrury/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/brendandrury/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/brendandrury/subscriptions",
"type": "User",
"url": "https://api.github.com/users/brendandrury"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/72849852?v=4",
"events_url": "https://api.github.com/users/brendandrury/events{/privacy}",
"followers_url": "https://api.github.com/users/brendandrury/followers",
"following_url": "https://api.github.com/users/brendandrury/following{/other_user}",
"gists_url": "https://api.github.com/users/brendandrury/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/brendandrury",
"id": 72849852,
"login": "brendandrury",
"node_id": "MDQ6VXNlcjcyODQ5ODUy",
"organizations_url": "https://api.github.com/users/brendandrury/orgs",
"received_events_url": "https://api.github.com/users/brendandrury/received_events",
"repos_url": "https://api.github.com/users/brendandrury/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/brendandrury/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/brendandrury/subscriptions",
"type": "User",
"url": "https://api.github.com/users/brendandrury"
}
] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 3 | "2021-09-09T17:51:57Z" | "2021-11-14T03:08:55Z" | "2021-11-14T03:08:55Z" | NONE | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [X] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import pandas as pd
df = pd.DataFrame({'cat':list('aabbc'),
'v':range(5)}, dtype=object)
df.groupby('cat').boxplot(subplots=False, column='v')
```
results in the following error:
```python-traceback
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/src/pandas/pandas/plotting/_core.py", line 604, in boxplot_frame_groupby
return plot_backend.boxplot_frame_groupby(
File "/src/pandas/pandas/plotting/_matplotlib/boxplot.py", line 485, in boxplot_frame_groupby
ret = df.boxplot(
File "/src/pandas/pandas/plotting/_core.py", line 511, in boxplot_frame
return plot_backend.boxplot_frame(
File "/Users/ian/src/pandas/pandas/plotting/_matplotlib/boxplot.py", line 414, in boxplot_frame
ax = boxplot(
File "/src/pandas/pandas/plotting/_matplotlib/boxplot.py", line 391, in boxplot
data = data[columns]
File "/src/pandas/pandas/core/frame.py", line 3504, in __getitem__
indexer = self.columns._get_indexer_strict(key, "columns")[1]
File "/src/pandas/pandas/core/indexes/multi.py", line 2559, in _get_indexer_strict
return super()._get_indexer_strict(key, axis_name)
File "/src/pandas/pandas/core/indexes/base.py", line 5510, in _get_indexer_strict
self._raise_if_missing(keyarr, indexer, axis_name)
File "/src/pandas/pandas/core/indexes/multi.py", line 2579, in _raise_if_missing
return super()._raise_if_missing(key, indexer, axis_name)
File "/src/pandas/pandas/core/indexes/base.py", line 5570, in _raise_if_missing
raise KeyError(f"None of [{key}] are in the [{axis_name}]")
KeyError: "None of [MultiIndex([('a', 'v'),\n ('b', 'v'),\n ('c', 'v')],\n )] are in the [columns]"
```
### Issue Description
This might be related to #16748
### Expected Behavior
The same as:
```python
import pandas as pd
df = pd.DataFrame({'cat':list('aabbc'),
'v':range(5)})
df.groupby('cat').boxplot(subplots=False, column='v')
```
### Installed Versions
<details>
INSTALLED VERSIONS
------------------
commit : a951998314f91e90f9a32f534119fbb46c8858d8
python : 3.9.6.final.0
python-bits : 64
OS : Darwin
OS-release : 20.6.0
Version : Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.UTF-8
pandas : 1.4.0.dev0+634.ga951998314
numpy : 1.20.3
pytz : 2021.1
dateutil : 2.8.2
pip : 21.2.4
setuptools : 52.0.0.post20210125
Cython : 0.29.24
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.4.2
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/43480/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43480/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43481 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43481/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43481/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43481/events | https://github.com/pandas-dev/pandas/pull/43481 | 992,487,323 | MDExOlB1bGxSZXF1ZXN0NzMwODEyMDk5 | 43,481 | Backport PR #43154 on branch 1.3.x (Updating _resolve_numeric_only function of GroupBy) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "120491",
"default": false,
"description": "Identifying/Dropping nuisance columns in reductions, groupby.add, DataFrame.apply",
"id": 2365523662,
"name": "Nuisance Columns",
"node_id": "MDU6TGFiZWwyMzY1NTIzNjYy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nuisance%20Columns"
}
] | closed | false | null | [] | {
"closed_at": "2021-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 0 | "2021-09-09T17:59:47Z" | "2021-09-09T19:03:19Z" | "2021-09-09T19:03:19Z" | NONE | null | Backport PR #43154: Updating _resolve_numeric_only function of GroupBy | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43481/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43481/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43481.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43481",
"merged_at": "2021-09-09T19:03:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43481.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43481"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43482 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43482/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43482/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43482/events | https://github.com/pandas-dev/pandas/issues/43482 | 992,558,994 | MDU6SXNzdWU5OTI1NTg5OTQ= | 43,482 | DOC: doc build failing as apparent change in statsmodel url | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | null | 4 | "2021-09-09T19:31:02Z" | "2021-09-10T15:41:43Z" | "2021-09-09T20:33:26Z" | CONTRIBUTOR | null | ```
intersphinx inventory 'https://www.statsmodels.org/devel/objects.inv' not fetchable due to <class 'requests.exceptions.ConnectionError'>: HTTPSConnectionPool(host='www.statsmodels.org', port=443): Max retries exceeded with url: /devel/objects.inv (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fcc923600a0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43482/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43482/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43483 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43483/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43483/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43483/events | https://github.com/pandas-dev/pandas/issues/43483 | 992,613,084 | MDU6SXNzdWU5OTI2MTMwODQ= | 43,483 | ENH: set sticky levels accept level names | {
"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": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
},
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-09-09T20:40:47Z" | "2021-09-14T21:36:46Z" | "2021-09-14T21:36:46Z" | CONTRIBUTOR | null | quick note to record a todo:
change the level arg in Styler.set_sticky to accept level names, akin to Styler.hide_index, for consistency and expanded usage. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43483/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43483/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43484 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43484/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43484/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43484/events | https://github.com/pandas-dev/pandas/pull/43484 | 992,688,078 | MDExOlB1bGxSZXF1ZXN0NzMwOTg4MDk5 | 43,484 | REF: always use grouper=self.grouper in resample | {
"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": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-09-09T22:01:12Z" | "2021-09-10T01:08:49Z" | "2021-09-10T00:25:45Z" | MEMBER | null | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43484/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43484/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43484.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43484",
"merged_at": "2021-09-10T00:25:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43484.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43484"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43485 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43485/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43485/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43485/events | https://github.com/pandas-dev/pandas/issues/43485 | 992,701,975 | MDU6SXNzdWU5OTI3MDE5NzU= | 43,485 | API: pd.concat with len(keys) != len(values) does not raise; intentional? | {
"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": "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": "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 | 0 | "2021-09-09T22:15:09Z" | "2021-09-30T23:38:39Z" | null | 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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [X] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import pandas as pd
ser = pd.Series(range(5))
sers = [ser + n for n in range(4)]
keys = ["A", "B", "C"]
>>> pd.concat(sers, keys=keys, axis=1)
A B C
0 0 1 2
1 1 2 3
2 2 3 4
3 3 4 5
4 4 5 6
```
```
### Issue Description
I expected the pd.concat below to raise. It kind of makes sense as a reindex or analogue to the DataFrame constructor, but seems more likely to me to be a footgun. In particular, I think the _lack_ of raising may be hiding a bug in the groupby code.
Is not-raising an intentional decision? If so, thoughts on either deprecating or issuing a warning?
### Expected Behavior
N/A
### Installed Versions
N/A | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43485/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43485/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43486 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43486/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43486/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43486/events | https://github.com/pandas-dev/pandas/issues/43486 | 992,713,895 | MDU6SXNzdWU5OTI3MTM4OTU= | 43,486 | BUG: groupby(Grouper) with all-NaT grouping keys | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] | open | false | null | [] | null | 0 | "2021-09-09T22:34:37Z" | "2021-09-30T23:39:18Z" | null | 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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [X] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import pandas as pd
df = pd.DataFrame({"date": [pd.NaT], "value": [11]})
grouper = pd.Grouper(freq="M", key="date")
>>> gb = df.groupby(grouper)
[...]
File "pandas/core/resample.py", line 1878, in _get_timestamp_range_edges
first = first.normalize()
AttributeError: 'NaTType' object has no attribute 'normalize'
```
```
### Issue Description
Example derived from test_timegrouper_apply_return_type_series
### Expected Behavior
Either not raise or raise at construction of the Grouper object with a useful exception message.
### Installed Versions
master | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43486/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43486/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43487 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43487/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43487/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43487/events | https://github.com/pandas-dev/pandas/pull/43487 | 992,754,227 | MDExOlB1bGxSZXF1ZXN0NzMxMDQ2NTEz | 43,487 | REF: avoid unnecessary argument to groupby numba funcs | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 4 | "2021-09-10T00:01:18Z" | "2021-09-10T21:39:06Z" | "2021-09-10T21:36:35Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
cc @mroeschke im pretty sure this is slightly more correct than the status quo, but i could use some help in coming up with test cases. Two main cases to cover:
1) `res = df.groupby(more_than_one_column).transform(..., engine="numba", i_dont_know_off_the_top_the_calling_convention)`
I'm pretty sure in this case `res.index.names` will be wrong in master.
2) Cases with BinGrouper where there is a length mismatch (also an issue with non-numba paths)
```
import pandas as pd
df = pd.DataFrame(
{
"Buyer": "Carl Carl Carl Carl Joe Carl".split(),
"Quantity": [18, 3, 5, 1, 9, 3],
"Date": [
pd.Timestamp(2013, 9, 1, 13, 0),
pd.Timestamp(2013, 9, 1, 13, 5),
pd.Timestamp(2013, 10, 1, 20, 0),
pd.Timestamp(2013, 10, 3, 10, 0),
pd.NaT,
pd.Timestamp(2013, 9, 2, 14, 0),
],
}
)
gb = df.groupby(pd.Grouper(key="Date", freq="5D"))
gb.transform(lambda x: x, engine="numba", ...) # <- pretty sure this raises
```
Or are these not reachable for some reason? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43487/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43487/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43487.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43487",
"merged_at": "2021-09-10T21:36:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43487.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43487"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43488 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43488/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43488/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43488/events | https://github.com/pandas-dev/pandas/pull/43488 | 992,766,624 | MDExOlB1bGxSZXF1ZXN0NzMxMDU3NDk0 | 43,488 | Backport PR #43447 on branch 1.3.x (REGR: SpooledTemporaryFile support in read_csv) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
] | closed | false | null | [] | {
"closed_at": "2021-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 0 | "2021-09-10T00:24:20Z" | "2021-09-10T09:24:31Z" | "2021-09-10T09:24:31Z" | NONE | null | Backport PR #43447: REGR: SpooledTemporaryFile support in read_csv | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43488/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43488/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43488.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43488",
"merged_at": "2021-09-10T09:24:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43488.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43488"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43489 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43489/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43489/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43489/events | https://github.com/pandas-dev/pandas/pull/43489 | 992,811,403 | MDExOlB1bGxSZXF1ZXN0NzMxMDk2MjUy | 43,489 | CLN: group_quantile | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"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"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | null | 0 | "2021-09-10T01:52:54Z" | "2021-09-10T17:22:21Z" | "2021-09-10T04:21:36Z" | MEMBER | null | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43489/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43489/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43489.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43489",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43489.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43489"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43490 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43490/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43490/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43490/events | https://github.com/pandas-dev/pandas/pull/43490 | 992,864,864 | MDExOlB1bGxSZXF1ZXN0NzMxMTQwNDIz | 43,490 | REF: Groupby length checks on values instead of keys | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-09-10T04:00:18Z" | "2021-09-10T17:04:13Z" | "2021-09-10T17:03:23Z" | MEMBER | null | There are corner cases where these can mismatch. This moves us towards getting rid of some redundant index-like attributes | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43490/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43490/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43490.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43490",
"merged_at": "2021-09-10T17:03:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43490.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43490"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43491 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43491/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43491/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43491/events | https://github.com/pandas-dev/pandas/pull/43491 | 992,874,130 | MDExOlB1bGxSZXF1ZXN0NzMxMTQ4NDc0 | 43,491 | BUG: df.sparse.to_coo() raising on duplicate colnames | {
"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": "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"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-09-10T04:20:15Z" | "2021-09-10T19:07:11Z" | "2021-09-10T18:48:16Z" | MEMBER | null | - [x] closes #29564
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43491/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43491/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43491.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43491",
"merged_at": "2021-09-10T18:48:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43491.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43491"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43492 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43492/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43492/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43492/events | https://github.com/pandas-dev/pandas/pull/43492 | 992,883,728 | MDExOlB1bGxSZXF1ZXN0NzMxMTU2NTAx | 43,492 | BUG: fillna not replacing missing values when duplicate colnames | {
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-09-10T04:41:55Z" | "2021-09-10T14:13:39Z" | "2021-09-10T14:09:32Z" | MEMBER | null | - [x] closes #43476
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43492/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43492/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43492.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43492",
"merged_at": "2021-09-10T14:09:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43492.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43492"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43493 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43493/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43493/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43493/events | https://github.com/pandas-dev/pandas/issues/43493 | 992,930,910 | MDU6SXNzdWU5OTI5MzA5MTA= | 43,493 | QST: I am trying to run a machine learning code in Python. I get the following error: UnicodeDecodeError: 'ascii' codec can't decode byte 0xac in position 6: ordinal not in range(128) | {
"avatar_url": "https://avatars.githubusercontent.com/u/89755293?v=4",
"events_url": "https://api.github.com/users/CherryNita/events{/privacy}",
"followers_url": "https://api.github.com/users/CherryNita/followers",
"following_url": "https://api.github.com/users/CherryNita/following{/other_user}",
"gists_url": "https://api.github.com/users/CherryNita/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/CherryNita",
"id": 89755293,
"login": "CherryNita",
"node_id": "MDQ6VXNlcjg5NzU1Mjkz",
"organizations_url": "https://api.github.com/users/CherryNita/orgs",
"received_events_url": "https://api.github.com/users/CherryNita/received_events",
"repos_url": "https://api.github.com/users/CherryNita/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/CherryNita/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/CherryNita/subscriptions",
"type": "User",
"url": "https://api.github.com/users/CherryNita"
} | [
{
"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 | true | null | [] | null | 1 | "2021-09-10T06:31:29Z" | "2021-09-10T07:28:41Z" | "2021-09-10T07:28:33Z" | NONE | off-topic | ###
- [X] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions.
- [X] I have asked my usage related question on [StackOverflow](https://stackoverflow.com).
### Link to question on StackOverflow
I am trying to run a machine learning code in Python. I get the following error: UnicodeDecodeError: 'ascii' codec can't decode byte 0xac in position 6: ordinal not in range(128)
### Question about pandas
_No response_ | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43493/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43493/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43494 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43494/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43494/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43494/events | https://github.com/pandas-dev/pandas/issues/43494 | 992,999,947 | MDU6SXNzdWU5OTI5OTk5NDc= | 43,494 | BUG: DataFrame.corr assume 1s are always on the diagonal line | {
"avatar_url": "https://avatars.githubusercontent.com/u/13047435?v=4",
"events_url": "https://api.github.com/users/peterpanmj/events{/privacy}",
"followers_url": "https://api.github.com/users/peterpanmj/followers",
"following_url": "https://api.github.com/users/peterpanmj/following{/other_user}",
"gists_url": "https://api.github.com/users/peterpanmj/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/peterpanmj",
"id": 13047435,
"login": "peterpanmj",
"node_id": "MDQ6VXNlcjEzMDQ3NDM1",
"organizations_url": "https://api.github.com/users/peterpanmj/orgs",
"received_events_url": "https://api.github.com/users/peterpanmj/received_events",
"repos_url": "https://api.github.com/users/peterpanmj/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/peterpanmj/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/peterpanmj/subscriptions",
"type": "User",
"url": "https://api.github.com/users/peterpanmj"
} | [
{
"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": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
] | closed | false | null | [] | null | 2 | "2021-09-10T08:16:26Z" | "2021-09-10T12:56:44Z" | "2021-09-10T12:56:22Z" | CONTRIBUTOR | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [ ] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import pandas as pd
import numpy as np
from scipy.spatial import distance
df = pd.DataFrame(np.ones([5,3])).corr(distance.jaccard)
print(df)
0 1 2
0 1.0 0.0 0.0
1 0.0 1.0 0.0
2 0.0 0.0 1.0
```
### Issue Description
pd.DataFrame.corr assume diagnoal line should always be filled with one (one vector with itself). However, for many distance measures, 0 is the result when comparing two identical vectors. I think, we should allow users to specify whether to use 1 for default value on the diagnoal line, or let the underlying custom function to decide
### Expected Behavior
[[0. 0. 0.]
[0. 0. 0.]
[0. 0. 0.]]
### Installed Versions
<details>
INSTALLED VERSIONS
------------------
commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b
python : 3.7.6.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19041
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 9, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 1.3.2
numpy : 1.20.3
pytz : 2021.1
dateutil : 2.8.2
pip : 21.0.1
setuptools : 52.0.0.post20210125
Cython : 0.29.24
pytest : 6.2.4
hypothesis : None
sphinx : 4.0.2
blosc : None
feather : None
xlsxwriter : 3.0.1
lxml.etree : 4.6.3
html5lib : 1.1
pymysql : 0.9.3
psycopg2 : None
jinja2 : 3.0.1
IPython : 7.26.0
pandas_datareader: 0.9.0
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 2021.07.0
fastparquet : None
gcsfs : None
matplotlib : 3.4.2
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.22
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 2.0.1
xlwt : 1.3.0
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/43494/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43494/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43495 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43495/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43495/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43495/events | https://github.com/pandas-dev/pandas/pull/43495 | 993,059,764 | MDExOlB1bGxSZXF1ZXN0NzMxMzAzMTQ4 | 43,495 | ENH Remove import time warning for missing lzma | {
"avatar_url": "https://avatars.githubusercontent.com/u/630936?v=4",
"events_url": "https://api.github.com/users/rth/events{/privacy}",
"followers_url": "https://api.github.com/users/rth/followers",
"following_url": "https://api.github.com/users/rth/following{/other_user}",
"gists_url": "https://api.github.com/users/rth/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rth",
"id": 630936,
"login": "rth",
"node_id": "MDQ6VXNlcjYzMDkzNg==",
"organizations_url": "https://api.github.com/users/rth/orgs",
"received_events_url": "https://api.github.com/users/rth/received_events",
"repos_url": "https://api.github.com/users/rth/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rth/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rth/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rth"
} | [
{
"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"
}
] | open | false | null | [] | null | 7 | "2021-09-10T09:31:54Z" | "2021-11-06T23:02:10Z" | null | CONTRIBUTOR | null | Also adds a test that lzma is not imported by default with `import pandas`.
- [x] closes #43461
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry: I'm not sure if a what's new entry is necessairy, and if yes, under which section of v1.4.0 should I put it?
cc @TomAugspurger
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43495/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43495/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43495.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43495",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43495.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43495"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43496 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43496/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43496/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43496/events | https://github.com/pandas-dev/pandas/pull/43496 | 993,230,080 | MDExOlB1bGxSZXF1ZXN0NzMxNDQ5NTIz | 43,496 | Backport PR #43468 on branch 1.3.x (CI: split Windows Azure tests in half) | {
"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"
} | [] | closed | false | null | [] | null | 2 | "2021-09-10T13:20:10Z" | "2021-09-10T13:47:05Z" | "2021-09-10T13:47:05Z" | CONTRIBUTOR | null | Backport 43468 to 1.3.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/43496/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43496/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43496.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43496",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43496.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43496"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43497 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43497/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43497/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43497/events | https://github.com/pandas-dev/pandas/pull/43497 | 993,254,000 | MDExOlB1bGxSZXF1ZXN0NzMxNDY5ODcx | 43,497 | Backport PR #43468: CI: split Windows Azure tests in half | {
"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": "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-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 3 | "2021-09-10T13:48:44Z" | "2021-09-10T17:03:24Z" | "2021-09-10T16:45:58Z" | CONTRIBUTOR | null | Backport #43468 to 1.3.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/43497/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43497/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43497.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43497",
"merged_at": "2021-09-10T16:45:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43497.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43497"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43498 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43498/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43498/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43498/events | https://github.com/pandas-dev/pandas/issues/43498 | 993,323,102 | MDU6SXNzdWU5OTMzMjMxMDI= | 43,498 | ENH: Add observed keyword to value_counts | {
"avatar_url": "https://avatars.githubusercontent.com/u/296164?v=4",
"events_url": "https://api.github.com/users/jseabold/events{/privacy}",
"followers_url": "https://api.github.com/users/jseabold/followers",
"following_url": "https://api.github.com/users/jseabold/following{/other_user}",
"gists_url": "https://api.github.com/users/jseabold/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jseabold",
"id": 296164,
"login": "jseabold",
"node_id": "MDQ6VXNlcjI5NjE2NA==",
"organizations_url": "https://api.github.com/users/jseabold/orgs",
"received_events_url": "https://api.github.com/users/jseabold/received_events",
"repos_url": "https://api.github.com/users/jseabold/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jseabold/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jseabold/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jseabold"
} | [
{
"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": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
}
] | open | false | null | [] | null | 1 | "2021-09-10T15:05:22Z" | "2021-09-30T23:39:37Z" | null | CONTRIBUTOR | null | #### Is your feature request related to a problem?
If you do `value_counts` on a categorical there's no way to suppress unobserved categories.
#### Describe the solution you'd like
Add an observed keyword to value_counts.
#### API breaking implications
None, unless we want to revisit the default in light of #35967.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43498/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43498/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43499 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43499/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43499/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43499/events | https://github.com/pandas-dev/pandas/pull/43499 | 993,348,590 | MDExOlB1bGxSZXF1ZXN0NzMxNTQ5Mzk4 | 43,499 | DOC: sync release notes | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2021-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 3 | "2021-09-10T15:34:55Z" | "2021-09-10T16:56:10Z" | "2021-09-10T16:50:36Z" | MEMBER | null | sync release notes on 1.3.x with master to reduce chances of merge conflicts. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43499/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43499/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43499.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43499",
"merged_at": "2021-09-10T16:50:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43499.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43499"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43500 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43500/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43500/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43500/events | https://github.com/pandas-dev/pandas/pull/43500 | 993,365,566 | MDExOlB1bGxSZXF1ZXN0NzMxNTYzNDE2 | 43,500 | BUG: GroupBy.apply with Grouper and NaT | {
"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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-09-10T15:54:54Z" | "2021-09-10T21:39:53Z" | "2021-09-10T21:37:42Z" | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
Inching towards getting rid of redundant index-like attributes | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43500/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43500/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43500.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43500",
"merged_at": "2021-09-10T21:37:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43500.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43500"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43501 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43501/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43501/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43501/events | https://github.com/pandas-dev/pandas/issues/43501 | 993,443,358 | MDU6SXNzdWU5OTM0NDMzNTg= | 43,501 | REGR: FutureWarning issued and empty DataFrame returned where no numeric types to aggregate | {
"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": "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": "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": "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"
},
{
"color": "120491",
"default": false,
"description": "Identifying/Dropping nuisance columns in reductions, groupby.add, DataFrame.apply",
"id": 2365523662,
"name": "Nuisance Columns",
"node_id": "MDU6TGFiZWwyMzY1NTIzNjYy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nuisance%20Columns"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 47,
"created_at": "2021-10-16T17:29: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.3.x",
"due_on": "2021-11-28T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/91",
"id": 7259169,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91/labels",
"node_id": "MI_kwDOAA0YD84AbsQh",
"number": 91,
"open_issues": 23,
"state": "open",
"title": "1.3.5",
"updated_at": "2021-11-21T13:42:45Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/91"
} | 11 | "2021-09-10T17:27:44Z" | "2021-10-16T19:07:42Z" | null | 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](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [X] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import numpy as np
import pandas as pd
frame = pd.DataFrame({"a": np.random.randint(0, 5, 50), "b": ["foo", "bar"] * 25})
frame[["b"]].groupby(frame["a"]).mean()
```
### Issue Description
the code sample was raising `DataError: No numeric types to aggregate` in 1.2.5 but in 1.3.x this now issues a warning that it will raise in the future. (and also appears that the stacklevel is incorrect)
on master
```
>>> frame[["b"]].groupby(frame["a"]).mean()
sys:1: FutureWarning: Dropping invalid columns in DataFrameGroupBy.mean is deprecated. In a future version, a TypeError will be raised. Before calling .mean, select only columns which should be valid for the function.
Empty DataFrame
Columns: []
Index: [0, 1, 2, 3, 4]
```
The change to a empty dataframe was in #41706 with the warning being added in #43154
cc @jbrockmendel @Dr-Irv
### Expected Behavior
same as 1.2.5
```
>>> frame[["b"]].groupby(frame["a"]).mean()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/simon/miniconda3/envs/pandas-1.2.5/lib/python3.9/site-packages/pandas/core/groupby/groupby.py", line 1496, in mean
return self._cython_agg_general(
File "/home/simon/miniconda3/envs/pandas-1.2.5/lib/python3.9/site-packages/pandas/core/groupby/generic.py", line 1015, in _cython_agg_general
agg_mgr = self._cython_agg_blocks(
File "/home/simon/miniconda3/envs/pandas-1.2.5/lib/python3.9/site-packages/pandas/core/groupby/generic.py", line 1121, in _cython_agg_blocks
raise DataError("No numeric types to aggregate")
pandas.core.base.DataError: No numeric types to aggregate
```
### Installed Versions
pd.show_versions() | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43501/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43501/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43502 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43502/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43502/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43502/events | https://github.com/pandas-dev/pandas/issues/43502 | 993,533,414 | MDU6SXNzdWU5OTM1MzM0MTQ= | 43,502 | BUG: Assigning on new column replaces value on different data frame | {
"avatar_url": "https://avatars.githubusercontent.com/u/47902299?v=4",
"events_url": "https://api.github.com/users/matg19/events{/privacy}",
"followers_url": "https://api.github.com/users/matg19/followers",
"following_url": "https://api.github.com/users/matg19/following{/other_user}",
"gists_url": "https://api.github.com/users/matg19/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/matg19",
"id": 47902299,
"login": "matg19",
"node_id": "MDQ6VXNlcjQ3OTAyMjk5",
"organizations_url": "https://api.github.com/users/matg19/orgs",
"received_events_url": "https://api.github.com/users/matg19/received_events",
"repos_url": "https://api.github.com/users/matg19/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/matg19/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/matg19/subscriptions",
"type": "User",
"url": "https://api.github.com/users/matg19"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 1 | "2021-09-10T19:25:51Z" | "2021-09-10T19:45:51Z" | "2021-09-10T19:45:33Z" | NONE | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [X] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
test = pd.DataFrame([1, 2, 3])
test_a = test
test_b = test
test_a['year'] = 1990
test_b['year'] = 2000
print(test_a)
```
### Issue Description
I am very surprised by this, I thought it might be some element sticking on the memory on an interactive session but it does the same if executing the script on a console.
Basically, if I duplicate a data frame and try to assign values at the same time that I create a column, if I do this in sequence the values in the first data frame are replaced by those assigned to the second data frame.
In the reproducible example this would print a data frame `test_a` with 2000s... while I assigned 1990s. I don't see how assigning a value in the second data frame could affect a different object...
### Expected Behavior
In the above code, `test_a['year']` should be filled with 1990, not 2000
### Installed Versions
<details>
INSTALLED VERSIONS
------------------
commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b
python : 3.8.5.final.0
python-bits : 64
OS : Linux
OS-release : 5.11.0-7620-generic
Version : #21~1626191760~21.04~55de9c3-Ubuntu SMP Tue Jul 20 22:18:55 UTC
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.3.2
numpy : 1.20.1
pytz : 2021.1
dateutil : 2.8.1
pip : 20.2.4
setuptools : 50.3.1.post20201107
Cython : 0.29.23
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : 1.4.5
lxml.etree : 4.6.3
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 : 4.8.0
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.4.1
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.7
pandas_gbq : 0.15.0
pyarrow : 4.0.1
pyxlsb : None
s3fs : None
scipy : 1.6.2
sqlalchemy : 1.4.2
tables : 3.6.1
tabulate : 0.8.9
xarray : None
xlrd : 1.2.0
xlwt : 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/43502/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43502/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43503 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43503/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43503/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43503/events | https://github.com/pandas-dev/pandas/issues/43503 | 993,563,190 | MDU6SXNzdWU5OTM1NjMxOTA= | 43,503 | BUG: dtype changes when row passed to a function via DataFrame.apply() | {
"avatar_url": "https://avatars.githubusercontent.com/u/11861496?v=4",
"events_url": "https://api.github.com/users/Codeberg-AsGithubAlternative-buhtz/events{/privacy}",
"followers_url": "https://api.github.com/users/Codeberg-AsGithubAlternative-buhtz/followers",
"following_url": "https://api.github.com/users/Codeberg-AsGithubAlternative-buhtz/following{/other_user}",
"gists_url": "https://api.github.com/users/Codeberg-AsGithubAlternative-buhtz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Codeberg-AsGithubAlternative-buhtz",
"id": 11861496,
"login": "Codeberg-AsGithubAlternative-buhtz",
"node_id": "MDQ6VXNlcjExODYxNDk2",
"organizations_url": "https://api.github.com/users/Codeberg-AsGithubAlternative-buhtz/orgs",
"received_events_url": "https://api.github.com/users/Codeberg-AsGithubAlternative-buhtz/received_events",
"repos_url": "https://api.github.com/users/Codeberg-AsGithubAlternative-buhtz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Codeberg-AsGithubAlternative-buhtz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Codeberg-AsGithubAlternative-buhtz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Codeberg-AsGithubAlternative-buhtz"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"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": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] | open | false | null | [] | null | 1 | "2021-09-10T20:12:46Z" | "2021-11-11T11:19:14Z" | null | NONE | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [ ] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
#!/usr/bin/env python3
import pandas as pd
# 1.2.5 and 1.3.2
print(pd.__version__)
df = pd.DataFrame(data={'VAR': ['A', 'B'], 'X': range(2)})
df.VAR = df.VAR.astype('category')
df.X = df.X.astype('int8')
# Name: VAR, dtype: category
# Categories (2, object): ['A', 'B']
print(df.VAR)
# VAR category
# X int8
# dtype: object
print(df.dtypes)
def foo(row):
# doing nothing
return row
for arg in [None, 'reduce', 'expand', 'broadcast']:
print(f'\n{arg}')
print(df.apply(foo, axis=1, result_type='reduce').dtypes)
```
### Issue Description
When I "iterate" on row level via `DataFrame.apply(foo, axis=1)` the `dtype` of the columns are changing.
Here in the MWE a `category` becomes `object` and an `int8` becomes `int64'.
The argument `result_type=` seems to have no effect. The MWE checks each possible option for it.
This is the output of the MWE
```
1.3.2
0 A
1 B
Name: VAR, dtype: category
Categories (2, object): ['A', 'B']
VAR category
X int8
dtype: object
None
VAR object
X int64
dtype: object
reduce
VAR object
X int64
dtype: object
expand
VAR object
X int64
dtype: object
broadcast
VAR object
X int64
dtype: object
```
### Expected Behavior
Just keep the `dtype`. Do not convert it without users permission. or minimally throw a warning if there is a good reason for it.
Possible related #42001
### Installed Versions
<details>
INSTALLED VERSIONS
------------------
commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b
python : 3.9.4.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.18362
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 12, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : de_DE.cp1252
pandas : 1.3.2
numpy : 1.21.1
pytz : 2021.1
dateutil : 2.8.1
pip : 21.2.4
setuptools : 57.0.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.3
IPython : 7.23.1
pandas_datareader: None
bs4 : 4.9.3
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.4.2
numexpr : None
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : 4.0.1
pyxlsb : None
s3fs : None
scipy : 1.7.0
sqlalchemy : 1.4.13
tables : None
tabulate : 0.8.9
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43503/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43503/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43504 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43504/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43504/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43504/events | https://github.com/pandas-dev/pandas/pull/43504 | 993,576,987 | MDExOlB1bGxSZXF1ZXN0NzMxNzM5ODUx | 43,504 | ENH: consistency of input args for boundaries (pd.date_range) | {
"avatar_url": "https://avatars.githubusercontent.com/u/56645775?v=4",
"events_url": "https://api.github.com/users/zyc09/events{/privacy}",
"followers_url": "https://api.github.com/users/zyc09/followers",
"following_url": "https://api.github.com/users/zyc09/following{/other_user}",
"gists_url": "https://api.github.com/users/zyc09/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zyc09",
"id": 56645775,
"login": "zyc09",
"node_id": "MDQ6VXNlcjU2NjQ1Nzc1",
"organizations_url": "https://api.github.com/users/zyc09/orgs",
"received_events_url": "https://api.github.com/users/zyc09/received_events",
"repos_url": "https://api.github.com/users/zyc09/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zyc09/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zyc09/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zyc09"
} | [
{
"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": "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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 6 | "2021-09-10T20:35:29Z" | "2021-10-03T16:44:08Z" | "2021-10-03T16:43:57Z" | CONTRIBUTOR | null | closes #43394
xref #40245
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43504/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43504/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43504.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43504",
"merged_at": "2021-10-03T16:43:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43504.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43504"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43505 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43505/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43505/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43505/events | https://github.com/pandas-dev/pandas/pull/43505 | 993,623,188 | MDExOlB1bGxSZXF1ZXN0NzMxNzc4OTUx | 43,505 | REF: remove libreduction.SeriesGrouper | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 3 | "2021-09-10T21:47:44Z" | "2021-09-13T11:42:15Z" | "2021-09-11T00:17:41Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
cc @bashtage per comment https://github.com/pandas-dev/pandas/pull/37468#discussion_r706100798 I'm taking your word for it that the change this makes in the crosstab test is correct. Does this represent a bugfix? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43505/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43505/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43505.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43505",
"merged_at": "2021-09-11T00:17:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43505.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43505"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43506 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43506/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43506/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43506/events | https://github.com/pandas-dev/pandas/pull/43506 | 993,683,272 | MDExOlB1bGxSZXF1ZXN0NzMxODI1NDg1 | 43,506 | REF: de-duplicate operate-column-wise code, pct_change | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-09-10T23:51:30Z" | "2021-11-20T23:20:40Z" | "2021-09-11T15:02:28Z" | MEMBER | null | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43506/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43506/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43506.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43506",
"merged_at": "2021-09-11T15:02:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43506.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43506"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43507 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43507/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43507/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43507/events | https://github.com/pandas-dev/pandas/pull/43507 | 993,723,879 | MDExOlB1bGxSZXF1ZXN0NzMxODU1NDk5 | 43,507 | BUG/API: concat with empty DataFrames or all-NA columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "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": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 6 | "2021-09-11T02:44:19Z" | "2021-09-21T20:04:43Z" | "2021-09-15T01:37:14Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
This is in the grey area between a bugfix and an API change. Towards the bugfix side, it fixes some truly strange behavior:
1) Concatenating ignores the dtypes of all-NaN columns (see test_append_dtypes)
```
import numpy as np
import pandas as pd
import pandas._testing as tm
df1 = pd.DataFrame({"bar": pd.Timestamp("20130101")}, index=range(1))
df2 = pd.DataFrame({"bar": np.nan}, index=range(1, 2))
df3 = df2.astype(object)
result = df1.append(df2)
expected = pd.DataFrame(
{"bar": pd.Series([pd.Timestamp("20130101"), np.nan], dtype="M8[ns]")}
)
tm.assert_frame_equal(result, expected)
result2 = df1.append(df3)
tm.assert_frame_equal(result2, expected)
```
2) Concatenating _sometimes_ ignores the dtype on empty (see test_join_append_timedeltas)
```
df = pd.DataFrame(columns=["d", "t"]) # <- object dtype
df2 = pd.DataFrame({"d": [pd.Timestamp(2013, 11, 5, 5, 56)], "t": [pd.Timedelta(seconds=22500)]})
result = df.append(df2, ignore_index=True) # <- *not* object dtype
assert (result.dtypes == df2.dtypes).all()
```
The change in indexing code/tests is the least-invasive I could make it.
cc @jorisvandenbossche, this moves us towards having less values-dependent behavior, also makes the BM behavior more like the AM behavior in several affected cases.
Lots of cleanup becomes available after this, leaving for follow-up.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43507/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43507/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43507.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43507",
"merged_at": "2021-09-15T01:37:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43507.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43507"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43508 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43508/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43508/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43508/events | https://github.com/pandas-dev/pandas/pull/43508 | 993,739,397 | MDExOlB1bGxSZXF1ZXN0NzMxODY2OTYy | 43,508 | CLN: clean lib util | {
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-09-11T03:57:02Z" | "2021-09-11T19:56:18Z" | "2021-09-11T14:54:53Z" | MEMBER | null | xref #34213 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43508/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43508/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43508.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43508",
"merged_at": "2021-09-11T14:54:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43508.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43508"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43509 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43509/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43509/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43509/events | https://github.com/pandas-dev/pandas/pull/43509 | 993,744,270 | MDExOlB1bGxSZXF1ZXN0NzMxODcwMTU1 | 43,509 | BUG: GroupBy.apply with timegrouper and NaT | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-09-11T04:25:46Z" | "2021-09-11T17:15:38Z" | "2021-09-11T14:57:32Z" | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
I'm increasingly sure that we should use result_index instead of all of the various near-identical alternatives in these files. The hard part is finding test cases where the distinction is relevant. This gets two of 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/43509/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43509/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43509.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43509",
"merged_at": "2021-09-11T14:57:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43509.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43509"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43510 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43510/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43510/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43510/events | https://github.com/pandas-dev/pandas/pull/43510 | 993,746,967 | MDExOlB1bGxSZXF1ZXN0NzMxODcxOTM3 | 43,510 | CLN/PERF: group quantile | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"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"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-09-11T04:43:14Z" | "2021-09-12T15:11:21Z" | "2021-09-12T15:07:31Z" | MEMBER | null | Inspired by idea from @jbrockmendel in https://github.com/pandas-dev/pandas/pull/43489#discussion_r705868510.
Didn't end up seeing a huge perf improvement though, for example results on a wide frame:
```
arr = np.random.randn(10 ** 5, 100)
df = pd.DataFrame(arr)
gb = df.groupby(df.index % 3)
gb.quantile(0.5)
# this pr: 1.18 s ± 9.58 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
# master: 1.55 s ± 10.1 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
```
Based on a quick profile, almost all time is spent in `lexsort` on master or with this pr - seems lexsorting the entire block at once has comparable performance to going column by column (I guess more improvement would show up on a _really_ wide frame).
Regardless, though, I think moving this out of cython is an improvement (since gives no perf benefit for them to be in cython when just numpy functions, also saves ~80kb on compiled code). | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43510/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43510/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43510.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43510",
"merged_at": "2021-09-12T15:07:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43510.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43510"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43511 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43511/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43511/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43511/events | https://github.com/pandas-dev/pandas/pull/43511 | 993,762,476 | MDExOlB1bGxSZXF1ZXN0NzMxODgxOTc5 | 43,511 | Updated code_checks.sh | {
"avatar_url": "https://avatars.githubusercontent.com/u/75975268?v=4",
"events_url": "https://api.github.com/users/Varun270/events{/privacy}",
"followers_url": "https://api.github.com/users/Varun270/followers",
"following_url": "https://api.github.com/users/Varun270/following{/other_user}",
"gists_url": "https://api.github.com/users/Varun270/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Varun270",
"id": 75975268,
"login": "Varun270",
"node_id": "MDQ6VXNlcjc1OTc1MjY4",
"organizations_url": "https://api.github.com/users/Varun270/orgs",
"received_events_url": "https://api.github.com/users/Varun270/received_events",
"repos_url": "https://api.github.com/users/Varun270/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Varun270/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Varun270/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Varun270"
} | [
{
"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": "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 | 14 | "2021-09-11T06:18:39Z" | "2021-10-29T08:40:44Z" | null | CONTRIBUTOR | null | - [ ✔] closes #28724
- [ ] tests added / passed
- [✔ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43511/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43511/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43511.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43511",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/43511.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43511"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43512 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43512/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43512/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43512/events | https://github.com/pandas-dev/pandas/pull/43512 | 993,819,347 | MDExOlB1bGxSZXF1ZXN0NzMxOTE4NTM1 | 43,512 | TYP: use npt.DTypeLike for type annotation of dtype arg in to_numpy | {
"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": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-09-11T11:28:59Z" | "2021-09-11T15:08:26Z" | "2021-09-11T14:52:28Z" | MEMBER | null | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43512/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43512/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43512.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43512",
"merged_at": "2021-09-11T14:52:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43512.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43512"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43513 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43513/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43513/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43513/events | https://github.com/pandas-dev/pandas/pull/43513 | 993,866,287 | MDExOlB1bGxSZXF1ZXN0NzMxOTQ4ODQ1 | 43,513 | TYP: SparseArray | {
"avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4",
"events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}",
"followers_url": "https://api.github.com/users/mzeitlin11/followers",
"following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mzeitlin11",
"id": 37011898,
"login": "mzeitlin11",
"node_id": "MDQ6VXNlcjM3MDExODk4",
"organizations_url": "https://api.github.com/users/mzeitlin11/orgs",
"received_events_url": "https://api.github.com/users/mzeitlin11/received_events",
"repos_url": "https://api.github.com/users/mzeitlin11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mzeitlin11"
} | [
{
"color": "009800",
"default": false,
"description": "Sparse Data Type",
"id": 49182326,
"name": "Sparse",
"node_id": "MDU6TGFiZWw0OTE4MjMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse"
},
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-09-11T15:27:19Z" | "2021-09-12T15:11:09Z" | "2021-09-12T15:01:32Z" | MEMBER | null | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43513/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43513/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43513.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43513",
"merged_at": "2021-09-12T15:01:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43513.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43513"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43514 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43514/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43514/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43514/events | https://github.com/pandas-dev/pandas/pull/43514 | 993,887,203 | MDExOlB1bGxSZXF1ZXN0NzMxOTYyNjM2 | 43,514 | TYP: sparse.pyi | {
"avatar_url": "https://avatars.githubusercontent.com/u/37011898?v=4",
"events_url": "https://api.github.com/users/mzeitlin11/events{/privacy}",
"followers_url": "https://api.github.com/users/mzeitlin11/followers",
"following_url": "https://api.github.com/users/mzeitlin11/following{/other_user}",
"gists_url": "https://api.github.com/users/mzeitlin11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mzeitlin11",
"id": 37011898,
"login": "mzeitlin11",
"node_id": "MDQ6VXNlcjM3MDExODk4",
"organizations_url": "https://api.github.com/users/mzeitlin11/orgs",
"received_events_url": "https://api.github.com/users/mzeitlin11/received_events",
"repos_url": "https://api.github.com/users/mzeitlin11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mzeitlin11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzeitlin11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mzeitlin11"
} | [
{
"color": "009800",
"default": false,
"description": "Sparse Data Type",
"id": 49182326,
"name": "Sparse",
"node_id": "MDU6TGFiZWw0OTE4MjMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Sparse"
},
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-09-11T17:14:40Z" | "2021-09-12T15:11:00Z" | "2021-09-12T14:59:41Z" | MEMBER | null | A start to typing sparse stuff, tried to do this without touching the cython code, hopefully some cleanups possible once typing somewhat specified.
cc @jbrockmendel, one annoying piece going on here is the abstract base class `SparseIndex` - it functions entirely like an interface, and so has nothing but abstract methods. Currently, in `cython` only `__init__` is defined for the base class, so the current typing with multiple methods in the base class is a bit of a white lie. We could just add all the methods to the base class and have them raise `NotImplementedError`, but not sure if that's just unnecessary code bloat since it works as is. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43514/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43514/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43514.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43514",
"merged_at": "2021-09-12T14:59:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43514.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43514"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43515 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43515/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43515/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43515/events | https://github.com/pandas-dev/pandas/pull/43515 | 993,889,706 | MDExOlB1bGxSZXF1ZXN0NzMxOTY0Mjg4 | 43,515 | BUG: Groupby.agg with timegrouper, nat, and numba | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "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": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
},
{
"color": "5319e7",
"default": false,
"description": "numba-accelerated operations",
"id": 2138993554,
"name": "numba",
"node_id": "MDU6TGFiZWwyMTM4OTkzNTU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/numba"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-09-11T17:27:30Z" | "2021-09-12T18:18:34Z" | "2021-09-12T16:25:46Z" | MEMBER | null | - [ ] closes #xxxx
- [x] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43515/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43515/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43515.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43515",
"merged_at": "2021-09-12T16:25:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43515.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43515"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43516 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43516/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43516/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43516/events | https://github.com/pandas-dev/pandas/issues/43516 | 993,892,610 | MDU6SXNzdWU5OTM4OTI2MTA= | 43,516 | BUG: Error "no attribute 'total_seconds'" with tzlocal >= 3.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/650866?v=4",
"events_url": "https://api.github.com/users/lgautier/events{/privacy}",
"followers_url": "https://api.github.com/users/lgautier/followers",
"following_url": "https://api.github.com/users/lgautier/following{/other_user}",
"gists_url": "https://api.github.com/users/lgautier/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lgautier",
"id": 650866,
"login": "lgautier",
"node_id": "MDQ6VXNlcjY1MDg2Ng==",
"organizations_url": "https://api.github.com/users/lgautier/orgs",
"received_events_url": "https://api.github.com/users/lgautier/received_events",
"repos_url": "https://api.github.com/users/lgautier/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lgautier/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lgautier/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lgautier"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 2 | "2021-09-11T17:42:29Z" | "2021-09-20T14:34:42Z" | null | CONTRIBUTOR | null | ###
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
- [ ] I have confirmed this bug exists on the master branch of pandas.
### Reproducible Example
```python
import backports.zoneinfo
import datetime
import pandas
res = pandas.to_datetime(
(datetime.datetime(
1960, 5, 2, 0, 0,
tzinfo=backports.zoneinfo.ZoneInfo(key='America/New_York')),
),
errors='coerce')
repr(res)
```
### Issue Description
`pandas.to_datetime` allows the creation of objects with a broken method `__repr__()`. The code example above triggers
```
AttributeError: 'NoneType' object has no attribute 'total_seconds'
```
The issue was discovered when investigating this: https://github.com/rpy2/rpy2/issues/823#issuecomment-917444202
### Expected Behavior
Completion of `repr()` and a string return instead of an exception raised.
### Installed Versions
<details>
INSTALLED VERSIONS
------------------
commit : 5f648bf1706dd75a9ca0d29f26eadfbb595fe52b
python : 3.8.10.final.0
python-bits : 64
OS : Linux
OS-release : 5.11.0-27-generic
Version : #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 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.2
numpy : 1.19.5
pytz : 2020.1
dateutil : 2.8.1
pip : 20.0.2
setuptools : 44.0.0
Cython : 0.29.21
pytest : 6.2.4
hypothesis : None
sphinx : 4.1.2
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.26.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.2
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 4.0.1
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/43516/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43516/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/43517 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43517/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43517/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43517/events | https://github.com/pandas-dev/pandas/pull/43517 | 993,893,743 | MDExOlB1bGxSZXF1ZXN0NzMxOTY2OTU4 | 43,517 | split macos tests in 2 | {
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "0DF09E",
"default": false,
"description": "Related to Mac OS & hardware issues (M1)",
"id": 3260433562,
"name": "OS X",
"node_id": "MDU6TGFiZWwzMjYwNDMzNTYy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/OS%20X"
}
] | closed | false | null | [] | {
"closed_at": "2021-10-17T11:06:28Z",
"closed_issues": 77,
"created_at": "2021-09-10T19:48:56Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-10-17T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/90",
"id": 7142224,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90/labels",
"node_id": "MI_kwDOAA0YD84AbPtQ",
"number": 90,
"open_issues": 0,
"state": "closed",
"title": "1.3.4",
"updated_at": "2021-10-18T11:00:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/90"
} | 8 | "2021-09-11T17:48:47Z" | "2021-09-12T20:39:18Z" | "2021-09-12T14:52:05Z" | CONTRIBUTOR | null | follow up to #43468 to also split MacOS tests in half to speed up CI tests per comment from @jreback https://github.com/pandas-dev/pandas/pull/43468#issuecomment-916860226
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43517/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43517/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43517.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43517",
"merged_at": "2021-09-12T14:52:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43517.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43517"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43518 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43518/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43518/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43518/events | https://github.com/pandas-dev/pandas/pull/43518 | 993,920,857 | MDExOlB1bGxSZXF1ZXN0NzMxOTg3NDg2 | 43,518 | PERF: groupby.pad/backfill follow-up | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-09-11T19:25:00Z" | "2021-09-12T15:16:08Z" | "2021-09-12T15:08:35Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
Follow-ups include the big perf bump discussed in #43478
```
import pandas as pd
import numpy as np
np.random.seed(23446365)
arr = np.random.randn(10**5, 10)
mask = arr < -1
arr[mask] = np.nan
df = pd.DataFrame(arr)
gb = df.groupby(df.index % 7)
%timeit res = gb.pad()
29.8 ms ± 193 µs per loop (mean ± std. dev. of 7 runs, 10 loops each) # <- master
14.6 ms ± 2.41 ms per loop (mean ± std. dev. of 7 runs, 100 loops each) # <- PR
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43518/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43518/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43518.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43518",
"merged_at": "2021-09-12T15:08:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43518.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43518"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43519 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43519/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43519/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43519/events | https://github.com/pandas-dev/pandas/pull/43519 | 993,924,054 | MDExOlB1bGxSZXF1ZXN0NzMxOTg5NTcy | 43,519 | REF: share GroupBy.count | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 0 | "2021-09-11T19:42:34Z" | "2021-09-12T15:02:14Z" | "2021-09-12T14:54:26Z" | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43519/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43519/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43519.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43519",
"merged_at": "2021-09-12T14:54:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43519.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43519"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43520 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43520/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43520/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43520/events | https://github.com/pandas-dev/pandas/pull/43520 | 993,936,143 | MDExOlB1bGxSZXF1ZXN0NzMxOTk4NTI1 | 43,520 | DOC: 1.3.3 release date | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2021-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 1 | "2021-09-11T20:33:42Z" | "2021-09-11T21:49:11Z" | "2021-09-11T21:48:59Z" | MEMBER | null | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43520/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43520/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43520.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43520",
"merged_at": "2021-09-11T21:48:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43520.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43520"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/43521 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/43521/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/43521/comments | https://api.github.com/repos/pandas-dev/pandas/issues/43521/events | https://github.com/pandas-dev/pandas/pull/43521 | 993,957,083 | MDExOlB1bGxSZXF1ZXN0NzMyMDE1MTQ1 | 43,521 | Backport PR #43520 on branch 1.3.x (DOC: 1.3.3 release date) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"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-09-12T08:21:30Z",
"closed_issues": 79,
"created_at": "2021-08-15T08:07:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-09-12T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/89",
"id": 7059576,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89/labels",
"node_id": "MI_kwDOAA0YD84Aa7h4",
"number": 89,
"open_issues": 0,
"state": "closed",
"title": "1.3.3",
"updated_at": "2021-09-12T20:30:04Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/89"
} | 0 | "2021-09-11T21:49:31Z" | "2021-09-12T06:45:04Z" | "2021-09-12T06:45:04Z" | NONE | null | Backport PR #43520: DOC: 1.3.3 release date | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/43521/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/43521/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/43521.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/43521",
"merged_at": "2021-09-12T06:45:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/43521.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/43521"
} |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.