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/42621 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42621/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42621/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42621/events | https://github.com/pandas-dev/pandas/pull/42621 | 948,243,307 | MDExOlB1bGxSZXF1ZXN0NjkzMTEwMTE0 | 42,621 | DOC: fix small issues | {
"avatar_url": "https://avatars.githubusercontent.com/u/23830955?v=4",
"events_url": "https://api.github.com/users/partev/events{/privacy}",
"followers_url": "https://api.github.com/users/partev/followers",
"following_url": "https://api.github.com/users/partev/following{/other_user}",
"gists_url": "https://api.github.com/users/partev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/partev",
"id": 23830955,
"login": "partev",
"node_id": "MDQ6VXNlcjIzODMwOTU1",
"organizations_url": "https://api.github.com/users/partev/orgs",
"received_events_url": "https://api.github.com/users/partev/received_events",
"repos_url": "https://api.github.com/users/partev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/partev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/partev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/partev"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-07-20T04:40:51Z" | "2021-07-26T02:57:10Z" | "2021-07-22T04:23:41Z" | CONTRIBUTOR | null | read_clipboard passes the text to read_csv not read_table. See here for example: https://pandas.pydata.org/docs/dev/reference/api/pandas.read_clipboard.html
also replace "OS X" -> macOS
- [ ] 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/42621/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42621/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42621.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42621",
"merged_at": "2021-07-22T04:23:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42621.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42621"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42622 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42622/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42622/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42622/events | https://github.com/pandas-dev/pandas/pull/42622 | 948,518,680 | MDExOlB1bGxSZXF1ZXN0NjkzMzUwMTM5 | 42,622 | BUG: `Styler.set_sticky` not handling display of `index names`. 1/2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4",
"events_url": "https://api.github.com/users/attack68/events{/privacy}",
"followers_url": "https://api.github.com/users/attack68/followers",
"following_url": "https://api.github.com/users/attack68/following{/other_user}",
"gists_url": "https://api.github.com/users/attack68/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/attack68",
"id": 24256554,
"login": "attack68",
"node_id": "MDQ6VXNlcjI0MjU2NTU0",
"organizations_url": "https://api.github.com/users/attack68/orgs",
"received_events_url": "https://api.github.com/users/attack68/received_events",
"repos_url": "https://api.github.com/users/attack68/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attack68/subscriptions",
"type": "User",
"url": "https://api.github.com/users/attack68"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 4 | "2021-07-20T10:28:28Z" | "2021-07-28T17:24:34Z" | "2021-07-23T23:25:52Z" | CONTRIBUTOR | null | This addresses part of the bug identified in #42537, where column/index objects are not `MultiIndexes`.
Will need a follow-on to fully correct for the `MultiIndex` case.
| {
"+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/42622/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42622/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42622.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42622",
"merged_at": "2021-07-23T23:25:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42622.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42622"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42623 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42623/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42623/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42623/events | https://github.com/pandas-dev/pandas/pull/42623 | 948,597,096 | MDExOlB1bGxSZXF1ZXN0NjkzNDE3NzYy | 42,623 | Backport PR #42577 on branch 1.3.x (BUG: Series(dask.array) GH#38645) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "d4c5f9",
"default": false,
"description": "Series/DataFrame/Index/pd.array Constructors",
"id": 1465286368,
"name": "Constructors",
"node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 0 | "2021-07-20T12:17:32Z" | "2021-07-20T13:48:30Z" | "2021-07-20T13:48:30Z" | NONE | null | Backport PR #42577: BUG: Series(dask.array) GH#38645 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42623/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42623/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42623.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42623",
"merged_at": "2021-07-20T13:48:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42623.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42623"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42624 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42624/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42624/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42624/events | https://github.com/pandas-dev/pandas/issues/42624 | 948,617,287 | MDU6SXNzdWU5NDg2MTcyODc= | 42,624 | BUG: to_datetime()'s origin does not use unit specified in the parameter | {
"avatar_url": "https://avatars.githubusercontent.com/u/8650612?v=4",
"events_url": "https://api.github.com/users/ytchanglp/events{/privacy}",
"followers_url": "https://api.github.com/users/ytchanglp/followers",
"following_url": "https://api.github.com/users/ytchanglp/following{/other_user}",
"gists_url": "https://api.github.com/users/ytchanglp/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ytchanglp",
"id": 8650612,
"login": "ytchanglp",
"node_id": "MDQ6VXNlcjg2NTA2MTI=",
"organizations_url": "https://api.github.com/users/ytchanglp/orgs",
"received_events_url": "https://api.github.com/users/ytchanglp/received_events",
"repos_url": "https://api.github.com/users/ytchanglp/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ytchanglp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ytchanglp/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ytchanglp"
} | [
{
"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"
}
] | open | false | null | [] | null | 4 | "2021-07-20T12:44:49Z" | "2021-08-21T19:11:09Z" | null | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
pd.to_datetime(1, unit='s')
# Timestamp('1970-01-01 00:00:01')
pd.to_datetime(1, unit='s', origin=1)
# Current --> Timestamp('1970-01-01 00:00:01')
# Expected -> Timestamp('1970-01-01 00:00:02')
pd.to_datetime(1, unit='s', origin=1000000000)
# Current --> Timestamp('1970-01-01 00:00:02')
# Expected -> Timestamp('2001-09-09 01:46:41')
```
#### Problem description
The numeric values of origin should be parsed as number of units defined by unit
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f00ed8f47020034e752baf0250483053340971b0
python : 3.9.6.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19042
machine : AMD64
processor : Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United States.950
pandas : 1.3.0
numpy : 1.21.0
pytz : 2021.1
dateutil : 2.8.1
pip : 21.1.3
setuptools : 57.0.0
Cython : 0.29.23
pytest : 6.2.4
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.6.3
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 3.0.1
IPython : 7.25.0
pandas_datareader: None
bs4 : None
bottleneck : 1.3.2
fsspec : 2021.06.1
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.7.0
sqlalchemy : None
tables : None
tabulate : 0.8.9
xarray : None
xlrd : 2.0.1
xlwt : None
numba : 0.53.1
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42624/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42624/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42625 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42625/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42625/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42625/events | https://github.com/pandas-dev/pandas/issues/42625 | 948,715,527 | MDU6SXNzdWU5NDg3MTU1Mjc= | 42,625 | QST: group by rolling slow on one instance but faster on another, is it possible to optimize | {
"avatar_url": "https://avatars.githubusercontent.com/u/8977910?v=4",
"events_url": "https://api.github.com/users/chivalry123/events{/privacy}",
"followers_url": "https://api.github.com/users/chivalry123/followers",
"following_url": "https://api.github.com/users/chivalry123/following{/other_user}",
"gists_url": "https://api.github.com/users/chivalry123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/chivalry123",
"id": 8977910,
"login": "chivalry123",
"node_id": "MDQ6VXNlcjg5Nzc5MTA=",
"organizations_url": "https://api.github.com/users/chivalry123/orgs",
"received_events_url": "https://api.github.com/users/chivalry123/received_events",
"repos_url": "https://api.github.com/users/chivalry123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/chivalry123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chivalry123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/chivalry123"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
},
{
"color": "be21f2",
"default": false,
"description": "May be closeable, needs more eyeballs",
"id": 2365504893,
"name": "Closing Candidate",
"node_id": "MDU6TGFiZWwyMzY1NTA0ODkz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate"
}
] | closed | false | null | [] | null | 2 | "2021-07-20T14:31:59Z" | "2021-07-21T04:07:16Z" | "2021-07-21T04:07:16Z" | NONE | null | - [Y] I have searched the [[pandas] tag](https://stackoverflow.com/questions/tagged/pandas) on StackOverflow for similar questions.
- [Y] I have asked my usage related question on [StackOverflow](https://stackoverflow.com/questions/68456672/group-by-rolling-slow-on-one-instance-but-faster-on-another-is-it-possible-to-o).
---
#### Question about pandas
I wanted to perform group by rolling sum, but I see quite different performance in two types of cases. Consider this two case:
Case 1, "time" and "id" has roughly the same size of 3000.
import pandas as pd
import numpy as np
size_now = 1e6
df = pd.DataFrame({"time":np.random.randint(3000,size=int(size_now)),
"id":np.random.randint(3000,size=int(size_now)),
"data":np.random.randint(1000,size=int(size_now))})
df.time = pd.to_datetime(df.time,unit="s")
df = df.groupby(["id","time"]).sum().reset_index()
then
%time df.sort_values(["id","time"]).groupby("id").rolling("1001ms",on="time")[["data"]].sum().sort_index()
executed in 692ms, finished 10:25:20 2021-07-20
CPU times: user 568 ms, sys: 41.6 ms, total: 610 ms
Wall time: 671 ms
It took 700ms to complete the calculations.
Case 2, where `id` varies significantly more than `time`:
import pandas as pd
import numpy as np
size_now = 1e6
df = pd.DataFrame({"time":np.random.randint(162,size=int(size_now)),
"id":np.random.randint(70000,size=int(size_now)),
"data":np.random.randint(1000,size=int(size_now))})
df.time = pd.to_datetime(df.time,unit="s")
df = df.groupby(["id","time"]).sum().reset_index()
Then
%time df.sort_values(["id","time"]).groupby("id").rolling("1001ms",on="time")[["data"]].sum().sort_index()
executed in 2.90s, finished 10:28:39 2021-07-20
CPU times: user 2.84 s, sys: 45.7 ms, total: 2.89 s
Wall time: 2.88 s
speed is much slower now... is it possible to optimize Case 2 to have similar performance as Case 1? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42625/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42625/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42626 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42626/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42626/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42626/events | https://github.com/pandas-dev/pandas/issues/42626 | 948,757,938 | MDU6SXNzdWU5NDg3NTc5Mzg= | 42,626 | BUG: Cannot calculate quantiles from Int64Dtype Series when results are floats | {
"avatar_url": "https://avatars.githubusercontent.com/u/64278226?v=4",
"events_url": "https://api.github.com/users/tamargrey/events{/privacy}",
"followers_url": "https://api.github.com/users/tamargrey/followers",
"following_url": "https://api.github.com/users/tamargrey/following{/other_user}",
"gists_url": "https://api.github.com/users/tamargrey/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tamargrey",
"id": 64278226,
"login": "tamargrey",
"node_id": "MDQ6VXNlcjY0Mjc4MjI2",
"organizations_url": "https://api.github.com/users/tamargrey/orgs",
"received_events_url": "https://api.github.com/users/tamargrey/received_events",
"repos_url": "https://api.github.com/users/tamargrey/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tamargrey/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tamargrey/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tamargrey"
} | [
{
"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": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
},
{
"color": "006b75",
"default": false,
"description": "quantile method",
"id": 1631984902,
"name": "quantile",
"node_id": "MDU6TGFiZWwxNjMxOTg0OTAy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/quantile"
}
] | closed | false | null | [] | {
"closed_at": "2021-08-15T12:34:44Z",
"closed_issues": 90,
"created_at": "2021-07-23T08:57:52Z",
"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-08-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/88",
"id": 6998423,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels",
"node_id": "MI_kwDOAA0YD84AasmX",
"number": 88,
"open_issues": 0,
"state": "closed",
"title": "1.3.2",
"updated_at": "2021-08-28T18:34:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88"
} | 2 | "2021-07-20T15:14:10Z" | "2021-08-10T20:03:34Z" | "2021-08-10T20:03:34Z" | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
pd.Series([1, 2, 3], dtype="Int64").quantile([0.75])
```
The result of the above quantile call should be `2.5`, and the following error is thrown any time the result of the quantile call is a float: `TypeError: cannot safely cast non-equivalent object to int64`. Below, when we only calculate the `0.5` quantile (which is 2), no error is thrown:
```python
pd.Series([1, 2, 3], dtype="Int64").quantile([0.5])
```
#### Problem description
In 1.2.5, this call works for Int64Dtype with the resulting dtype being `object`, and in 1.3.0, this call works for the non nullable `int64` with dtype `float64`.
#### Expected Output
If we want to go with the 1.2.5 output, the expected output would be to not error and result in a Series with dtype `object`. It could also make sense for the resulting series to have `float64` dtype.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f00ed8f47020034e752baf0250483053340971b0
python : 3.8.2.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141.2.2~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.3.0
numpy : 1.21.0
pytz : 2021.1
dateutil : 2.8.1
pip : 21.0.1
setuptools : 41.2.0
Cython : None
pytest : 6.0.1
hypothesis : None
sphinx : 3.2.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.3
IPython : 7.18.1
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 0.8.7
fastparquet : 0.5.0
gcsfs : None
matplotlib : 3.2.2
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 4.0.1
pyxlsb : None
s3fs : None
scipy : 1.6.2
sqlalchemy : None
tables : None
tabulate : None
xarray : None
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/42626/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42626/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42627 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42627/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42627/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42627/events | https://github.com/pandas-dev/pandas/issues/42627 | 948,764,022 | MDU6SXNzdWU5NDg3NjQwMjI= | 42,627 | BUG: conda package for pandas and python37 on linux64 install wrong pandas-1.3.0-py39 | {
"avatar_url": "https://avatars.githubusercontent.com/u/13200498?v=4",
"events_url": "https://api.github.com/users/revesansparole/events{/privacy}",
"followers_url": "https://api.github.com/users/revesansparole/followers",
"following_url": "https://api.github.com/users/revesansparole/following{/other_user}",
"gists_url": "https://api.github.com/users/revesansparole/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/revesansparole",
"id": 13200498,
"login": "revesansparole",
"node_id": "MDQ6VXNlcjEzMjAwNDk4",
"organizations_url": "https://api.github.com/users/revesansparole/orgs",
"received_events_url": "https://api.github.com/users/revesansparole/received_events",
"repos_url": "https://api.github.com/users/revesansparole/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/revesansparole/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/revesansparole/subscriptions",
"type": "User",
"url": "https://api.github.com/users/revesansparole"
} | [
{
"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": "d8439a",
"default": false,
"description": "Issue related to pandas dependency",
"id": 2533668378,
"name": "Upstream issue",
"node_id": "MDU6TGFiZWwyNTMzNjY4Mzc4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Upstream%20issue"
}
] | closed | false | null | [] | null | 5 | "2021-07-20T15:20:14Z" | "2021-07-26T17:25:15Z" | "2021-07-20T18:30:41Z" | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
On linux (debian)
```bash
conda create -n toto python=3.7 pandas
```
#### Problem description
Once executed the command above will install python37 but pandas for python39
```bash
root@86dbda50e2d0:~# conda create -n toto python=3.7 pandas
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /root/miniconda/envs/toto
added / updated specs:
- pandas
- python=3.7
The following packages will be downloaded:
package | build
---------------------------|-----------------
bottleneck-1.3.2 | py37heb32a55_1 125 KB
numexpr-2.7.3 | py37h22e1b3c_1 188 KB
pandas-1.3.0 | py39h295c915_0 9.6 MB
pip-21.1.3 | py37h06a4308_0 1.8 MB
python-3.7.10 | h12debd9_4 44.0 MB
------------------------------------------------------------
Total: 55.6 MB
The following NEW packages will be INSTALLED:
_libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main
_openmp_mutex pkgs/main/linux-64::_openmp_mutex-4.5-1_gnu
blas pkgs/main/linux-64::blas-1.0-mkl
bottleneck pkgs/main/linux-64::bottleneck-1.3.2-py37heb32a55_1
ca-certificates pkgs/main/linux-64::ca-certificates-2021.7.5-h06a4308_1
certifi pkgs/main/linux-64::certifi-2021.5.30-py37h06a4308_0
intel-openmp pkgs/main/linux-64::intel-openmp-2021.3.0-h06a4308_3350
ld_impl_linux-64 pkgs/main/linux-64::ld_impl_linux-64-2.35.1-h7274673_9
libffi pkgs/main/linux-64::libffi-3.3-he6710b0_2
libgcc-ng pkgs/main/linux-64::libgcc-ng-9.3.0-h5101ec6_17
libgomp pkgs/main/linux-64::libgomp-9.3.0-h5101ec6_17
libstdcxx-ng pkgs/main/linux-64::libstdcxx-ng-9.3.0-hd4cf53a_17
mkl pkgs/main/linux-64::mkl-2021.3.0-h06a4308_520
mkl-service pkgs/main/linux-64::mkl-service-2.4.0-py37h7f8727e_0
mkl_fft pkgs/main/linux-64::mkl_fft-1.3.0-py37h42c9631_2
mkl_random pkgs/main/linux-64::mkl_random-1.2.2-py37h51133e4_0
ncurses pkgs/main/linux-64::ncurses-6.2-he6710b0_1
numexpr pkgs/main/linux-64::numexpr-2.7.3-py37h22e1b3c_1
numpy pkgs/main/linux-64::numpy-1.20.3-py37hf144106_0
numpy-base pkgs/main/linux-64::numpy-base-1.20.3-py37h74d4b33_0
openssl pkgs/main/linux-64::openssl-1.1.1k-h27cfd23_0
pandas pkgs/main/linux-64::pandas-1.3.0-py39h295c915_0
pip pkgs/main/linux-64::pip-21.1.3-py37h06a4308_0
python pkgs/main/linux-64::python-3.7.10-h12debd9_4
python-dateutil pkgs/main/noarch::python-dateutil-2.8.2-pyhd3eb1b0_0
pytz pkgs/main/noarch::pytz-2021.1-pyhd3eb1b0_0
readline pkgs/main/linux-64::readline-8.1-h27cfd23_0
setuptools pkgs/main/linux-64::setuptools-52.0.0-py37h06a4308_0
six pkgs/main/noarch::six-1.16.0-pyhd3eb1b0_0
sqlite pkgs/main/linux-64::sqlite-3.36.0-hc218d9a_0
tk pkgs/main/linux-64::tk-8.6.10-hbc83047_0
wheel pkgs/main/noarch::wheel-0.36.2-pyhd3eb1b0_0
xz pkgs/main/linux-64::xz-5.2.5-h7b6447c_0
zlib pkgs/main/linux-64::zlib-1.2.11-h7b6447c_3
Proceed ([y]/n)?
```
#### Expected Output
Install pandas-1.3.0-py37hxxxx instead
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag]
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42627/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42627/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42628 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42628/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42628/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42628/events | https://github.com/pandas-dev/pandas/pull/42628 | 948,770,766 | MDExOlB1bGxSZXF1ZXN0NjkzNTYzMjEx | 42,628 | DOC: typo in user_guide/visualization.rst | {
"avatar_url": "https://avatars.githubusercontent.com/u/82988?v=4",
"events_url": "https://api.github.com/users/psychemedia/events{/privacy}",
"followers_url": "https://api.github.com/users/psychemedia/followers",
"following_url": "https://api.github.com/users/psychemedia/following{/other_user}",
"gists_url": "https://api.github.com/users/psychemedia/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/psychemedia",
"id": 82988,
"login": "psychemedia",
"node_id": "MDQ6VXNlcjgyOTg4",
"organizations_url": "https://api.github.com/users/psychemedia/orgs",
"received_events_url": "https://api.github.com/users/psychemedia/received_events",
"repos_url": "https://api.github.com/users/psychemedia/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/psychemedia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/psychemedia/subscriptions",
"type": "User",
"url": "https://api.github.com/users/psychemedia"
} | [
{
"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 | 1 | "2021-07-20T15:27:19Z" | "2021-07-20T20:56:01Z" | "2021-07-20T18:51:41Z" | CONTRIBUTOR | null | Correct typo in `user_guide/visualization.rst`: *passsing* -> *passing*
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42628/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42628/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42628.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42628",
"merged_at": "2021-07-20T18:51:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42628.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42628"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42629 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42629/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42629/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42629/events | https://github.com/pandas-dev/pandas/issues/42629 | 948,781,040 | MDU6SXNzdWU5NDg3ODEwNDA= | 42,629 | pandas.DataFrame.pivot_table cannot generate a correct Pivot Table for financial data of `General Ledger`. | {
"avatar_url": "https://avatars.githubusercontent.com/u/68224500?v=4",
"events_url": "https://api.github.com/users/zefuirusu/events{/privacy}",
"followers_url": "https://api.github.com/users/zefuirusu/followers",
"following_url": "https://api.github.com/users/zefuirusu/following{/other_user}",
"gists_url": "https://api.github.com/users/zefuirusu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zefuirusu",
"id": 68224500,
"login": "zefuirusu",
"node_id": "MDQ6VXNlcjY4MjI0NTAw",
"organizations_url": "https://api.github.com/users/zefuirusu/orgs",
"received_events_url": "https://api.github.com/users/zefuirusu/received_events",
"repos_url": "https://api.github.com/users/zefuirusu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zefuirusu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zefuirusu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zefuirusu"
} | [
{
"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": "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 | 7 | "2021-07-20T15:36:53Z" | "2021-08-21T19:13:53Z" | "2021-08-21T19:13:53Z" | NONE | null | ## description
As I have to cope with financial data, like an accountant, pivot table is a powerful tool for me.Yet recently, calling method `pandas.DataFrame.pivot_table`, I encountered a problem.
With data of `General Ledgers` (17 columns and over 7000 rows) I had expected to get a pivot table with values = `debit amount minus credit amount` for each `journal ID`, which identifies each `journal entry`, columns = `account name`, and index = `journal ID`. According to the `primary accounting equation`, for each `journal entry` we have `sum of debit amount` equal `sum of credit amount`. Thus, sum of all data of a big pivot table, whose index is `journal ID`, whose columns is `account name` and whose values are `debit minus credit`, must be zero.
However, when having called `pandas.DataFrame.pivot_table`, I found that sum of all data of that pivot table, did not equals zero. To be carefully, I generated a pivot table with `Microsoft Excel`, and it was no doubt that sum of whole pivot table equaled zero.
## code
Talk is cheap, here is the code.
```python
#!/usr/bin/env python
from pandas import read_excel
d=read_excel(excel_file_of_gl,sheet_name='Sheet1',header=0,engine='openpyxl')
d.pivot_table(values=['drcr'],index=['jid'],columns=['accna']).to_excel(./data.xlsx')
# 'drcr' means 'debit minus credit','jid' means 'journal id', and 'accna' means 'account name'.
# open the output file, sum of all the 'drcr' value did not equaled zero, which was weird.
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42629/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42629/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42630 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42630/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42630/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42630/events | https://github.com/pandas-dev/pandas/issues/42630 | 948,827,661 | MDU6SXNzdWU5NDg4Mjc2NjE= | 42,630 | BUG: Dividing Int64 and float64 results in a mix of null-types | {
"avatar_url": "https://avatars.githubusercontent.com/u/16308920?v=4",
"events_url": "https://api.github.com/users/tobiasbrodd/events{/privacy}",
"followers_url": "https://api.github.com/users/tobiasbrodd/followers",
"following_url": "https://api.github.com/users/tobiasbrodd/following{/other_user}",
"gists_url": "https://api.github.com/users/tobiasbrodd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tobiasbrodd",
"id": 16308920,
"login": "tobiasbrodd",
"node_id": "MDQ6VXNlcjE2MzA4OTIw",
"organizations_url": "https://api.github.com/users/tobiasbrodd/orgs",
"received_events_url": "https://api.github.com/users/tobiasbrodd/received_events",
"repos_url": "https://api.github.com/users/tobiasbrodd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tobiasbrodd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tobiasbrodd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tobiasbrodd"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
},
{
"color": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
}
] | open | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/42755203?v=4",
"events_url": "https://api.github.com/users/sukriti1/events{/privacy}",
"followers_url": "https://api.github.com/users/sukriti1/followers",
"following_url": "https://api.github.com/users/sukriti1/following{/other_user}",
"gists_url": "https://api.github.com/users/sukriti1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sukriti1",
"id": 42755203,
"login": "sukriti1",
"node_id": "MDQ6VXNlcjQyNzU1MjAz",
"organizations_url": "https://api.github.com/users/sukriti1/orgs",
"received_events_url": "https://api.github.com/users/sukriti1/received_events",
"repos_url": "https://api.github.com/users/sukriti1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sukriti1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sukriti1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sukriti1"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/42755203?v=4",
"events_url": "https://api.github.com/users/sukriti1/events{/privacy}",
"followers_url": "https://api.github.com/users/sukriti1/followers",
"following_url": "https://api.github.com/users/sukriti1/following{/other_user}",
"gists_url": "https://api.github.com/users/sukriti1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sukriti1",
"id": 42755203,
"login": "sukriti1",
"node_id": "MDQ6VXNlcjQyNzU1MjAz",
"organizations_url": "https://api.github.com/users/sukriti1/orgs",
"received_events_url": "https://api.github.com/users/sukriti1/received_events",
"repos_url": "https://api.github.com/users/sukriti1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sukriti1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sukriti1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sukriti1"
}
] | {
"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-07-20T16:16:18Z" | "2021-08-21T19:15:22Z" | null | NONE | null | - [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import pandas as pd
import numpy as np
data = {
"A": [15, np.nan, 5, 4],
"B": [15, 5, np.nan, 4],
}
df = pd.DataFrame(data)
df = df.astype({"A": "Int64", "B": "float64"})
df["C"] = df["A"] / df["B"]
print(df)
print(df.dtypes)
print(df.dropna(subset=["C"]))
```
This example outputs:
```
A B C
0 15 15.0 1.0
1 <NA> 5.0 <NA>
2 5 NaN NaN
3 4 4.0 1.0
A Int64
B float64
C Float64
dtype: object
A B C
0 15 15.0 1.0
2 5 NaN NaN
3 4 4.0 1.0
```
#### Problem description
Dividing an ``Int64`` column by a ``float64`` column results in a ``Float64`` column that can contain both ``<NA>`` and ``NaN`` values. However, only ``<NA>`` values will be removed by the ``dropna`` function. I would expect only ``<NA>`` values in the new column and I would also expect the ``dropna`` function to remove all NA variants (both ``<NA>`` and ``NaN``).
#### Expected Output
The row with index 2 should be dropped.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f00ed8f47020034e752baf0250483053340971b0
python : 3.9.4.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 : None
LANG : None
LOCALE : None.UTF-8
pandas : 1.3.0
numpy : 1.20.2
pytz : 2021.1
dateutil : 2.8.1
pip : 21.1.3
setuptools : 49.2.1
Cython : 0.29.23
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.6.3
html5lib : None
pymysql : None
psycopg2 : 2.8.6 (dt dec pq3 ext lo64)
jinja2 : 2.11.3
IPython : 7.23.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : None
fsspec : 2021.06.0
fastparquet : 0.6.3
gcsfs : None
matplotlib : 3.4.1
numexpr : None
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : 4.0.1
pyxlsb : None
s3fs : None
scipy : 1.6.3
sqlalchemy : 1.4.17
tables : None
tabulate : None
xarray : None
xlrd : 2.0.1
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42630/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42630/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42631 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42631/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42631/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42631/events | https://github.com/pandas-dev/pandas/pull/42631 | 948,835,742 | MDExOlB1bGxSZXF1ZXN0NjkzNjE5MDMz | 42,631 | PERF: DataFrame construction | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "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": "d4c5f9",
"default": false,
"description": "Series/DataFrame/Index/pd.array Constructors",
"id": 1465286368,
"name": "Constructors",
"node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors"
}
] | closed | false | null | [] | {
"closed_at": 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-07-20T16:26:31Z" | "2021-07-24T04:25:45Z" | "2021-07-23T23:22:25Z" | MEMBER | null | ```
In [1]: from asv_bench.benchmarks.frame_ctor import *
In [2]: cls = FromArrays
In [3]: self = cls()
In [4]: self.setup()
In [5]: %timeit self.time_frame_from_arrays_int()
6.21 ms ± 184 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) # <- master
3.27 ms ± 182 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) # <- PR
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42631/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42631/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42631.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42631",
"merged_at": "2021-07-23T23:22:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42631.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42631"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42632 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42632/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42632/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42632/events | https://github.com/pandas-dev/pandas/pull/42632 | 948,867,955 | MDExOlB1bGxSZXF1ZXN0NjkzNjQ2MDk5 | 42,632 | Backport PR #42612: Pin fastparquet | {
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "5319e7",
"default": false,
"description": "parquet, feather",
"id": 685114413,
"name": "IO Parquet",
"node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 1 | "2021-07-20T17:11:19Z" | "2021-07-20T19:26:25Z" | "2021-07-20T19:25:25Z" | MEMBER | null | Backport PR #42612 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42632/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42632/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42632.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42632",
"merged_at": "2021-07-20T19:25:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42632.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42632"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42633 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42633/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42633/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42633/events | https://github.com/pandas-dev/pandas/pull/42633 | 948,899,284 | MDExOlB1bGxSZXF1ZXN0NjkzNjczMDgy | 42,633 | Fixed regression for SettingWithCopyWarning showing incorrect stacklevel | {
"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"
},
{
"color": "70e5ca",
"default": false,
"description": "",
"id": 2085877452,
"name": "Copy / view semantics",
"node_id": "MDU6TGFiZWwyMDg1ODc3NDUy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Copy%20/%20view%20semantics"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 1 | "2021-07-20T17:55:13Z" | "2021-07-22T22:54:19Z" | "2021-07-22T22:54:16Z" | MEMBER | null | - [x] closes #42570
- [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
Is there a better way to check the stacklevel 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/42633/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42633/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42633.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42633",
"merged_at": "2021-07-22T22:54:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42633.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42633"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42634 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42634/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42634/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42634/events | https://github.com/pandas-dev/pandas/pull/42634 | 948,906,809 | MDExOlB1bGxSZXF1ZXN0NjkzNjc5NjQ3 | 42,634 | CI: Try to speed up ArrayManager | {
"avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4",
"events_url": "https://api.github.com/users/lithomas1/events{/privacy}",
"followers_url": "https://api.github.com/users/lithomas1/followers",
"following_url": "https://api.github.com/users/lithomas1/following{/other_user}",
"gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lithomas1",
"id": 47963215,
"login": "lithomas1",
"node_id": "MDQ6VXNlcjQ3OTYzMjE1",
"organizations_url": "https://api.github.com/users/lithomas1/orgs",
"received_events_url": "https://api.github.com/users/lithomas1/received_events",
"repos_url": "https://api.github.com/users/lithomas1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lithomas1"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "1d76db",
"default": false,
"description": "",
"id": 3165546917,
"name": "ArrayManager",
"node_id": "MDU6TGFiZWwzMTY1NTQ2OTE3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ArrayManager"
}
] | 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-07-20T18:04:29Z" | "2021-11-11T01:38:31Z" | "2021-07-25T14:15:41Z" | 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
Don't re-run ArrayManager tests if we are already in ArrayManager mode.
P.S. I'm not sure what the arraymanager marker is supposed to be for. If it only runs the frame tests, wouldn't it be better to just specify that directly in the ``PYTEST_AM_CMD``.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42634/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42634/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42634.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42634",
"merged_at": "2021-07-25T14:15:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42634.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42634"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42635 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42635/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42635/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42635/events | https://github.com/pandas-dev/pandas/pull/42635 | 948,946,410 | MDExOlB1bGxSZXF1ZXN0NjkzNzE0OTk2 | 42,635 | pd.to_datetime() fails for KeyError when raising monotonic increasing index ValueError | {
"avatar_url": "https://avatars.githubusercontent.com/u/12675558?v=4",
"events_url": "https://api.github.com/users/usersblock/events{/privacy}",
"followers_url": "https://api.github.com/users/usersblock/followers",
"following_url": "https://api.github.com/users/usersblock/following{/other_user}",
"gists_url": "https://api.github.com/users/usersblock/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/usersblock",
"id": 12675558,
"login": "usersblock",
"node_id": "MDQ6VXNlcjEyNjc1NTU4",
"organizations_url": "https://api.github.com/users/usersblock/orgs",
"received_events_url": "https://api.github.com/users/usersblock/received_events",
"repos_url": "https://api.github.com/users/usersblock/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/usersblock/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/usersblock/subscriptions",
"type": "User",
"url": "https://api.github.com/users/usersblock"
} | [
{
"color": "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"
}
] | 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-07-20T18:46:56Z" | "2021-07-25T14:07:06Z" | "2021-07-25T14:07:02Z" | CONTRIBUTOR | null | - [x] closes #28238
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
Test added to test_to_datetime.py to test the conversion to datetime for a series with a float 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/42635/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42635/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42635.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42635",
"merged_at": "2021-07-25T14:07:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42635.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42635"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42636 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42636/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42636/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42636/events | https://github.com/pandas-dev/pandas/pull/42636 | 949,015,352 | MDExOlB1bGxSZXF1ZXN0NjkzNzc3NjQ5 | 42,636 | ENH: add kw `levels` to `Styler.hide_index` to hide only specific levels | {
"avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4",
"events_url": "https://api.github.com/users/attack68/events{/privacy}",
"followers_url": "https://api.github.com/users/attack68/followers",
"following_url": "https://api.github.com/users/attack68/following{/other_user}",
"gists_url": "https://api.github.com/users/attack68/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/attack68",
"id": 24256554,
"login": "attack68",
"node_id": "MDQ6VXNlcjI0MjU2NTU0",
"organizations_url": "https://api.github.com/users/attack68/orgs",
"received_events_url": "https://api.github.com/users/attack68/received_events",
"repos_url": "https://api.github.com/users/attack68/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attack68/subscriptions",
"type": "User",
"url": "https://api.github.com/users/attack68"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 2 | "2021-07-20T19:44:49Z" | "2021-08-05T16:40:41Z" | "2021-08-05T11:58:35Z" | CONTRIBUTOR | null | - [x] closes #25475
- [x] tests added / passed
- [x] whatsnew entry 1.4.0

| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42636/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42636/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42636.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42636",
"merged_at": "2021-08-05T11:58:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42636.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42636"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42637 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42637/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42637/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42637/events | https://github.com/pandas-dev/pandas/pull/42637 | 949,058,598 | MDExOlB1bGxSZXF1ZXN0NjkzODE2NzIy | 42,637 | CLN: move isort config to pyproject.toml | {
"avatar_url": "https://avatars.githubusercontent.com/u/7614606?v=4",
"events_url": "https://api.github.com/users/fangchenli/events{/privacy}",
"followers_url": "https://api.github.com/users/fangchenli/followers",
"following_url": "https://api.github.com/users/fangchenli/following{/other_user}",
"gists_url": "https://api.github.com/users/fangchenli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fangchenli",
"id": 7614606,
"login": "fangchenli",
"node_id": "MDQ6VXNlcjc2MTQ2MDY=",
"organizations_url": "https://api.github.com/users/fangchenli/orgs",
"received_events_url": "https://api.github.com/users/fangchenli/received_events",
"repos_url": "https://api.github.com/users/fangchenli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fangchenli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fangchenli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fangchenli"
} | [
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] | closed | false | null | [] | {
"closed_at": 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-07-20T20:29:43Z" | "2021-08-17T04:16:21Z" | "2021-07-21T17:10:16Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42637/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42637/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42637.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42637",
"merged_at": "2021-07-21T17:10:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42637.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42637"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/42638 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42638/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42638/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42638/events | https://github.com/pandas-dev/pandas/issues/42638 | 949,159,628 | MDU6SXNzdWU5NDkxNTk2Mjg= | 42,638 | date_range bug for | {
"avatar_url": "https://avatars.githubusercontent.com/u/49250904?v=4",
"events_url": "https://api.github.com/users/ThiMaul/events{/privacy}",
"followers_url": "https://api.github.com/users/ThiMaul/followers",
"following_url": "https://api.github.com/users/ThiMaul/following{/other_user}",
"gists_url": "https://api.github.com/users/ThiMaul/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ThiMaul",
"id": 49250904,
"login": "ThiMaul",
"node_id": "MDQ6VXNlcjQ5MjUwOTA0",
"organizations_url": "https://api.github.com/users/ThiMaul/orgs",
"received_events_url": "https://api.github.com/users/ThiMaul/received_events",
"repos_url": "https://api.github.com/users/ThiMaul/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ThiMaul/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ThiMaul/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ThiMaul"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | null | 6 | "2021-07-20T22:29:17Z" | "2021-07-22T16:51:26Z" | "2021-07-22T16:19:51Z" | NONE | null | I need help!!
When I use this code :
debut = df_idmatch.date.min().replace(tzinfo=None)
fin = df_idmatch.date.max().replace(tzinfo=None)
print(debut, fin)
dates=pd.date_range(start=debut,end=fin,freq='W')
date_index=dates.year.astype(str)+"-"+dates.weekofyear.astype(str).str.zfill(2)
date_index.tolist()
There is a trouble when you pass from the end of the year to next year. If you print date_index, it will print you :
Index(['2020-38', '2020-39', '2020-40', '2020-41', '2020-42', '2020-43',
'2020-44', '2020-45', '2020-46', '2020-47', '2020-48', '2020-49',
'2020-50', '2020-51', '2020-52', '**2021-53**', '2021-01', '2021-02',
'2021-03', '2021-04', '2021-05', '2021-06', '2021-07', '2021-08',
'2021-09', '2021-10', '2021-11', '2021-12', '2021-13', '2021-14',
'2021-15', '2021-16', '2021-17', '2021-18', '2021-19', '2021-20',
'2021-21', '2021-22', '2021-23', '2021-24', '2021-25', '2021-26',
'2021-27', '2021-28', '2021-29', '2021-30'],
dtype='object')
in fact, 2021-53 should be 2020-53
is it a problem with the date_range fonction or is it inside my own code ?
Regards,
Thibaud | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42638/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42638/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42639 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42639/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42639/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42639/events | https://github.com/pandas-dev/pandas/issues/42639 | 949,167,930 | MDU6SXNzdWU5NDkxNjc5MzA= | 42,639 | BUG: v1.3.0 to_datetime caching behavior changed compared to v1.2.5 | {
"avatar_url": "https://avatars.githubusercontent.com/u/23350991?v=4",
"events_url": "https://api.github.com/users/stevebachmeier/events{/privacy}",
"followers_url": "https://api.github.com/users/stevebachmeier/followers",
"following_url": "https://api.github.com/users/stevebachmeier/following{/other_user}",
"gists_url": "https://api.github.com/users/stevebachmeier/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/stevebachmeier",
"id": 23350991,
"login": "stevebachmeier",
"node_id": "MDQ6VXNlcjIzMzUwOTkx",
"organizations_url": "https://api.github.com/users/stevebachmeier/orgs",
"received_events_url": "https://api.github.com/users/stevebachmeier/received_events",
"repos_url": "https://api.github.com/users/stevebachmeier/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/stevebachmeier/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stevebachmeier/subscriptions",
"type": "User",
"url": "https://api.github.com/users/stevebachmeier"
} | [
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] | closed | false | null | [] | null | 2 | "2021-07-20T22:44:35Z" | "2021-07-22T12:28:40Z" | "2021-07-22T12:28:22Z" | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
# 51 rows results in missingness
df = pd.DataFrame({'date':['07.30.2020'] + ['30.07.2020']*50})
pd.to_datetime(df.date, dayfirst=True).isna().sum()
# 50 rows results in no missingness
pd.to_datetime(df.date[0:50], dayfirst=True).isna().sum()
# 51 rows with cache=False results in no missingness
pd.to_datetime(df.date, dayfirst=True, cache=False).isna().sum()
```
#### Problem description
Starting with v1.3.0 we began running into issues where pd.to_datetime would not convert all dates as expected if there are conflicting formats. It appears that the default behavior of `cache=True` behaves differently between the two versions. In v1.3.0 it seems that `cache=False` fixes the problem but that slows things down.
#### Expected Output
We would expect there to be no missingness with the default of `cache=True`.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f00ed8f47020034e752baf0250483053340971b0
python : 3.7.10.final.0
python-bits : 64
OS : Linux
OS-release : 3.10.0-957.12.2.el7.x86_64
Version : #1 SMP Tue May 14 21:24:32 UTC 2019
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.3.0
numpy : 1.21.0
pytz : 2021.1
dateutil : 2.8.2
pip : 21.1.3
setuptools : 52.0.0.post20210125
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42639/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42639/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42640 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42640/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42640/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42640/events | https://github.com/pandas-dev/pandas/pull/42640 | 949,174,108 | MDExOlB1bGxSZXF1ZXN0NjkzOTIwMTY3 | 42,640 | BUG: Fix bug in SeriesGroupBy.value_counts when DataFrame has one row (#42618) | {
"avatar_url": "https://avatars.githubusercontent.com/u/42706631?v=4",
"events_url": "https://api.github.com/users/neelmraman/events{/privacy}",
"followers_url": "https://api.github.com/users/neelmraman/followers",
"following_url": "https://api.github.com/users/neelmraman/following{/other_user}",
"gists_url": "https://api.github.com/users/neelmraman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/neelmraman",
"id": 42706631,
"login": "neelmraman",
"node_id": "MDQ6VXNlcjQyNzA2NjMx",
"organizations_url": "https://api.github.com/users/neelmraman/orgs",
"received_events_url": "https://api.github.com/users/neelmraman/received_events",
"repos_url": "https://api.github.com/users/neelmraman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/neelmraman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/neelmraman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/neelmraman"
} | [
{
"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"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 0 | "2021-07-20T22:58:32Z" | "2021-07-24T03:29:23Z" | "2021-07-24T03:29:23Z" | CONTRIBUTOR | null | - [x] closes #42618
- [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
Was introduced in v1.3.0 [here](https://github.com/pandas-dev/pandas/pull/39326). I couldn't find a reason why `len(lchanges)` should be used and the unit tests still passed with `len(val)` instead. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42640/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42640/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42640.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42640",
"merged_at": "2021-07-24T03:29:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42640.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42640"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42641 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42641/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42641/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42641/events | https://github.com/pandas-dev/pandas/pull/42641 | 949,195,083 | MDExOlB1bGxSZXF1ZXN0NjkzOTM4NDA1 | 42,641 | Backport PR #42583 on branch 1.3.x (CI: auto-cancel Azure builds in PR) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 0 | "2021-07-20T23:47:41Z" | "2021-07-21T08:53:09Z" | "2021-07-21T08:53:09Z" | NONE | null | Backport PR #42583: CI: auto-cancel Azure builds in 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/42641/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42641/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42641.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42641",
"merged_at": "2021-07-21T08:53:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42641.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42641"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42642 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42642/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42642/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42642/events | https://github.com/pandas-dev/pandas/issues/42642 | 949,290,164 | MDU6SXNzdWU5NDkyOTAxNjQ= | 42,642 | BUG: pandas 1.3.0 short series of type pandas.Int32DType() fails to calculate 0.75 quantile | {
"avatar_url": "https://avatars.githubusercontent.com/u/4725207?v=4",
"events_url": "https://api.github.com/users/anarkiwi/events{/privacy}",
"followers_url": "https://api.github.com/users/anarkiwi/followers",
"following_url": "https://api.github.com/users/anarkiwi/following{/other_user}",
"gists_url": "https://api.github.com/users/anarkiwi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/anarkiwi",
"id": 4725207,
"login": "anarkiwi",
"node_id": "MDQ6VXNlcjQ3MjUyMDc=",
"organizations_url": "https://api.github.com/users/anarkiwi/orgs",
"received_events_url": "https://api.github.com/users/anarkiwi/received_events",
"repos_url": "https://api.github.com/users/anarkiwi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/anarkiwi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anarkiwi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/anarkiwi"
} | [
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] | closed | false | null | [] | null | 2 | "2021-07-21T03:38:23Z" | "2021-07-22T12:02:48Z" | "2021-07-22T12:02:35Z" | NONE | null | numpy uint32 is fine, but pd.Uint32Dtype() is not, on the same series:
```
>>> df = pd.DataFrame([{'x': 60}, {'x': 70}, {'x': 1514}, {'x': 1514}, {'x': 1514}, {'x': 1019}, {'x': 60}, {'x': 77}, {'x': 60}, {'x': 60}, {'x': 60}], dtype=np.uint32)
>>> df['x'].quantile(0.75)
1266.5
```
Now Pandas:
```
>>> df = pd.DataFrame([{'x': 60}, {'x': 70}, {'x': 1514}, {'x': 1514}, {'x': 1514}, {'x': 1019}, {'x': 60}, {'x': 77}, {'x': 60}, {'x': 60}, {'x': 60}], dtype=pd.UInt32Dtype())
>>> df['x'].quantile(0.75)
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/pandas/core/arrays/integer.py", line 126, in safe_cast
return values.astype(dtype, casting="safe", copy=copy)
TypeError: Cannot cast array data from dtype('O') to dtype('uint32') according to the rule 'safe'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.9/site-packages/pandas/core/series.py", line 2447, in quantile
result = df.quantile(q=q, interpolation=interpolation, numeric_only=False)
File "/usr/local/lib/python3.9/site-packages/pandas/core/frame.py", line 10290, in quantile
res = self.quantile(
File "/usr/local/lib/python3.9/site-packages/pandas/core/frame.py", line 10309, in quantile
res = data._mgr.quantile(qs=q, axis=1, interpolation=interpolation)
File "/usr/local/lib/python3.9/site-packages/pandas/core/internals/managers.py", line 1338, in quantile
blocks = [
File "/usr/local/lib/python3.9/site-packages/pandas/core/internals/managers.py", line 1339, in <listcomp>
blk.quantile(axis=axis, qs=qs, interpolation=interpolation)
File "/usr/local/lib/python3.9/site-packages/pandas/core/internals/blocks.py", line 1324, in quantile
result = quantile_compat(self.values, np.asarray(qs._values), interpolation)
File "/usr/local/lib/python3.9/site-packages/pandas/core/array_algos/quantile.py", line 46, in quantile_compat
out = _quantile_ea_fallback(values, qs, interpolation)
File "/usr/local/lib/python3.9/site-packages/pandas/core/array_algos/quantile.py", line 184, in _quantile_ea_fallback
out = type(values)._from_sequence(res, dtype=values.dtype)
File "/usr/local/lib/python3.9/site-packages/pandas/core/arrays/integer.py", line 323, in _from_sequence
values, mask = coerce_to_array(scalars, dtype=dtype, copy=copy)
File "/usr/local/lib/python3.9/site-packages/pandas/core/arrays/integer.py", line 231, in coerce_to_array
values = safe_cast(values, dtype, copy=False)
File "/usr/local/lib/python3.9/site-packages/pandas/core/arrays/integer.py", line 133, in safe_cast
raise TypeError(
TypeError: cannot safely cast non-equivalent object to uint32
```
```
root@572eb14c4d4f:/tmp# pip3 show numpy
Name: numpy
Version: 1.21.0
Summary: NumPy is the fundamental package for array computing with Python.
Home-page: https://www.numpy.org
Author: Travis E. Oliphant et al.
Author-email: None
License: BSD
Location: /usr/local/lib/python3.9/site-packages
Requires:
Required-by: scipy, scikit-learn, pandas
root@572eb14c4d4f:/tmp# pip3 show pandas
Name: pandas
Version: 1.3.0
Summary: Powerful data structures for data analysis, time series, and statistics
Home-page: https://pandas.pydata.org
Author: The Pandas Development Team
Author-email: [email protected]
License: BSD-3-Clause
Location: /usr/local/lib/python3.9/site-packages
Requires: pytz, numpy, python-dateutil
root@572eb14c4d4f:/tmp# python3 --version
Python 3.9.6
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42642/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42642/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42643 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42643/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42643/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42643/events | https://github.com/pandas-dev/pandas/pull/42643 | 949,299,595 | MDExOlB1bGxSZXF1ZXN0Njk0MDI2OTY5 | 42,643 | BUG: Pass copy argument to expanddim constructor in concat. | {
"avatar_url": "https://avatars.githubusercontent.com/u/1904716?v=4",
"events_url": "https://api.github.com/users/jmcomie/events{/privacy}",
"followers_url": "https://api.github.com/users/jmcomie/followers",
"following_url": "https://api.github.com/users/jmcomie/following{/other_user}",
"gists_url": "https://api.github.com/users/jmcomie/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jmcomie",
"id": 1904716,
"login": "jmcomie",
"node_id": "MDQ6VXNlcjE5MDQ3MTY=",
"organizations_url": "https://api.github.com/users/jmcomie/orgs",
"received_events_url": "https://api.github.com/users/jmcomie/received_events",
"repos_url": "https://api.github.com/users/jmcomie/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jmcomie/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jmcomie/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jmcomie"
} | [] | closed | false | null | [] | null | 0 | "2021-07-21T04:03:22Z" | "2021-07-21T04:55:46Z" | "2021-07-21T04:55:46Z" | CONTRIBUTOR | null | - [x] closes #42501
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
Pass the provided copy argument through to the DataFrame constructor when constructing a DataFrame from a Series iterable, as is done with the other DataFrame construction call in the get_result method. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42643/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42643/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42643.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42643",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/42643.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42643"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42644 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42644/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42644/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42644/events | https://github.com/pandas-dev/pandas/pull/42644 | 949,474,747 | MDExOlB1bGxSZXF1ZXN0Njk0MTc1NjE0 | 42,644 | BUG: KeyError when a series popped from data frame with bool indexer | {
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | {
"closed_at": "2021-08-15T12:34:44Z",
"closed_issues": 90,
"created_at": "2021-07-23T08:57:52Z",
"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-08-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/88",
"id": 6998423,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels",
"node_id": "MI_kwDOAA0YD84AasmX",
"number": 88,
"open_issues": 0,
"state": "closed",
"title": "1.3.2",
"updated_at": "2021-08-28T18:34:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88"
} | 5 | "2021-07-21T08:45:03Z" | "2021-07-26T15:01:05Z" | "2021-07-26T12:43:02Z" | CONTRIBUTOR | null |
- [x] closes #42530
- [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/42644/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42644/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42644.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42644",
"merged_at": "2021-07-26T12:43:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42644.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42644"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42645 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42645/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42645/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42645/events | https://github.com/pandas-dev/pandas/issues/42645 | 949,796,182 | MDU6SXNzdWU5NDk3OTYxODI= | 42,645 | ENH: Have `DataFrame.to_sql()` return the created `Table` object | {
"avatar_url": "https://avatars.githubusercontent.com/u/5019367?v=4",
"events_url": "https://api.github.com/users/multimeric/events{/privacy}",
"followers_url": "https://api.github.com/users/multimeric/followers",
"following_url": "https://api.github.com/users/multimeric/following{/other_user}",
"gists_url": "https://api.github.com/users/multimeric/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/multimeric",
"id": 5019367,
"login": "multimeric",
"node_id": "MDQ6VXNlcjUwMTkzNjc=",
"organizations_url": "https://api.github.com/users/multimeric/orgs",
"received_events_url": "https://api.github.com/users/multimeric/received_events",
"repos_url": "https://api.github.com/users/multimeric/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/multimeric/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/multimeric/subscriptions",
"type": "User",
"url": "https://api.github.com/users/multimeric"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
},
{
"color": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
}
] | open | false | null | [] | null | 2 | "2021-07-21T14:43:02Z" | "2021-07-31T06:09:16Z" | null | NONE | null | #### Is your feature request related to a problem?
I would like to be able to query a table immediately after creating it using `df.to_sql()`, in the SQLAlchemy interface.
#### Describe the solution you'd like
Currently `to_sql()` has no return value. I suggest simply returning the new table object, which is of type `sqlalchemy.Table`.
#### API breaking implications
None, as `to_sql()` currently has no return value.
#### Describe alternatives you've considered
* You can query the table immediately using raw SQL as shown in the documentation for this function, but this is relatively low-level
* You could obtain a `Table` object from the [`automap`](https://docs.sqlalchemy.org/en/14/orm/extensions/automap.html) extension. However this is redundant as Pandas at some point generated the table metadata so this would involve throwing it away and then trying to guess what it used to be from the state of the database.
#### Additional context
This conflicts with #23998, which suggests that we return the `ResultProxy` instead. Perhaps we return both, as a tuple? Both of these objects would be useful.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42645/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42645/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42646 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42646/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42646/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42646/events | https://github.com/pandas-dev/pandas/pull/42646 | 949,855,123 | MDExOlB1bGxSZXF1ZXN0Njk0NDkyOTU4 | 42,646 | BUG: misleading error creating df from 2d array | {
"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": "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"
}
] | 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-07-21T15:42:00Z" | "2021-07-28T13:04:00Z" | "2021-07-28T12:37:39Z" | CONTRIBUTOR | null | - [x] closes #42463
- [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/42646/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42646/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42646.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42646",
"merged_at": "2021-07-28T12:37:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42646.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42646"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42647 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42647/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42647/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42647/events | https://github.com/pandas-dev/pandas/pull/42647 | 949,898,315 | MDExOlB1bGxSZXF1ZXN0Njk0NTI4MTU4 | 42,647 | BUG: ArrayManager reindex with copy=True not copying | {
"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": "1d76db",
"default": false,
"description": "",
"id": 3165546917,
"name": "ArrayManager",
"node_id": "MDU6TGFiZWwzMTY1NTQ2OTE3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ArrayManager"
}
] | 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-07-21T16:30:33Z" | "2021-08-04T22:48:59Z" | "2021-08-04T22:18:05Z" | 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/42647/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42647/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42647.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42647",
"merged_at": "2021-08-04T22:18:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42647.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42647"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42648 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42648/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42648/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42648/events | https://github.com/pandas-dev/pandas/pull/42648 | 949,906,961 | MDExOlB1bGxSZXF1ZXN0Njk0NTM1MDk2 | 42,648 | DOC: Boolean Array Is Experimental | {
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 3 | "2021-07-21T16:41:41Z" | "2021-07-22T22:05:04Z" | "2021-07-22T21:47:55Z" | 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
BooleanArray and BooleanDtype are marked experimental, but its not marked as experimental in the user guide. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42648/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42648/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42648.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42648",
"merged_at": "2021-07-22T21:47:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42648.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42648"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42649 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42649/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42649/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42649/events | https://github.com/pandas-dev/pandas/pull/42649 | 949,963,091 | MDExOlB1bGxSZXF1ZXN0Njk0NTgxMjYy | 42,649 | Revert 42231 bug mi should compare | {
"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 | 2 | "2021-07-21T17:57:43Z" | "2021-07-24T22:21:12Z" | "2021-07-24T22:21:01Z" | 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/42649/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42649/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42649.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42649",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/42649.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42649"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42650 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42650/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42650/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42650/events | https://github.com/pandas-dev/pandas/pull/42650 | 949,975,586 | MDExOlB1bGxSZXF1ZXN0Njk0NTkyMDUw | 42,650 | BUG: EWM silently failed float32 | {
"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": "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": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 8 | "2021-07-21T18:14:18Z" | "2021-08-04T04:31:55Z" | "2021-08-04T04:23:27Z" | CONTRIBUTOR | null | - [x] closes #42452
- [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/42650/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42650/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42650.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42650",
"merged_at": "2021-08-04T04:23:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42650.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42650"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42651 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42651/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42651/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42651/events | https://github.com/pandas-dev/pandas/issues/42651 | 949,977,830 | MDU6SXNzdWU5NDk5Nzc4MzA= | 42,651 | BUG: pd.concat breaks pickle on non-unique multiindex | {
"avatar_url": "https://avatars.githubusercontent.com/u/22773387?v=4",
"events_url": "https://api.github.com/users/raphaelquast/events{/privacy}",
"followers_url": "https://api.github.com/users/raphaelquast/followers",
"following_url": "https://api.github.com/users/raphaelquast/following{/other_user}",
"gists_url": "https://api.github.com/users/raphaelquast/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/raphaelquast",
"id": 22773387,
"login": "raphaelquast",
"node_id": "MDQ6VXNlcjIyNzczMzg3",
"organizations_url": "https://api.github.com/users/raphaelquast/orgs",
"received_events_url": "https://api.github.com/users/raphaelquast/received_events",
"repos_url": "https://api.github.com/users/raphaelquast/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/raphaelquast/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/raphaelquast/subscriptions",
"type": "User",
"url": "https://api.github.com/users/raphaelquast"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-07-21T18:17:16Z" | "2021-07-26T08:20:30Z" | "2021-07-25T14:18:38Z" | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import pickle
import pandas as pd
index = [1, 1, 3, 4, 5] # note the non-unique index!!
data = [1, 2, 3, 4, 5]
df = pd.DataFrame(data=data, index=index)
# prepent an index-column using concat
df = pd.concat([df],
keys=["A"],
names=["ID", "date"])
dump = pickle.dumps(df)
load = pickle.loads(dump)
```
```python
Traceback (most recent call last):
File "<ipython-input-71-cb78b67666e1>", line 9, in <module>
load = pickle.loads(dump)
File "C:\Users\rquast\Miniconda3\envs\rt1\lib\site-packages\pandas\core\indexes\base.py", line 242, in _new_Index
return cls.__new__(cls, **d)
File "C:\Users\rquast\Miniconda3\envs\rt1\lib\site-packages\pandas\core\indexes\multi.py", line 339, in __new__
new_codes = result._verify_integrity()
File "C:\Users\rquast\Miniconda3\envs\rt1\lib\site-packages\pandas\core\indexes\multi.py", line 413, in _verify_integrity
f"Level values must be unique: {list(level)} on level {i}"
ValueError: Level values must be unique: [1, 1, 3, 4, 5] on level 1
```
... doing the very same thing manually works just fine
```python
multiindex = pd.MultiIndex.from_product([["A"], index], names=["ID", "date"])
df2 = pd.DataFrame(data=data,
index=multiindex,
)
dump = pickle.dumps(df2)
load = pickle.loads(dump)
load.equals(df)
>>> True
```
#### Problem description
I guess there's not much problem-description needed...
I stumbled upon this really puzzling issue while working on a multiprocessing-routine that puts pandas-dataframes in a queue...
... it took a while until i realized where the actual problem was coming from... I still don't get what's happening here though...
just to show what I mean... this is where the error originally occured:
```python
import multiprocessing as mp
manager = mp.Manager()
queue = manager.Queue()
queue.put(df)
```
#### Expected Output
I'd like pd.concat to output a nicely pickleable DataFrame
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f00ed8f47020034e752baf0250483053340971b0
python : 3.7.10.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.17763
machine : AMD64
processor : AMD64 Family 25 Model 33 Stepping 0, AuthenticAMD
byteorder : little
LC_ALL : None
LANG : en
LOCALE : None.None
pandas : 1.3.0
numpy : 1.21.1
pytz : 2021.1
dateutil : 2.8.2
pip : 21.1.3
setuptools : 49.6.0.post20210108
Cython : None
pytest : 6.2.4
hypothesis : None
sphinx : 4.1.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.3
IPython : 7.25.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : 2021.07.0
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.0
sqlalchemy : None
tables : 3.6.1
tabulate : None
xarray : 0.18.2
xlrd : None
xlwt : None
numba : None
</details>
| {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42651/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42651/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42652 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42652/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42652/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42652/events | https://github.com/pandas-dev/pandas/issues/42652 | 950,066,193 | MDU6SXNzdWU5NTAwNjYxOTM= | 42,652 | ENH: speed up to_excel | {
"avatar_url": "https://avatars.githubusercontent.com/u/87782187?v=4",
"events_url": "https://api.github.com/users/PeterTrefonasIv/events{/privacy}",
"followers_url": "https://api.github.com/users/PeterTrefonasIv/followers",
"following_url": "https://api.github.com/users/PeterTrefonasIv/following{/other_user}",
"gists_url": "https://api.github.com/users/PeterTrefonasIv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/PeterTrefonasIv",
"id": 87782187,
"login": "PeterTrefonasIv",
"node_id": "MDQ6VXNlcjg3NzgyMTg3",
"organizations_url": "https://api.github.com/users/PeterTrefonasIv/orgs",
"received_events_url": "https://api.github.com/users/PeterTrefonasIv/received_events",
"repos_url": "https://api.github.com/users/PeterTrefonasIv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/PeterTrefonasIv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/PeterTrefonasIv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/PeterTrefonasIv"
} | [
{
"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": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
},
{
"color": "be21f2",
"default": false,
"description": "May be closeable, needs more eyeballs",
"id": 2365504893,
"name": "Closing Candidate",
"node_id": "MDU6TGFiZWwyMzY1NTA0ODkz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate"
}
] | closed | false | null | [] | null | 1 | "2021-07-21T20:02:21Z" | "2021-07-23T02:20:48Z" | "2021-07-23T02:20:48Z" | NONE | null | #### Is your feature request related to a problem?
to_excel could be faster
#### Describe the solution you'd like
openpyxl's write only workbook is very fast and should be used
https://openpyxl.readthedocs.io/en/stable/optimized.html
```python
# Your code here, if applicable
def to_excel_fast(df,name):
wb = openpyxl.Workbook(write_only = True)
ws=wb.create_sheet()
ws.title = "df"
#Set up header row
col_row = []
BOLD_FONT = openpyxl.styles.Font(bold=True)
BOTTOM_LEFT_RIGHT_BORDER = openpyxl.styles.Border(bottom=openpyxl.styles.Side(style='thin'),left=openpyxl.styles.Side(style='thin'),right=openpyxl.styles.Side(style='thin'))
CENTER_ALIGNMENT_NO_WRAP = openpyxl.styles.Alignment(horizontal='center')
for column in df.columns:
newCell = openpyxl.cell.WriteOnlyCell(ws,value=column)
newCell.font = BOLD_FONT
newCell.border = BOTTOM_LEFT_RIGHT_BORDER
newCell.alignment = CENTER_ALIGNMENT_NO_WRAP
col_row.append(newCell)
ws.append(col_row)
#Add data
for i in range(len(df)):
ws.append(tuple(df.iloc[i]))
wb.save(name)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42652/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42652/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42653 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42653/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42653/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42653/events | https://github.com/pandas-dev/pandas/issues/42653 | 950,131,009 | MDU6SXNzdWU5NTAxMzEwMDk= | 42,653 | QST: `min_periods` effect on `std` rolling aggregation? | {
"avatar_url": "https://avatars.githubusercontent.com/u/13521008?v=4",
"events_url": "https://api.github.com/users/isVoid/events{/privacy}",
"followers_url": "https://api.github.com/users/isVoid/followers",
"following_url": "https://api.github.com/users/isVoid/following{/other_user}",
"gists_url": "https://api.github.com/users/isVoid/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/isVoid",
"id": 13521008,
"login": "isVoid",
"node_id": "MDQ6VXNlcjEzNTIxMDA4",
"organizations_url": "https://api.github.com/users/isVoid/orgs",
"received_events_url": "https://api.github.com/users/isVoid/received_events",
"repos_url": "https://api.github.com/users/isVoid/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/isVoid/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/isVoid/subscriptions",
"type": "User",
"url": "https://api.github.com/users/isVoid"
} | [
{
"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": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] | closed | false | null | [] | null | 6 | "2021-07-21T21:39:02Z" | "2021-07-22T21:21:07Z" | "2021-07-22T21:21:07Z" | NONE | null | - [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).
---
#### Question about pandas
In rolling aggregation, `min_periods` dictates that if there's `N` valid observations, and that `N >= min_periods`, the aggregation should be computed with all valid observations in the window. However, for `std` and `var` aggregation, the above guideline is not observed:
```python
# Your code here, if applicable
s = pd.Series([1.0, 1.0, 1.0, np.nan, 1.0, 2.0])
s.rolling(2, min_periods=1).std()
0 NaN
1 0.000000
2 0.000000
3 NaN
4 NaN
5 0.707107
dtype: float64
```
The question is: should `min_periods` have effects on `std` aggregation? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42653/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42653/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42654 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42654/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42654/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42654/events | https://github.com/pandas-dev/pandas/pull/42654 | 950,225,118 | MDExOlB1bGxSZXF1ZXN0Njk0ODA2NzI1 | 42,654 | TST: Add test for setitem preserving period dtype | {
"avatar_url": "https://avatars.githubusercontent.com/u/56974083?v=4",
"events_url": "https://api.github.com/users/zeitlinv/events{/privacy}",
"followers_url": "https://api.github.com/users/zeitlinv/followers",
"following_url": "https://api.github.com/users/zeitlinv/following{/other_user}",
"gists_url": "https://api.github.com/users/zeitlinv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zeitlinv",
"id": 56974083,
"login": "zeitlinv",
"node_id": "MDQ6VXNlcjU2OTc0MDgz",
"organizations_url": "https://api.github.com/users/zeitlinv/orgs",
"received_events_url": "https://api.github.com/users/zeitlinv/received_events",
"repos_url": "https://api.github.com/users/zeitlinv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zeitlinv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zeitlinv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zeitlinv"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "eb6420",
"default": false,
"description": "Period data type",
"id": 60635328,
"name": "Period",
"node_id": "MDU6TGFiZWw2MDYzNTMyOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period"
}
] | 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-07-22T01:24:57Z" | "2021-07-23T23:22:06Z" | "2021-07-23T23:22:00Z" | CONTRIBUTOR | null | - [x] closes #26861
- [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/42654/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42654/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42654.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42654",
"merged_at": "2021-07-23T23:22:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42654.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42654"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42655 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42655/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42655/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42655/events | https://github.com/pandas-dev/pandas/pull/42655 | 950,227,751 | MDExOlB1bGxSZXF1ZXN0Njk0ODA4ODU2 | 42,655 | DOC: fix small typo in HDF section of cookbook docs | {
"avatar_url": "https://avatars.githubusercontent.com/u/1298001?v=4",
"events_url": "https://api.github.com/users/claws/events{/privacy}",
"followers_url": "https://api.github.com/users/claws/followers",
"following_url": "https://api.github.com/users/claws/following{/other_user}",
"gists_url": "https://api.github.com/users/claws/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/claws",
"id": 1298001,
"login": "claws",
"node_id": "MDQ6VXNlcjEyOTgwMDE=",
"organizations_url": "https://api.github.com/users/claws/orgs",
"received_events_url": "https://api.github.com/users/claws/received_events",
"repos_url": "https://api.github.com/users/claws/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/claws/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/claws/subscriptions",
"type": "User",
"url": "https://api.github.com/users/claws"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-07-22T01:33:25Z" | "2021-07-22T04:11:01Z" | "2021-07-22T04:10:51Z" | CONTRIBUTOR | null | This merge request fixes a trivial typo (diver -> driver) I found while reading docs about HDF support.
- [-] 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/42655/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42655/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42655.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42655",
"merged_at": "2021-07-22T04:10:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42655.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42655"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42656 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42656/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42656/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42656/events | https://github.com/pandas-dev/pandas/pull/42656 | 950,230,675 | MDExOlB1bGxSZXF1ZXN0Njk0ODExMTU5 | 42,656 | TST: test transform('cumcount') | {
"avatar_url": "https://avatars.githubusercontent.com/u/57047354?v=4",
"events_url": "https://api.github.com/users/saehuihwang/events{/privacy}",
"followers_url": "https://api.github.com/users/saehuihwang/followers",
"following_url": "https://api.github.com/users/saehuihwang/following{/other_user}",
"gists_url": "https://api.github.com/users/saehuihwang/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/saehuihwang",
"id": 57047354,
"login": "saehuihwang",
"node_id": "MDQ6VXNlcjU3MDQ3MzU0",
"organizations_url": "https://api.github.com/users/saehuihwang/orgs",
"received_events_url": "https://api.github.com/users/saehuihwang/received_events",
"repos_url": "https://api.github.com/users/saehuihwang/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/saehuihwang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/saehuihwang/subscriptions",
"type": "User",
"url": "https://api.github.com/users/saehuihwang"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": 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-07-22T01:43:10Z" | "2021-07-22T18:05:11Z" | "2021-07-22T18:05:00Z" | CONTRIBUTOR | null | - [x] closes #27472
- [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/42656/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42656/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42656.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42656",
"merged_at": "2021-07-22T18:04:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42656.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42656"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42657 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42657/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42657/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42657/events | https://github.com/pandas-dev/pandas/pull/42657 | 950,251,284 | MDExOlB1bGxSZXF1ZXN0Njk0ODI4MjIz | 42,657 | TYP: Update input of `core.algorithms.duplicated` | {
"avatar_url": "https://avatars.githubusercontent.com/u/33516104?v=4",
"events_url": "https://api.github.com/users/lilisako/events{/privacy}",
"followers_url": "https://api.github.com/users/lilisako/followers",
"following_url": "https://api.github.com/users/lilisako/following{/other_user}",
"gists_url": "https://api.github.com/users/lilisako/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lilisako",
"id": 33516104,
"login": "lilisako",
"node_id": "MDQ6VXNlcjMzNTE2MTA0",
"organizations_url": "https://api.github.com/users/lilisako/orgs",
"received_events_url": "https://api.github.com/users/lilisako/received_events",
"repos_url": "https://api.github.com/users/lilisako/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lilisako/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lilisako/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lilisako"
} | [
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
},
{
"color": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] | closed | false | null | [] | null | 2 | "2021-07-22T02:42:37Z" | "2021-09-08T02:54:41Z" | "2021-09-08T02:02:09Z" | NONE | null | - [x] closes #42604
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42657/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42657/timeline | null | 1 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42657.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42657",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/42657.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42657"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42658 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42658/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42658/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42658/events | https://github.com/pandas-dev/pandas/pull/42658 | 950,256,510 | MDExOlB1bGxSZXF1ZXN0Njk0ODMyNTY5 | 42,658 | CLN: clean flake8 config | {
"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"
} | [] | closed | false | null | [] | null | 0 | "2021-07-22T02:59:21Z" | "2021-07-22T03:15:31Z" | "2021-07-22T03:15:31Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42658/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42658/timeline | null | 1 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42658.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42658",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/42658.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42658"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/42659 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42659/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42659/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42659/events | https://github.com/pandas-dev/pandas/issues/42659 | 950,421,580 | MDU6SXNzdWU5NTA0MjE1ODA= | 42,659 | BUG:dataframe.groupby('some_column').timedelta.sum() results wrong when timedelta contains NaT (pandas=1.3.0) | {
"avatar_url": "https://avatars.githubusercontent.com/u/27546987?v=4",
"events_url": "https://api.github.com/users/minientertainment/events{/privacy}",
"followers_url": "https://api.github.com/users/minientertainment/followers",
"following_url": "https://api.github.com/users/minientertainment/following{/other_user}",
"gists_url": "https://api.github.com/users/minientertainment/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/minientertainment",
"id": 27546987,
"login": "minientertainment",
"node_id": "MDQ6VXNlcjI3NTQ2OTg3",
"organizations_url": "https://api.github.com/users/minientertainment/orgs",
"received_events_url": "https://api.github.com/users/minientertainment/received_events",
"repos_url": "https://api.github.com/users/minientertainment/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/minientertainment/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/minientertainment/subscriptions",
"type": "User",
"url": "https://api.github.com/users/minientertainment"
} | [
{
"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"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
},
{
"color": "547c03",
"default": false,
"description": "sum, mean, min, max, etc.",
"id": 2365504383,
"name": "Reduction Operations",
"node_id": "MDU6TGFiZWwyMzY1NTA0Mzgz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reduction%20Operations"
}
] | open | false | null | [] | {
"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"
} | 7 | "2021-07-22T08:29:22Z" | "2021-10-26T15:31:48Z" | null | NONE | null | - [y] I have checked that this issue has not already been reported.
- [y] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
this is a tiny example
```python
tmp = pd.DataFrame({'id': ['1624477460271-3908654213', '1624477460271-3908654213'], 'dt':[np.nan, pd.to_timedelta('0:0:2')]})
tmp
Out[6]:
id dt
0 1624477460271-3908654213 NaT
1 1624477460271-3908654213 0 days 00:00:02
```
#### Problem description
dataframe.groupby('some_column').timedelta.sum() results wrong when timedelta contains NaT
```python
tmp.groupby('id').dt.sum()
Out[7]:
id
1624477460271-3908654213 -106752 days +00:12:45.145224192
Name: dt, dtype: timedelta64[ns]
```
#### Expected Output
```python
tmp.dt.sum()
Out[8]: Timedelta('0 days 00:00:02')
```
#### Output of ``pd.show_versions()``
<details>
[pandas 1.3.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/42659/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42659/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42660 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42660/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42660/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42660/events | https://github.com/pandas-dev/pandas/pull/42660 | 950,612,052 | MDExOlB1bGxSZXF1ZXN0Njk1MTMyNDE5 | 42,660 | Backport PR #42261 (BUG: Fix to_datetime() cache behaviour to not omit duplicated output values) | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 2 | "2021-07-22T12:36:29Z" | "2021-07-22T20:24:49Z" | "2021-07-22T20:24:45Z" | MEMBER | null |
Backport PR #42261 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42660/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42660/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42660.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42660",
"merged_at": "2021-07-22T20:24:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42660.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42660"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42661 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42661/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42661/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42661/events | https://github.com/pandas-dev/pandas/pull/42661 | 950,616,182 | MDExOlB1bGxSZXF1ZXN0Njk1MTM1ODg3 | 42,661 | move release note for fix for #42259 | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 1 | "2021-07-22T12:41:33Z" | "2021-07-22T20:26:43Z" | "2021-07-22T20:25:05Z" | MEMBER | null | xref #42660, https://github.com/pandas-dev/pandas/issues/42259#issuecomment-884870958
release note is moved in backport #42660, so this PR does not need backport. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42661/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42661/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42661.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42661",
"merged_at": "2021-07-22T20:25:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42661.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42661"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42662 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42662/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42662/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42662/events | https://github.com/pandas-dev/pandas/issues/42662 | 950,632,648 | MDU6SXNzdWU5NTA2MzI2NDg= | 42,662 | BUG: DataFrame.apply parameters raise a TypeError when the function is called after a groupby | {
"avatar_url": "https://avatars.githubusercontent.com/u/80190909?v=4",
"events_url": "https://api.github.com/users/Iqigai/events{/privacy}",
"followers_url": "https://api.github.com/users/Iqigai/followers",
"following_url": "https://api.github.com/users/Iqigai/following{/other_user}",
"gists_url": "https://api.github.com/users/Iqigai/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Iqigai",
"id": 80190909,
"login": "Iqigai",
"node_id": "MDQ6VXNlcjgwMTkwOTA5",
"organizations_url": "https://api.github.com/users/Iqigai/orgs",
"received_events_url": "https://api.github.com/users/Iqigai/received_events",
"repos_url": "https://api.github.com/users/Iqigai/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Iqigai/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Iqigai/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Iqigai"
} | [
{
"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": "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 | [] | null | 3 | "2021-07-22T13:01:21Z" | "2021-07-24T21:21:22Z" | "2021-07-23T02:18:36Z" | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
# Your code here
>>> df = pd.DataFrame([[4, 9]]* 3 + [[3, 8]] * 2, columns=['A', 'B'])
>>> df.groupby('A').apply(max)
A B
A
3 3 8
4 4 9
>>> df.groupby('A').apply(max, raw=True)
Traceback (most recent call last):
File "C:\Program Files\Python39\lib\site-packages\pandas\core\groupby\groupby.py", line 1253, in apply
result = self._python_apply_general(f, self._selected_obj)
File "C:\Program Files\Python39\lib\site-packages\pandas\core\groupby\groupby.py", line 1287, in _python_apply_general
keys, values, mutated = self.grouper.apply(f, data, self.axis)
File "C:\Program Files\Python39\lib\site-packages\pandas\core\groupby\ops.py", line 783, in apply
result_values, mutated = splitter.fast_apply(f, sdata, group_keys)
File "C:\Program Files\Python39\lib\site-packages\pandas\core\groupby\ops.py", line 1328, in fast_apply
return libreduction.apply_frame_axis0(sdata, f, names, starts, ends)
File "pandas\_libs\reduction.pyx", line 381, in pandas._libs.reduction.apply_frame_axis0
File "C:\Program Files\Python39\lib\site-packages\pandas\core\groupby\groupby.py", line 1237, in f
return func(g, *args, **kwargs)
File "<__array_function__ internals>", line 4, in amax
TypeError: _amax_dispatcher() got an unexpected keyword argument 'raw'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Program Files\Python39\lib\site-packages\pandas\core\groupby\groupby.py", line 1264, in apply
return self._python_apply_general(f, self._selected_obj)
File "C:\Program Files\Python39\lib\site-packages\pandas\core\groupby\groupby.py", line 1287, in _python_apply_general
keys, values, mutated = self.grouper.apply(f, data, self.axis)
File "C:\Program Files\Python39\lib\site-packages\pandas\core\groupby\ops.py", line 783, in apply
result_values, mutated = splitter.fast_apply(f, sdata, group_keys)
File "C:\Program Files\Python39\lib\site-packages\pandas\core\groupby\ops.py", line 1328, in fast_apply
return libreduction.apply_frame_axis0(sdata, f, names, starts, ends)
File "pandas\_libs\reduction.pyx", line 381, in pandas._libs.reduction.apply_frame_axis0
File "C:\Program Files\Python39\lib\site-packages\pandas\core\groupby\groupby.py", line 1237, in f
return func(g, *args, **kwargs)
File "<__array_function__ internals>", line 4, in amax
TypeError: _amax_dispatcher() got an unexpected keyword argument 'raw'
```
#### Problem description
When calling apply after a groupby and using additional parameters such as "raw", or "result_type" it raises a
```TypeError: _amax_dispatcher() got an unexpected keyword argument 'raw'``` as if the parameter was passed to "func" instead of being passed to ```apply```. When used without a groupby or with a groupby and without any additional parameter, it works fine. A similar issue has been raised in SOF https://stackoverflow.com/questions/39125895/how-to-use-keyword-raw-in-apply-to-a-groupby-object but the answers do not really help soliving the problem.
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
pandas : 1.3.0
numpy : 1.21.1
pytz : 2021.1
dateutil : 2.8.1
pip : 21.1.3
setuptools : 56.0.0
Cython : None
pytest : None
hypothesis : None
sphinx : 4.0.2
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.6.3
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 3.0.1
IPython : 7.24.1
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 : 4.0.1
pyxlsb : None
s3fs : None
scipy : 1.7.0
sqlalchemy : None
tables : None
tabulate : None
xarray : None
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/42662/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42662/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42663 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42663/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42663/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42663/events | https://github.com/pandas-dev/pandas/issues/42663 | 950,674,368 | MDU6SXNzdWU5NTA2NzQzNjg= | 42,663 | ENH: read_csv() optional parameter `append_line_numbers` | {
"avatar_url": "https://avatars.githubusercontent.com/u/9048783?v=4",
"events_url": "https://api.github.com/users/sgsokol/events{/privacy}",
"followers_url": "https://api.github.com/users/sgsokol/followers",
"following_url": "https://api.github.com/users/sgsokol/following{/other_user}",
"gists_url": "https://api.github.com/users/sgsokol/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sgsokol",
"id": 9048783,
"login": "sgsokol",
"node_id": "MDQ6VXNlcjkwNDg3ODM=",
"organizations_url": "https://api.github.com/users/sgsokol/orgs",
"received_events_url": "https://api.github.com/users/sgsokol/received_events",
"repos_url": "https://api.github.com/users/sgsokol/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sgsokol/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sgsokol/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sgsokol"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
}
] | open | false | null | [] | null | 0 | "2021-07-22T13:31:33Z" | "2021-08-21T19:17:01Z" | null | NONE | null | #### Is your feature request related to a problem?
I wish I could use pandas.read_csv() to include the original line number of csv file. It can be useful for error report in case of invalid entry (invalid from an application point of view not from csv's one). Given that users can skip few starting lines, blank lines or commented ones, the df index may not correspond to the original line number from csv file.
#### Describe the solution you'd like
`read_csv()` should include an optional parameter, let say `append_line_numbers=None`. If its value is None, nothing happens, i.e. the classical way of functioning is kept. If it is a string, its value is used to name a column in a returned data frame that will contain line numbers
#### API breaking implications
No API breaking is expected
#### Describe alternatives you've considered
read the file without skipping any line then remove headers, blank lines, etc. "manually" in the users's application | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42663/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42663/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42664 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42664/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42664/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42664/events | https://github.com/pandas-dev/pandas/issues/42664 | 950,753,532 | MDU6SXNzdWU5NTA3NTM1MzI= | 42,664 | BUG: `DataFrame.to_parquet` doesn't round-trip pyarrow StringDtype | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
},
{
"color": "5319e7",
"default": false,
"description": "parquet, feather",
"id": 685114413,
"name": "IO Parquet",
"node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] | open | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/56639527?v=4",
"events_url": "https://api.github.com/users/Sara-cos/events{/privacy}",
"followers_url": "https://api.github.com/users/Sara-cos/followers",
"following_url": "https://api.github.com/users/Sara-cos/following{/other_user}",
"gists_url": "https://api.github.com/users/Sara-cos/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Sara-cos",
"id": 56639527,
"login": "Sara-cos",
"node_id": "MDQ6VXNlcjU2NjM5NTI3",
"organizations_url": "https://api.github.com/users/Sara-cos/orgs",
"received_events_url": "https://api.github.com/users/Sara-cos/received_events",
"repos_url": "https://api.github.com/users/Sara-cos/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Sara-cos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Sara-cos/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Sara-cos"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/56639527?v=4",
"events_url": "https://api.github.com/users/Sara-cos/events{/privacy}",
"followers_url": "https://api.github.com/users/Sara-cos/followers",
"following_url": "https://api.github.com/users/Sara-cos/following{/other_user}",
"gists_url": "https://api.github.com/users/Sara-cos/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Sara-cos",
"id": 56639527,
"login": "Sara-cos",
"node_id": "MDQ6VXNlcjU2NjM5NTI3",
"organizations_url": "https://api.github.com/users/Sara-cos/orgs",
"received_events_url": "https://api.github.com/users/Sara-cos/received_events",
"repos_url": "https://api.github.com/users/Sara-cos/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Sara-cos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Sara-cos/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Sara-cos"
}
] | null | 7 | "2021-07-22T14:50:46Z" | "2021-09-21T20:38:40Z" | null | CONTRIBUTOR | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
a = pd.DataFrame({"A": pd.array(['a', 'b'], dtype=pd.StringDtype("pyarrow"))})
a.to_parquet("test.parquet")
b = pd.read_parquet("test.parquet")
pd.testing.assert_frame_equal(a, b)
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
/tmp/ipykernel_493/3001616580.py in <module>
3 a.to_parquet("test.parquet")
4 b = pd.read_parquet("test.parquet")
----> 5 pd.testing.assert_frame_equal(a, b)
[... skipping hidden 3 frame]
/srv/conda/envs/notebook/lib/python3.8/site-packages/pandas/_testing/asserters.py in raise_assert_detail(obj, message, left, right, diff, index_values)
663 msg += f"\n[diff]: {diff}"
664
--> 665 raise AssertionError(msg)
666
667
AssertionError: Attributes of DataFrame.iloc[:, 0] (column name="A") are different
Attribute "dtype" are different
[left]: string[pyarrow]
[right]: string[python]
```
#### Problem description
read_parquet currently loads all string dtype as `string[python]`. We'd ideally match what was written.
#### Expected Output
A DataFrame with `string[pyarrow]` rather than `string[python]`
#### Output of ``pd.show_versions()``
<details>
```
INSTALLED VERSIONS
------------------
commit : f00ed8f47020034e752baf0250483053340971b0
python : 3.8.10.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-1040-azure
Version : #42~18.04.1-Ubuntu SMP Mon Feb 8 19:05:32 UTC 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.3.0
numpy : 1.21.0
pytz : 2021.1
dateutil : 2.7.5
pip : 20.3.4
setuptools : 49.6.0.post20210108
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : 1.10.2
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : 2.9.1 (dt dec pq3 ext lo64)
jinja2 : 3.0.1
IPython : 7.25.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 2021.06.1
fastparquet : None
gcsfs : 2021.06.1
matplotlib : 3.4.2
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 4.0.0
pyxlsb : None
s3fs : 2021.06.1
scipy : 1.7.0
sqlalchemy : 1.4.20
tables : None
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/42664/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42664/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42665 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42665/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42665/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42665/events | https://github.com/pandas-dev/pandas/pull/42665 | 950,757,614 | MDExOlB1bGxSZXF1ZXN0Njk1MjU2NDk0 | 42,665 | TST: Test Loc to set Multiple Items to multiple new columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/78673871?v=4",
"events_url": "https://api.github.com/users/GYvan/events{/privacy}",
"followers_url": "https://api.github.com/users/GYvan/followers",
"following_url": "https://api.github.com/users/GYvan/following{/other_user}",
"gists_url": "https://api.github.com/users/GYvan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/GYvan",
"id": 78673871,
"login": "GYvan",
"node_id": "MDQ6VXNlcjc4NjczODcx",
"organizations_url": "https://api.github.com/users/GYvan/orgs",
"received_events_url": "https://api.github.com/users/GYvan/received_events",
"repos_url": "https://api.github.com/users/GYvan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/GYvan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/GYvan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/GYvan"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | null | 9 | "2021-07-22T14:54:56Z" | "2021-07-28T21:09:23Z" | "2021-07-28T06:39:51Z" | CONTRIBUTOR | null | - [x] closes #25594
- [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
added test to pandas/tests/indexing/multi/test_loc.py | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42665/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42665/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42665.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42665",
"merged_at": "2021-07-28T06:39:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42665.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42665"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42666 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42666/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42666/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42666/events | https://github.com/pandas-dev/pandas/pull/42666 | 950,818,918 | MDExOlB1bGxSZXF1ZXN0Njk1MzA3ODE1 | 42,666 | CI: move mypy check to pre-commit | {
"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"
} | [] | closed | false | null | [] | null | 1 | "2021-07-22T15:59:34Z" | "2021-07-22T19:01:24Z" | "2021-07-22T19:01:24Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42666/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42666/timeline | null | 1 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42666.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42666",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/42666.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42666"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/42667 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42667/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42667/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42667/events | https://github.com/pandas-dev/pandas/pull/42667 | 950,841,454 | MDExOlB1bGxSZXF1ZXN0Njk1MzI2ODEy | 42,667 | Update frame.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/86092192?v=4",
"events_url": "https://api.github.com/users/trevorkask/events{/privacy}",
"followers_url": "https://api.github.com/users/trevorkask/followers",
"following_url": "https://api.github.com/users/trevorkask/following{/other_user}",
"gists_url": "https://api.github.com/users/trevorkask/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/trevorkask",
"id": 86092192,
"login": "trevorkask",
"node_id": "MDQ6VXNlcjg2MDkyMTky",
"organizations_url": "https://api.github.com/users/trevorkask/orgs",
"received_events_url": "https://api.github.com/users/trevorkask/received_events",
"repos_url": "https://api.github.com/users/trevorkask/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/trevorkask/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/trevorkask/subscriptions",
"type": "User",
"url": "https://api.github.com/users/trevorkask"
} | [
{
"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 | 3 | "2021-07-22T16:26:37Z" | "2021-08-13T22:52:55Z" | "2021-08-13T22:52:54Z" | CONTRIBUTOR | null | Added an example to the reorder_levels function
- [ ] 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/42667/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42667/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42667.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42667",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/42667.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42667"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42668 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42668/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42668/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42668/events | https://github.com/pandas-dev/pandas/pull/42668 | 950,864,201 | MDExOlB1bGxSZXF1ZXN0Njk1MzQ1NzM0 | 42,668 | BUG: compute.use_numexpr option not respected | {
"avatar_url": "https://avatars.githubusercontent.com/u/57047354?v=4",
"events_url": "https://api.github.com/users/saehuihwang/events{/privacy}",
"followers_url": "https://api.github.com/users/saehuihwang/followers",
"following_url": "https://api.github.com/users/saehuihwang/following{/other_user}",
"gists_url": "https://api.github.com/users/saehuihwang/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/saehuihwang",
"id": 57047354,
"login": "saehuihwang",
"node_id": "MDQ6VXNlcjU3MDQ3MzU0",
"organizations_url": "https://api.github.com/users/saehuihwang/orgs",
"received_events_url": "https://api.github.com/users/saehuihwang/received_events",
"repos_url": "https://api.github.com/users/saehuihwang/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/saehuihwang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/saehuihwang/subscriptions",
"type": "User",
"url": "https://api.github.com/users/saehuihwang"
} | [
{
"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": "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"
} | 3 | "2021-07-22T16:56:28Z" | "2021-07-28T01:23:37Z" | "2021-07-28T01:23:33Z" | CONTRIBUTOR | null | - [x] closes #32556
- [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/42668/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42668/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42668.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42668",
"merged_at": "2021-07-28T01:23:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42668.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42668"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42669 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42669/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42669/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42669/events | https://github.com/pandas-dev/pandas/pull/42669 | 950,927,753 | MDExOlB1bGxSZXF1ZXN0Njk1Mzk4NTM1 | 42,669 | ENH: Add BytesIOWrapper | {
"avatar_url": "https://avatars.githubusercontent.com/u/47963215?v=4",
"events_url": "https://api.github.com/users/lithomas1/events{/privacy}",
"followers_url": "https://api.github.com/users/lithomas1/followers",
"following_url": "https://api.github.com/users/lithomas1/following{/other_user}",
"gists_url": "https://api.github.com/users/lithomas1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lithomas1",
"id": 47963215,
"login": "lithomas1",
"node_id": "MDQ6VXNlcjQ3OTYzMjE1",
"organizations_url": "https://api.github.com/users/lithomas1/orgs",
"received_events_url": "https://api.github.com/users/lithomas1/received_events",
"repos_url": "https://api.github.com/users/lithomas1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lithomas1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lithomas1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lithomas1"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "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": "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"
}
] | 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-07-22T18:14:53Z" | "2021-08-09T17:06:55Z" | "2021-08-04T23:46:18Z" | MEMBER | null | - [ ] closes #39383
- [ ] 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
Precursor for pyarrow csv reader integration.
@jorisvandenbossche Do you know if there is any workaround I can use to read StringIO's on the arrow side? Adding this wrapper feels very hacky. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42669/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42669/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42669.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42669",
"merged_at": "2021-08-04T23:46:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42669.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42669"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42670 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42670/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42670/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42670/events | https://github.com/pandas-dev/pandas/issues/42670 | 951,034,833 | MDU6SXNzdWU5NTEwMzQ4MzM= | 42,670 | TST: Fix doctest in read_stata | {
"avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4",
"events_url": "https://api.github.com/users/datapythonista/events{/privacy}",
"followers_url": "https://api.github.com/users/datapythonista/followers",
"following_url": "https://api.github.com/users/datapythonista/following{/other_user}",
"gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/datapythonista",
"id": 10058240,
"login": "datapythonista",
"node_id": "MDQ6VXNlcjEwMDU4MjQw",
"organizations_url": "https://api.github.com/users/datapythonista/orgs",
"received_events_url": "https://api.github.com/users/datapythonista/received_events",
"repos_url": "https://api.github.com/users/datapythonista/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions",
"type": "User",
"url": "https://api.github.com/users/datapythonista"
} | [
{
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/63070026?v=4",
"events_url": "https://api.github.com/users/KrishnaSai2020/events{/privacy}",
"followers_url": "https://api.github.com/users/KrishnaSai2020/followers",
"following_url": "https://api.github.com/users/KrishnaSai2020/following{/other_user}",
"gists_url": "https://api.github.com/users/KrishnaSai2020/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/KrishnaSai2020",
"id": 63070026,
"login": "KrishnaSai2020",
"node_id": "MDQ6VXNlcjYzMDcwMDI2",
"organizations_url": "https://api.github.com/users/KrishnaSai2020/orgs",
"received_events_url": "https://api.github.com/users/KrishnaSai2020/received_events",
"repos_url": "https://api.github.com/users/KrishnaSai2020/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/KrishnaSai2020/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/KrishnaSai2020/subscriptions",
"type": "User",
"url": "https://api.github.com/users/KrishnaSai2020"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/63070026?v=4",
"events_url": "https://api.github.com/users/KrishnaSai2020/events{/privacy}",
"followers_url": "https://api.github.com/users/KrishnaSai2020/followers",
"following_url": "https://api.github.com/users/KrishnaSai2020/following{/other_user}",
"gists_url": "https://api.github.com/users/KrishnaSai2020/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/KrishnaSai2020",
"id": 63070026,
"login": "KrishnaSai2020",
"node_id": "MDQ6VXNlcjYzMDcwMDI2",
"organizations_url": "https://api.github.com/users/KrishnaSai2020/orgs",
"received_events_url": "https://api.github.com/users/KrishnaSai2020/received_events",
"repos_url": "https://api.github.com/users/KrishnaSai2020/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/KrishnaSai2020/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/KrishnaSai2020/subscriptions",
"type": "User",
"url": "https://api.github.com/users/KrishnaSai2020"
}
] | null | 1 | "2021-07-22T20:38:46Z" | "2021-07-31T17:46:15Z" | "2021-07-31T17:46:15Z" | MEMBER | null | # tl;dr
Fix the next doctest error:
```
___________________________________________________________________ [doctest] pandas.io.stata.read_stata ____________________________________________________________________
2044 Categorical variables read through an iterator may not have the same
2045 categories and dtype. This occurs when a variable stored in a DTA
2046 file is associated to an incomplete set of value labels that only
2047 label a strict subset of the values.
2048
2049 Examples
2050 --------
2051 Read a Stata dta file:
2052
2053 >>> df = pd.read_stata('filename.dta')
UNEXPECTED EXCEPTION: FileNotFoundError(2, 'No such file or directory')
Traceback (most recent call last):
File "/home/mgarcia/miniconda3/envs/pandas-dev/lib/python3.8/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest pandas.io.stata.read_stata[0]>", line 1, in <module>
File "/home/mgarcia/src/pandas/pandas/io/stata.py", line 1946, in read_stata
reader = StataReader(
File "/home/mgarcia/src/pandas/pandas/io/stata.py", line 1091, in __init__
with get_handle(
File "/home/mgarcia/src/pandas/pandas/io/common.py", line 710, in get_handle
handle = open(handle, ioargs.mode)
FileNotFoundError: [Errno 2] No such file or directory: 'filename.dta'
/home/mgarcia/src/pandas/pandas/io/stata.py:2053: UnexpectedException
```
# Detailed instructions
Python allows to have example code in the documentation, like in:
```python
def add(num1, num2):
"""
Computes the sum of the two numbers.
Examples
--------
>>> add(2, 2)
4
"""
return num1 + num2
```
In pandas, we use this to document most elements. And there are tools, like pytest,
that can run the examples, and make sure everything is correct.
For historical reasons, we have many examples where the code fails to run, or the
actual output is different from the expected output. For example, check the next
incorrect examples:
```python
def add(num1, num2):
"""
Computes the sum of the two numbers.
Examples
--------
>>> add(2, 2)
5
>>> add(2, 2
4
>>> add(2, number)
4
...
"""
return num1 + num2
```
All them will fail for different reasons. To test the docstring of an object,
the next command can be run:
```
python -m pytest --doctest-modules pandas/core/frame.py::pandas.core.frame.DataFrame.info
```
Where `pandas/core/frame.py` is the file where the docstring is defined, and
`pandas.core.frame.DataFrame.info` is the object. A whole file can also be tested
by removing the `::` and the object from the command above.
In general, the errors in the examples can be fixed with things like:
- Fixing a typo (a missing comma, an mispelled variable name...)
- Adding an object that hasn't been defined (like, if `df` is used, but
no sample dataset `df` has been first defined)
- Fixing the expected output, when it's wrong
- In exceptional cases, examples shouldn't run, since they can't work.
For example, a function that connects to a private webservice. In
such cases, we can add `# doctest: +SKIP` at the end of the lines
that should not run
To be able to properly fix an example for the first time, the next steps
are needed:
- Install a pandas development environment in your computer. There are
simplified instructions [in this page](https://python-sprints.github.io/pandas/guide/pandas_setup.html),
and more detailed information in [pandas official contributing page](https://pandas.pydata.org/docs/development/index.html).
- Run the doctests for the object of interest (the one in this issue),
and make sure the examples are still broken in the `master` branch of
pandas
- Fix the file locally, and run the doctests again, to make sure the
fix is working as expected
- Optionally have a look and make sure that the code in the examples
follow PEP-8, and fix the style if it doesn't
- Commit your changes, push your branch to a fork, and open a pull
request. Make sure you edit the line `Closes #XXXX` with the issue
number you are addressing, so the issue is automatically closed,
when the pull request is merged
- Make sure the continuous integration of your pull request finishes
in green. If it doesn't, check if the problem is in your changes
(sometimes things break in master for technical problems, and in
that case you just need to wait for a core developer to fix the
problem)
- Address any comment from the reviewers (just make changes locally,
commit, and push to your branch, no need to open new pull requests) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42670/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42670/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42671 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42671/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42671/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42671/events | https://github.com/pandas-dev/pandas/issues/42671 | 951,036,580 | MDU6SXNzdWU5NTEwMzY1ODA= | 42,671 | TST: Fix doctest in EngFormatter | {
"avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4",
"events_url": "https://api.github.com/users/datapythonista/events{/privacy}",
"followers_url": "https://api.github.com/users/datapythonista/followers",
"following_url": "https://api.github.com/users/datapythonista/following{/other_user}",
"gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/datapythonista",
"id": 10058240,
"login": "datapythonista",
"node_id": "MDQ6VXNlcjEwMDU4MjQw",
"organizations_url": "https://api.github.com/users/datapythonista/orgs",
"received_events_url": "https://api.github.com/users/datapythonista/received_events",
"repos_url": "https://api.github.com/users/datapythonista/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions",
"type": "User",
"url": "https://api.github.com/users/datapythonista"
} | [
{
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/63070026?v=4",
"events_url": "https://api.github.com/users/KrishnaSai2020/events{/privacy}",
"followers_url": "https://api.github.com/users/KrishnaSai2020/followers",
"following_url": "https://api.github.com/users/KrishnaSai2020/following{/other_user}",
"gists_url": "https://api.github.com/users/KrishnaSai2020/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/KrishnaSai2020",
"id": 63070026,
"login": "KrishnaSai2020",
"node_id": "MDQ6VXNlcjYzMDcwMDI2",
"organizations_url": "https://api.github.com/users/KrishnaSai2020/orgs",
"received_events_url": "https://api.github.com/users/KrishnaSai2020/received_events",
"repos_url": "https://api.github.com/users/KrishnaSai2020/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/KrishnaSai2020/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/KrishnaSai2020/subscriptions",
"type": "User",
"url": "https://api.github.com/users/KrishnaSai2020"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/58680992?v=4",
"events_url": "https://api.github.com/users/hrishikeshnikam2000/events{/privacy}",
"followers_url": "https://api.github.com/users/hrishikeshnikam2000/followers",
"following_url": "https://api.github.com/users/hrishikeshnikam2000/following{/other_user}",
"gists_url": "https://api.github.com/users/hrishikeshnikam2000/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hrishikeshnikam2000",
"id": 58680992,
"login": "hrishikeshnikam2000",
"node_id": "MDQ6VXNlcjU4NjgwOTky",
"organizations_url": "https://api.github.com/users/hrishikeshnikam2000/orgs",
"received_events_url": "https://api.github.com/users/hrishikeshnikam2000/received_events",
"repos_url": "https://api.github.com/users/hrishikeshnikam2000/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hrishikeshnikam2000/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hrishikeshnikam2000/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hrishikeshnikam2000"
},
{
"avatar_url": "https://avatars.githubusercontent.com/u/63070026?v=4",
"events_url": "https://api.github.com/users/KrishnaSai2020/events{/privacy}",
"followers_url": "https://api.github.com/users/KrishnaSai2020/followers",
"following_url": "https://api.github.com/users/KrishnaSai2020/following{/other_user}",
"gists_url": "https://api.github.com/users/KrishnaSai2020/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/KrishnaSai2020",
"id": 63070026,
"login": "KrishnaSai2020",
"node_id": "MDQ6VXNlcjYzMDcwMDI2",
"organizations_url": "https://api.github.com/users/KrishnaSai2020/orgs",
"received_events_url": "https://api.github.com/users/KrishnaSai2020/received_events",
"repos_url": "https://api.github.com/users/KrishnaSai2020/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/KrishnaSai2020/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/KrishnaSai2020/subscriptions",
"type": "User",
"url": "https://api.github.com/users/KrishnaSai2020"
}
] | {
"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-07-22T20:40:34Z" | "2021-07-30T15:51:30Z" | "2021-07-30T15:51:30Z" | MEMBER | null | # tl;dr
Fix the next doctest error:
```
_________________________________________________________ [doctest] pandas.io.formats.format.EngFormatter.__call__ __________________________________________________________
1956
1957 Formats a number in engineering notation, appending a letter
1958 representing the power of 1000 of the original number. Some examples:
1959
1960 >>> format_eng(0) # for self.accuracy = 0
UNEXPECTED EXCEPTION: NameError("name 'format_eng' is not defined")
Traceback (most recent call last):
File "/home/mgarcia/miniconda3/envs/pandas-dev/lib/python3.8/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest pandas.io.formats.format.EngFormatter.__call__[0]>", line 1, in <module>
NameError: name 'format_eng' is not defined
/home/mgarcia/src/pandas/pandas/io/formats/format.py:1960: UnexpectedException
```
# Detailed instructions
Python allows to have example code in the documentation, like in:
```python
def add(num1, num2):
"""
Computes the sum of the two numbers.
Examples
--------
>>> add(2, 2)
4
"""
return num1 + num2
```
In pandas, we use this to document most elements. And there are tools, like pytest,
that can run the examples, and make sure everything is correct.
For historical reasons, we have many examples where the code fails to run, or the
actual output is different from the expected output. For example, check the next
incorrect examples:
```python
def add(num1, num2):
"""
Computes the sum of the two numbers.
Examples
--------
>>> add(2, 2)
5
>>> add(2, 2
4
>>> add(2, number)
4
...
"""
return num1 + num2
```
All them will fail for different reasons. To test the docstring of an object,
the next command can be run:
```
python -m pytest --doctest-modules pandas/core/frame.py::pandas.core.frame.DataFrame.info
```
Where `pandas/core/frame.py` is the file where the docstring is defined, and
`pandas.core.frame.DataFrame.info` is the object. A whole file can also be tested
by removing the `::` and the object from the command above.
In general, the errors in the examples can be fixed with things like:
- Fixing a typo (a missing comma, an mispelled variable name...)
- Adding an object that hasn't been defined (like, if `df` is used, but
no sample dataset `df` has been first defined)
- Fixing the expected output, when it's wrong
- In exceptional cases, examples shouldn't run, since they can't work.
For example, a function that connects to a private webservice. In
such cases, we can add `# doctest: +SKIP` at the end of the lines
that should not run
To be able to properly fix an example for the first time, the next steps
are needed:
- Install a pandas development environment in your computer. There are
simplified instructions [in this page](https://python-sprints.github.io/pandas/guide/pandas_setup.html),
and more detailed information in [pandas official contributing page](https://pandas.pydata.org/docs/development/index.html).
- Run the doctests for the object of interest (the one in this issue),
and make sure the examples are still broken in the `master` branch of
pandas
- Fix the file locally, and run the doctests again, to make sure the
fix is working as expected
- Optionally have a look and make sure that the code in the examples
follow PEP-8, and fix the style if it doesn't
- Commit your changes, push your branch to a fork, and open a pull
request. Make sure you edit the line `Closes #XXXX` with the issue
number you are addressing, so the issue is automatically closed,
when the pull request is merged
- Make sure the continuous integration of your pull request finishes
in green. If it doesn't, check if the problem is in your changes
(sometimes things break in master for technical problems, and in
that case you just need to wait for a core developer to fix the
problem)
- Address any comment from the reviewers (just make changes locally,
commit, and push to your branch, no need to open new pull requests) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42671/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42671/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42672 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42672/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42672/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42672/events | https://github.com/pandas-dev/pandas/issues/42672 | 951,037,690 | MDU6SXNzdWU5NTEwMzc2OTA= | 42,672 | TST: Fix doctest in Styler.to_latex | {
"avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4",
"events_url": "https://api.github.com/users/datapythonista/events{/privacy}",
"followers_url": "https://api.github.com/users/datapythonista/followers",
"following_url": "https://api.github.com/users/datapythonista/following{/other_user}",
"gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/datapythonista",
"id": 10058240,
"login": "datapythonista",
"node_id": "MDQ6VXNlcjEwMDU4MjQw",
"organizations_url": "https://api.github.com/users/datapythonista/orgs",
"received_events_url": "https://api.github.com/users/datapythonista/received_events",
"repos_url": "https://api.github.com/users/datapythonista/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions",
"type": "User",
"url": "https://api.github.com/users/datapythonista"
} | [
{
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/21048435?v=4",
"events_url": "https://api.github.com/users/willie3838/events{/privacy}",
"followers_url": "https://api.github.com/users/willie3838/followers",
"following_url": "https://api.github.com/users/willie3838/following{/other_user}",
"gists_url": "https://api.github.com/users/willie3838/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/willie3838",
"id": 21048435,
"login": "willie3838",
"node_id": "MDQ6VXNlcjIxMDQ4NDM1",
"organizations_url": "https://api.github.com/users/willie3838/orgs",
"received_events_url": "https://api.github.com/users/willie3838/received_events",
"repos_url": "https://api.github.com/users/willie3838/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/willie3838/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willie3838/subscriptions",
"type": "User",
"url": "https://api.github.com/users/willie3838"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/21048435?v=4",
"events_url": "https://api.github.com/users/willie3838/events{/privacy}",
"followers_url": "https://api.github.com/users/willie3838/followers",
"following_url": "https://api.github.com/users/willie3838/following{/other_user}",
"gists_url": "https://api.github.com/users/willie3838/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/willie3838",
"id": 21048435,
"login": "willie3838",
"node_id": "MDQ6VXNlcjIxMDQ4NDM1",
"organizations_url": "https://api.github.com/users/willie3838/orgs",
"received_events_url": "https://api.github.com/users/willie3838/received_events",
"repos_url": "https://api.github.com/users/willie3838/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/willie3838/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willie3838/subscriptions",
"type": "User",
"url": "https://api.github.com/users/willie3838"
}
] | {
"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-07-22T20:41:46Z" | "2021-07-28T00:05:23Z" | "2021-07-28T00:05:23Z" | MEMBER | null | # tl;dr
Fix the next doctest error:
```
_____________________________________________________________ [doctest] pandas.io.formats.style.Styler.to_latex _____________________________________________________________
530 should be replaced by a LaTeX
531 ``(<command>, <options>)`` approach. Each cell will be styled individually
532 using nested LaTeX commands with their accompanied options.
533
534 For example the following code will highlight and bold a cell in HTML-CSS:
535
536 >>> df = pd.DataFrame([[1,2], [3,4]])
537 >>> s = df.style.highlight_max(axis=None,
538 ... props='background-color:red; font-weight:bold;')
539 >>> s.render()
Expected nothing
Got:
'<style type="text/css">\n#T_d86c0_row1_col1 {\n background-color: red;\n font-weight: bold;\n}\n</style>\n<table id="T_d86c0_">\n <thead>\n <tr>\n <th class="blank level0" > </th>\n <th class="col_heading level0 col0" >0</th>\n <th class="col_heading level0 col1" >1</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <th id="T_d86c0_level0_row0" class="row_heading level0 row0" >0</th>\n <td id="T_d86c0_row0_col0" class="data row0 col0" >1</td>\n <td id="T_d86c0_row0_col1" class="data row0 col1" >2</td>\n </tr>\n <tr>\n <th id="T_d86c0_level0_row1" class="row_heading level0 row1" >1</th>\n <td id="T_d86c0_row1_col0" class="data row1 col0" >3</td>\n <td id="T_d86c0_row1_col1" class="data row1 col1" >4</td>\n </tr>\n </tbody>\n</table>\n'
/home/mgarcia/src/pandas/pandas/io/formats/style.py:539: DocTestFailure
```
# Detailed instructions
Python allows to have example code in the documentation, like in:
```python
def add(num1, num2):
"""
Computes the sum of the two numbers.
Examples
--------
>>> add(2, 2)
4
"""
return num1 + num2
```
In pandas, we use this to document most elements. And there are tools, like pytest,
that can run the examples, and make sure everything is correct.
For historical reasons, we have many examples where the code fails to run, or the
actual output is different from the expected output. For example, check the next
incorrect examples:
```python
def add(num1, num2):
"""
Computes the sum of the two numbers.
Examples
--------
>>> add(2, 2)
5
>>> add(2, 2
4
>>> add(2, number)
4
...
"""
return num1 + num2
```
All them will fail for different reasons. To test the docstring of an object,
the next command can be run:
```
python -m pytest --doctest-modules pandas/core/frame.py::pandas.core.frame.DataFrame.info
```
Where `pandas/core/frame.py` is the file where the docstring is defined, and
`pandas.core.frame.DataFrame.info` is the object. A whole file can also be tested
by removing the `::` and the object from the command above.
In general, the errors in the examples can be fixed with things like:
- Fixing a typo (a missing comma, an mispelled variable name...)
- Adding an object that hasn't been defined (like, if `df` is used, but
no sample dataset `df` has been first defined)
- Fixing the expected output, when it's wrong
- In exceptional cases, examples shouldn't run, since they can't work.
For example, a function that connects to a private webservice. In
such cases, we can add `# doctest: +SKIP` at the end of the lines
that should not run
To be able to properly fix an example for the first time, the next steps
are needed:
- Install a pandas development environment in your computer. There are
simplified instructions [in this page](https://python-sprints.github.io/pandas/guide/pandas_setup.html),
and more detailed information in [pandas official contributing page](https://pandas.pydata.org/docs/development/index.html).
- Run the doctests for the object of interest (the one in this issue),
and make sure the examples are still broken in the `master` branch of
pandas
- Fix the file locally, and run the doctests again, to make sure the
fix is working as expected
- Optionally have a look and make sure that the code in the examples
follow PEP-8, and fix the style if it doesn't
- Commit your changes, push your branch to a fork, and open a pull
request. Make sure you edit the line `Closes #XXXX` with the issue
number you are addressing, so the issue is automatically closed,
when the pull request is merged
- Make sure the continuous integration of your pull request finishes
in green. If it doesn't, check if the problem is in your changes
(sometimes things break in master for technical problems, and in
that case you just need to wait for a core developer to fix the
problem)
- Address any comment from the reviewers (just make changes locally,
commit, and push to your branch, no need to open new pull requests) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42672/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42672/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42673 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42673/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42673/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42673/events | https://github.com/pandas-dev/pandas/issues/42673 | 951,038,890 | MDU6SXNzdWU5NTEwMzg4OTA= | 42,673 | TST: Fix doctest in _parse_latex_header_span | {
"avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4",
"events_url": "https://api.github.com/users/datapythonista/events{/privacy}",
"followers_url": "https://api.github.com/users/datapythonista/followers",
"following_url": "https://api.github.com/users/datapythonista/following{/other_user}",
"gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/datapythonista",
"id": 10058240,
"login": "datapythonista",
"node_id": "MDQ6VXNlcjEwMDU4MjQw",
"organizations_url": "https://api.github.com/users/datapythonista/orgs",
"received_events_url": "https://api.github.com/users/datapythonista/received_events",
"repos_url": "https://api.github.com/users/datapythonista/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions",
"type": "User",
"url": "https://api.github.com/users/datapythonista"
} | [
{
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/37235937?v=4",
"events_url": "https://api.github.com/users/aneesh98/events{/privacy}",
"followers_url": "https://api.github.com/users/aneesh98/followers",
"following_url": "https://api.github.com/users/aneesh98/following{/other_user}",
"gists_url": "https://api.github.com/users/aneesh98/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/aneesh98",
"id": 37235937,
"login": "aneesh98",
"node_id": "MDQ6VXNlcjM3MjM1OTM3",
"organizations_url": "https://api.github.com/users/aneesh98/orgs",
"received_events_url": "https://api.github.com/users/aneesh98/received_events",
"repos_url": "https://api.github.com/users/aneesh98/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/aneesh98/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aneesh98/subscriptions",
"type": "User",
"url": "https://api.github.com/users/aneesh98"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/37235937?v=4",
"events_url": "https://api.github.com/users/aneesh98/events{/privacy}",
"followers_url": "https://api.github.com/users/aneesh98/followers",
"following_url": "https://api.github.com/users/aneesh98/following{/other_user}",
"gists_url": "https://api.github.com/users/aneesh98/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/aneesh98",
"id": 37235937,
"login": "aneesh98",
"node_id": "MDQ6VXNlcjM3MjM1OTM3",
"organizations_url": "https://api.github.com/users/aneesh98/orgs",
"received_events_url": "https://api.github.com/users/aneesh98/received_events",
"repos_url": "https://api.github.com/users/aneesh98/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/aneesh98/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aneesh98/subscriptions",
"type": "User",
"url": "https://api.github.com/users/aneesh98"
}
] | null | 5 | "2021-07-22T20:43:02Z" | "2021-07-26T22:39:09Z" | "2021-07-26T22:39:09Z" | MEMBER | null | # tl;dr
Fix the next doctest error:
```
_____________________________________________________ [doctest] pandas.io.formats.style_render._parse_latex_header_span _____________________________________________________
1329 ``wrap`` is used to enclose the `display_value` in braces which is needed for
1330 column headers using an siunitx package.
1331
1332 Requires the package {multirow}, whereas multicol support is usually built in
1333 to the {tabular} environment.
1334
1335 Examples
1336 --------
1337 >>> cell = {'display_vale':'text', 'attributes': 'colspan="3"'}
1338 >>> _parse_latex_header_span(cell, 't', 'c')
UNEXPECTED EXCEPTION: KeyError('display_value')
Traceback (most recent call last):
File "/home/mgarcia/miniconda3/envs/pandas-dev/lib/python3.8/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest pandas.io.formats.style_render._parse_latex_header_span[1]>", line 1, in <module>
File "/home/mgarcia/src/pandas/pandas/io/formats/style_render.py", line 1347, in _parse_latex_header_span
f"\\multicolumn{{{colspan}}}{{{multicol_align}}}"
KeyError: 'display_value'
/home/mgarcia/src/pandas/pandas/io/formats/style_render.py:1338: UnexpectedException
```
# Detailed instructions
Python allows to have example code in the documentation, like in:
```python
def add(num1, num2):
"""
Computes the sum of the two numbers.
Examples
--------
>>> add(2, 2)
4
"""
return num1 + num2
```
In pandas, we use this to document most elements. And there are tools, like pytest,
that can run the examples, and make sure everything is correct.
For historical reasons, we have many examples where the code fails to run, or the
actual output is different from the expected output. For example, check the next
incorrect examples:
```python
def add(num1, num2):
"""
Computes the sum of the two numbers.
Examples
--------
>>> add(2, 2)
5
>>> add(2, 2
4
>>> add(2, number)
4
...
"""
return num1 + num2
```
All them will fail for different reasons. To test the docstring of an object,
the next command can be run:
```
python -m pytest --doctest-modules pandas/core/frame.py::pandas.core.frame.DataFrame.info
```
Where `pandas/core/frame.py` is the file where the docstring is defined, and
`pandas.core.frame.DataFrame.info` is the object. A whole file can also be tested
by removing the `::` and the object from the command above.
In general, the errors in the examples can be fixed with things like:
- Fixing a typo (a missing comma, an mispelled variable name...)
- Adding an object that hasn't been defined (like, if `df` is used, but
no sample dataset `df` has been first defined)
- Fixing the expected output, when it's wrong
- In exceptional cases, examples shouldn't run, since they can't work.
For example, a function that connects to a private webservice. In
such cases, we can add `# doctest: +SKIP` at the end of the lines
that should not run
To be able to properly fix an example for the first time, the next steps
are needed:
- Install a pandas development environment in your computer. There are
simplified instructions [in this page](https://python-sprints.github.io/pandas/guide/pandas_setup.html),
and more detailed information in [pandas official contributing page](https://pandas.pydata.org/docs/development/index.html).
- Run the doctests for the object of interest (the one in this issue),
and make sure the examples are still broken in the `master` branch of
pandas
- Fix the file locally, and run the doctests again, to make sure the
fix is working as expected
- Optionally have a look and make sure that the code in the examples
follow PEP-8, and fix the style if it doesn't
- Commit your changes, push your branch to a fork, and open a pull
request. Make sure you edit the line `Closes #XXXX` with the issue
number you are addressing, so the issue is automatically closed,
when the pull request is merged
- Make sure the continuous integration of your pull request finishes
in green. If it doesn't, check if the problem is in your changes
(sometimes things break in master for technical problems, and in
that case you just need to wait for a core developer to fix the
problem)
- Address any comment from the reviewers (just make changes locally,
commit, and push to your branch, no need to open new pull requests) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42673/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42673/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42674 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42674/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42674/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42674/events | https://github.com/pandas-dev/pandas/issues/42674 | 951,040,271 | MDU6SXNzdWU5NTEwNDAyNzE= | 42,674 | TST: Fix doctest in _parse_latex_table_styles | {
"avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4",
"events_url": "https://api.github.com/users/datapythonista/events{/privacy}",
"followers_url": "https://api.github.com/users/datapythonista/followers",
"following_url": "https://api.github.com/users/datapythonista/following{/other_user}",
"gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/datapythonista",
"id": 10058240,
"login": "datapythonista",
"node_id": "MDQ6VXNlcjEwMDU4MjQw",
"organizations_url": "https://api.github.com/users/datapythonista/orgs",
"received_events_url": "https://api.github.com/users/datapythonista/received_events",
"repos_url": "https://api.github.com/users/datapythonista/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions",
"type": "User",
"url": "https://api.github.com/users/datapythonista"
} | [
{
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/11354911?v=4",
"events_url": "https://api.github.com/users/Leonardofreua/events{/privacy}",
"followers_url": "https://api.github.com/users/Leonardofreua/followers",
"following_url": "https://api.github.com/users/Leonardofreua/following{/other_user}",
"gists_url": "https://api.github.com/users/Leonardofreua/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Leonardofreua",
"id": 11354911,
"login": "Leonardofreua",
"node_id": "MDQ6VXNlcjExMzU0OTEx",
"organizations_url": "https://api.github.com/users/Leonardofreua/orgs",
"received_events_url": "https://api.github.com/users/Leonardofreua/received_events",
"repos_url": "https://api.github.com/users/Leonardofreua/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Leonardofreua/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Leonardofreua/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Leonardofreua"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/11354911?v=4",
"events_url": "https://api.github.com/users/Leonardofreua/events{/privacy}",
"followers_url": "https://api.github.com/users/Leonardofreua/followers",
"following_url": "https://api.github.com/users/Leonardofreua/following{/other_user}",
"gists_url": "https://api.github.com/users/Leonardofreua/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Leonardofreua",
"id": 11354911,
"login": "Leonardofreua",
"node_id": "MDQ6VXNlcjExMzU0OTEx",
"organizations_url": "https://api.github.com/users/Leonardofreua/orgs",
"received_events_url": "https://api.github.com/users/Leonardofreua/received_events",
"repos_url": "https://api.github.com/users/Leonardofreua/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Leonardofreua/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Leonardofreua/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Leonardofreua"
}
] | {
"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"
} | 12 | "2021-07-22T20:44:27Z" | "2021-07-28T01:09:32Z" | "2021-07-28T01:09:32Z" | MEMBER | null | # tl;dr
Fix the next doctest error:
```
____________________________________________________ [doctest] pandas.io.formats.style_render._parse_latex_table_styles _____________________________________________________
1249
1250 Return the first 'props' 'value' from ``tables_styles`` identified by ``selector``.
1251
1252 Examples
1253 --------
1254 >>> table_styles = [{'selector': 'foo', 'props': [('attr','value')],
UNEXPECTED EXCEPTION: SyntaxError('invalid syntax', ('<doctest pandas.io.formats.style_render._parse_latex_table_styles[0]>', 2, 72, " {'selector': 'bar', 'props': [('attr', 'overwritten')]},\n"))
Traceback (most recent call last):
File "/home/mgarcia/miniconda3/envs/pandas-dev/lib/python3.8/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest pandas.io.formats.style_render._parse_latex_table_styles[0]>", line 2
{'selector': 'bar', 'props': [('attr', 'overwritten')]},
^
SyntaxError: invalid syntax
/home/mgarcia/src/pandas/pandas/io/formats/style_render.py:1254: UnexpectedException
```
# Detailed instructions
Python allows to have example code in the documentation, like in:
```python
def add(num1, num2):
"""
Computes the sum of the two numbers.
Examples
--------
>>> add(2, 2)
4
"""
return num1 + num2
```
In pandas, we use this to document most elements. And there are tools, like pytest,
that can run the examples, and make sure everything is correct.
For historical reasons, we have many examples where the code fails to run, or the
actual output is different from the expected output. For example, check the next
incorrect examples:
```python
def add(num1, num2):
"""
Computes the sum of the two numbers.
Examples
--------
>>> add(2, 2)
5
>>> add(2, 2
4
>>> add(2, number)
4
...
"""
return num1 + num2
```
All them will fail for different reasons. To test the docstring of an object,
the next command can be run:
```
python -m pytest --doctest-modules pandas/core/frame.py::pandas.core.frame.DataFrame.info
```
Where `pandas/core/frame.py` is the file where the docstring is defined, and
`pandas.core.frame.DataFrame.info` is the object. A whole file can also be tested
by removing the `::` and the object from the command above.
In general, the errors in the examples can be fixed with things like:
- Fixing a typo (a missing comma, an mispelled variable name...)
- Adding an object that hasn't been defined (like, if `df` is used, but
no sample dataset `df` has been first defined)
- Fixing the expected output, when it's wrong
- In exceptional cases, examples shouldn't run, since they can't work.
For example, a function that connects to a private webservice. In
such cases, we can add `# doctest: +SKIP` at the end of the lines
that should not run
To be able to properly fix an example for the first time, the next steps
are needed:
- Install a pandas development environment in your computer. There are
simplified instructions [in this page](https://python-sprints.github.io/pandas/guide/pandas_setup.html),
and more detailed information in [pandas official contributing page](https://pandas.pydata.org/docs/development/index.html).
- Run the doctests for the object of interest (the one in this issue),
and make sure the examples are still broken in the `master` branch of
pandas
- Fix the file locally, and run the doctests again, to make sure the
fix is working as expected
- Optionally have a look and make sure that the code in the examples
follow PEP-8, and fix the style if it doesn't
- Commit your changes, push your branch to a fork, and open a pull
request. Make sure you edit the line `Closes #XXXX` with the issue
number you are addressing, so the issue is automatically closed,
when the pull request is merged
- Make sure the continuous integration of your pull request finishes
in green. If it doesn't, check if the problem is in your changes
(sometimes things break in master for technical problems, and in
that case you just need to wait for a core developer to fix the
problem)
- Address any comment from the reviewers (just make changes locally,
commit, and push to your branch, no need to open new pull requests) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42674/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42674/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42675 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42675/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42675/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42675/events | https://github.com/pandas-dev/pandas/pull/42675 | 951,040,702 | MDExOlB1bGxSZXF1ZXN0Njk1NDkxMzAy | 42,675 | Bug in concat creating invalid MultiIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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"
} | 2 | "2021-07-22T20:44:51Z" | "2021-07-25T15:35:16Z" | "2021-07-25T14:18:38Z" | MEMBER | null | - [x] closes #42651
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
I am checking the levels here to make it clear, what caused the issue previously. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42675/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42675/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42675.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42675",
"merged_at": "2021-07-25T14:18:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42675.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42675"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42676 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42676/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42676/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42676/events | https://github.com/pandas-dev/pandas/pull/42676 | 951,087,222 | MDExOlB1bGxSZXF1ZXN0Njk1NTMyMjk5 | 42,676 | Backport PR #42648 on branch 1.3.x (DOC: Boolean Array Is Experimental) | {
"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-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 0 | "2021-07-22T21:48:23Z" | "2021-07-23T01:01:55Z" | "2021-07-23T01:01:55Z" | NONE | null | Backport PR #42648: DOC: Boolean Array Is Experimental | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42676/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42676/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42676.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42676",
"merged_at": "2021-07-23T01:01:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42676.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42676"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42677 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42677/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42677/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42677/events | https://github.com/pandas-dev/pandas/issues/42677 | 951,113,208 | MDU6SXNzdWU5NTExMTMyMDg= | 42,677 | BUG: conda install forced downgrade of other packages | {
"avatar_url": "https://avatars.githubusercontent.com/u/25097908?v=4",
"events_url": "https://api.github.com/users/githubrandomuser2017/events{/privacy}",
"followers_url": "https://api.github.com/users/githubrandomuser2017/followers",
"following_url": "https://api.github.com/users/githubrandomuser2017/following{/other_user}",
"gists_url": "https://api.github.com/users/githubrandomuser2017/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/githubrandomuser2017",
"id": 25097908,
"login": "githubrandomuser2017",
"node_id": "MDQ6VXNlcjI1MDk3OTA4",
"organizations_url": "https://api.github.com/users/githubrandomuser2017/orgs",
"received_events_url": "https://api.github.com/users/githubrandomuser2017/received_events",
"repos_url": "https://api.github.com/users/githubrandomuser2017/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/githubrandomuser2017/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/githubrandomuser2017/subscriptions",
"type": "User",
"url": "https://api.github.com/users/githubrandomuser2017"
} | [
{
"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"
} | 1 | "2021-07-22T22:42:21Z" | "2021-07-22T23:05:31Z" | "2021-07-22T23:05:19Z" | NONE | null | I tried to install Pandas via `conda install`. When I run the installation, Pandas forced a downgrade of a bunch of other packages not related to the core competency of Pandas. It eventually installed Pandas 1.2.4.
```
> conda install pandas
The following packages will be downloaded:
package | build
---------------------------|-----------------
h5py-2.10.0 | py39hec9cf62_0 1.1 MB
intel-openmp-2020.2 | 254 947 KB
mkl-2020.2 | 256 213.9 MB
mkl-service-2.3.0 | py39he8ac12f_0 58 KB
mkl_fft-1.3.0 | py39h54f3939_0 195 KB
mkl_random-1.0.2 | py39h63df603_0 379 KB
numpy-1.19.2 | py39h89c1606_0 21 KB
numpy-base-1.19.2 | py39h2ae0177_0 5.3 MB
pandas-1.2.4 | py39h2531618_0 11.4 MB
python-dateutil-2.8.2 | pyhd3eb1b0_0 241 KB
pytz-2021.1 | pyhd3eb1b0_0 244 KB
scipy-1.6.2 | py39h91f5cce_0 20.6 MB
tensorflow-2.4.1 |mkl_py39h4683426_0 3 KB
tensorflow-base-2.4.1 |mkl_py39h43e0292_0 125.5 MB
------------------------------------------------------------
Total: 379.7 MB
The following NEW packages will be INSTALLED:
pandas pkgs/main/linux-64::pandas-1.2.4-py39h2531618_0
python-dateutil pkgs/main/noarch::python-dateutil-2.8.2-pyhd3eb1b0_0
pytz pkgs/main/noarch::pytz-2021.1-pyhd3eb1b0_0
The following packages will be DOWNGRADED:
h5py 3.2.1-py39h6c542dc_0 --> 2.10.0-py39hec9cf62_0
intel-openmp 2021.3.0-h06a4308_3350 --> 2020.2-254
mkl 2021.3.0-h06a4308_520 --> 2020.2-256
mkl-service 2.4.0-py39h7f8727e_0 --> 2.3.0-py39he8ac12f_0
mkl_fft 1.3.0-py39h42c9631_2 --> 1.3.0-py39h54f3939_0
mkl_random 1.2.2-py39h51133e4_0 --> 1.0.2-py39h63df603_0
numpy 1.20.3-py39hf144106_0 --> 1.19.2-py39h89c1606_0
numpy-base 1.20.3-py39h74d4b33_0 --> 1.19.2-py39h2ae0177_0
scipy 1.6.2-py39had2a1c9_1 --> 1.6.2-py39h91f5cce_0
tensorflow 2.5.0-mkl_py39h4a0693c_0 --> 2.4.1-mkl_py39h4683426_0
tensorflow-base 2.5.0-mkl_py39h35b2a3d_0 --> 2.4.1-mkl_py39h43e0292_0
Proceed ([y]/n)?
```
There is absolutely no reason why Pandas needs to touch TensorFlow or Numpy. Please fix.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42677/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42677/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42678 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42678/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42678/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42678/events | https://github.com/pandas-dev/pandas/pull/42678 | 951,117,976 | MDExOlB1bGxSZXF1ZXN0Njk1NTU4NjUw | 42,678 | Backport PR #42633 on branch 1.3.x (Fixed regression for SettingWithCopyWarning showing incorrect stacklevel) | {
"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"
},
{
"color": "70e5ca",
"default": false,
"description": "",
"id": 2085877452,
"name": "Copy / view semantics",
"node_id": "MDU6TGFiZWwyMDg1ODc3NDUy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Copy%20/%20view%20semantics"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 0 | "2021-07-22T22:54:26Z" | "2021-07-23T01:02:45Z" | "2021-07-23T01:02:45Z" | NONE | null | Backport PR #42633: Fixed regression for SettingWithCopyWarning showing incorrect stacklevel | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42678/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42678/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42678.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42678",
"merged_at": "2021-07-23T01:02:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42678.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42678"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42679 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42679/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42679/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42679/events | https://github.com/pandas-dev/pandas/pull/42679 | 951,167,777 | MDExOlB1bGxSZXF1ZXN0Njk1NjAxMzAw | 42,679 | Backport PR #42579 on branch 1.3.x (BUG: DataFrame.copy not consolidating) | {
"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-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 0 | "2021-07-23T01:02:36Z" | "2021-07-23T08:05:33Z" | "2021-07-23T08:05:33Z" | NONE | null | Backport PR #42579: BUG: DataFrame.copy not consolidating | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42679/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42679/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42679.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42679",
"merged_at": "2021-07-23T08:05:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42679.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42679"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42680 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42680/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42680/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42680/events | https://github.com/pandas-dev/pandas/issues/42680 | 951,168,092 | MDU6SXNzdWU5NTExNjgwOTI= | 42,680 | pandas.to_datetime in ver 1.3.0 fails to convert dates in arrays of size 51 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1110390?v=4",
"events_url": "https://api.github.com/users/agilevic/events{/privacy}",
"followers_url": "https://api.github.com/users/agilevic/followers",
"following_url": "https://api.github.com/users/agilevic/following{/other_user}",
"gists_url": "https://api.github.com/users/agilevic/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/agilevic",
"id": 1110390,
"login": "agilevic",
"node_id": "MDQ6VXNlcjExMTAzOTA=",
"organizations_url": "https://api.github.com/users/agilevic/orgs",
"received_events_url": "https://api.github.com/users/agilevic/received_events",
"repos_url": "https://api.github.com/users/agilevic/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/agilevic/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/agilevic/subscriptions",
"type": "User",
"url": "https://api.github.com/users/agilevic"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] | closed | false | null | [] | null | 3 | "2021-07-23T01:03:20Z" | "2021-07-23T15:36:56Z" | "2021-07-23T15:36:43Z" | NONE | null | In pandas 1.3.0 pd.to_datetime will produce NaT for valid datetime strings when processing lists or Series of certain size and content. Here's the actual reproducible example:
```
import pandas as pd
pd.__version__
ld = ['2021-09-24T00:00:00Z',
'2021-09-24T00:00:00Z',
'2021-09-24T00:00:00Z',
'2021-09-24T00:00:00Z',
'2021-09-24T00:00:00Z',
'2021-07-30T00:00:00Z',
'2021-07-30T00:00:00Z',
'2021-07-30T00:00:00Z',
'2021-07-30T00:00:00Z',
'2021-07-30T00:00:00Z',
'2021-08-16T00:00:00Z',
'2021-08-16T00:00:00Z',
'2021-08-16T00:00:00Z',
'2021-08-16T00:00:00Z',
'2021-08-16T00:00:00Z',
'2021-08-16T00:00:00Z',
'2021-08-16T00:00:00Z',
'2021-08-16T00:00:00Z',
'2021-08-16T00:00:00Z',
'2021-08-16T00:00:00Z',
'2021-08-16T00:00:00Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2024-12-17T00:00:00.0000000Z',
'2024-12-17T00:00:00.0000000Z',
'2024-12-17T00:00:00.0000000Z',
'2024-12-17T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z',
'2021-08-16T00:00:00.0000000Z']
pd.to_datetime(ld)
```
And proof:
```
(p130) C:\Users\volex>python
Python 3.9.5 (default, May 18 2021, 14:42:02) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas as pd
>>> pd.__version__
'1.3.0'
>>> ld = ['2021-09-24T00:00:00Z',
... '2021-09-24T00:00:00Z',
... '2021-09-24T00:00:00Z',
... '2021-09-24T00:00:00Z',
... '2021-09-24T00:00:00Z',
... '2021-07-30T00:00:00Z',
... '2021-07-30T00:00:00Z',
... '2021-07-30T00:00:00Z',
... '2021-07-30T00:00:00Z',
... '2021-07-30T00:00:00Z',
... '2021-08-16T00:00:00Z',
... '2021-08-16T00:00:00Z',
... '2021-08-16T00:00:00Z',
... '2021-08-16T00:00:00Z',
... '2021-08-16T00:00:00Z',
... '2021-08-16T00:00:00Z',
... '2021-08-16T00:00:00Z',
... '2021-08-16T00:00:00Z',
... '2021-08-16T00:00:00Z',
... '2021-08-16T00:00:00Z',
... '2021-08-16T00:00:00Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2024-12-17T00:00:00.0000000Z',
... '2024-12-17T00:00:00.0000000Z',
... '2024-12-17T00:00:00.0000000Z',
... '2024-12-17T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z',
... '2021-08-16T00:00:00.0000000Z']
>>> pd.to_datetime(ld)
DatetimeIndex(['2021-09-24 00:00:00+00:00', '2021-09-24 00:00:00+00:00',
'2021-09-24 00:00:00+00:00', '2021-09-24 00:00:00+00:00',
'2021-09-24 00:00:00+00:00', '2021-07-30 00:00:00+00:00',
'2021-07-30 00:00:00+00:00', '2021-07-30 00:00:00+00:00',
'2021-07-30 00:00:00+00:00', '2021-07-30 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', 'NaT',
'NaT', 'NaT',
'NaT', 'NaT',
'NaT', 'NaT',
'NaT', 'NaT',
'NaT', 'NaT',
'NaT', 'NaT',
'NaT', '2024-12-17 00:00:00+00:00',
'2024-12-17 00:00:00+00:00', '2024-12-17 00:00:00+00:00',
'2024-12-17 00:00:00+00:00', 'NaT',
'NaT', 'NaT',
'NaT', 'NaT',
'NaT', 'NaT',
'NaT', 'NaT',
'NaT', 'NaT',
'NaT'],
dtype='datetime64[ns, UTC]', freq=None)
>>>
```
Interestingly when the list is of size 50, it will work fine:
```
>>> pd.to_datetime(ld[1:])
DatetimeIndex(['2021-09-24 00:00:00+00:00', '2021-09-24 00:00:00+00:00',
'2021-09-24 00:00:00+00:00', '2021-09-24 00:00:00+00:00',
'2021-07-30 00:00:00+00:00', '2021-07-30 00:00:00+00:00',
'2021-07-30 00:00:00+00:00', '2021-07-30 00:00:00+00:00',
'2021-07-30 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2024-12-17 00:00:00+00:00', '2024-12-17 00:00:00+00:00',
'2024-12-17 00:00:00+00:00', '2024-12-17 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00',
'2021-08-16 00:00:00+00:00', '2021-08-16 00:00:00+00:00'],
dtype='datetime64[ns, UTC]', freq=None)
```
No such anomaly observed in pandas 1.2.x.
This is on Windows 10 64 bit using Anaconda.
```
(p130) C:\Users\volex>conda list
# packages in environment at C:\Users\volex\AppData\Local\Continuum\anaconda3\envs\p130:
#
# Name Version Build Channel
blas 1.0 mkl
bottleneck 1.3.2 py39h7cc1a96_1
ca-certificates 2021.7.5 haa95532_1
certifi 2021.5.30 py39haa95532_0
intel-openmp 2021.3.0 haa95532_3372
mkl 2021.3.0 haa95532_524
mkl-service 2.4.0 py39h2bbff1b_0
mkl_fft 1.3.0 py39h277e83a_2
mkl_random 1.2.2 py39hf11a4ad_0
numexpr 2.7.3 py39hb80d3ca_1
numpy 1.20.3 py39ha4e8547_0
numpy-base 1.20.3 py39hc2deb75_0
openssl 1.1.1k h2bbff1b_0
pandas 1.3.0 py39hd77b12b_0
pip 21.1.3 py39haa95532_0
python 3.9.5 h6244533_3
python-dateutil 2.8.2 pyhd3eb1b0_0
pytz 2021.1 pyhd3eb1b0_0
setuptools 52.0.0 py39haa95532_0
six 1.16.0 pyhd3eb1b0_0
sqlite 3.36.0 h2bbff1b_0
tzdata 2021a h52ac0ba_0
vc 14.2 h21ff451_1
vs2015_runtime 14.27.29016 h5e58377_2
wheel 0.36.2 pyhd3eb1b0_0
wincertstore 0.2 py39h2bbff1b_0
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42680/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42680/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42681 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42681/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42681/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42681/events | https://github.com/pandas-dev/pandas/issues/42681 | 951,299,518 | MDU6SXNzdWU5NTEyOTk1MTg= | 42,681 | BUG: reading csv error : KeyError: 'x' | {
"avatar_url": "https://avatars.githubusercontent.com/u/87395223?v=4",
"events_url": "https://api.github.com/users/Binger-cn/events{/privacy}",
"followers_url": "https://api.github.com/users/Binger-cn/followers",
"following_url": "https://api.github.com/users/Binger-cn/following{/other_user}",
"gists_url": "https://api.github.com/users/Binger-cn/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Binger-cn",
"id": 87395223,
"login": "Binger-cn",
"node_id": "MDQ6VXNlcjg3Mzk1MjIz",
"organizations_url": "https://api.github.com/users/Binger-cn/orgs",
"received_events_url": "https://api.github.com/users/Binger-cn/received_events",
"repos_url": "https://api.github.com/users/Binger-cn/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Binger-cn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Binger-cn/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Binger-cn"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] | closed | false | null | [] | null | 2 | "2021-07-23T06:45:59Z" | "2021-07-24T14:28:58Z" | "2021-07-24T14:28:58Z" | NONE | null | python 3.9.6 x64 on windows10pro, vscode 1.58.2, pandas 1.3.0

[pandas-bug.zip](https://github.com/pandas-dev/pandas/files/6866965/pandas-bug.zip)
KeyError: 'x'
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
~\AppData\Roaming\Python\Python39\site-packages\IPython\core\formatters.py in __call__(self, obj)
700 type_pprinters=self.type_printers,
701 deferred_ppr | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42681/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42681/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42682 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42682/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42682/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42682/events | https://github.com/pandas-dev/pandas/issues/42682 | 951,342,796 | MDU6SXNzdWU5NTEzNDI3OTY= | 42,682 | BUG: pd.concat coerces ints to floats if empty DataFrame is present with different columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/47282888?v=4",
"events_url": "https://api.github.com/users/XyLearningProgramming/events{/privacy}",
"followers_url": "https://api.github.com/users/XyLearningProgramming/followers",
"following_url": "https://api.github.com/users/XyLearningProgramming/following{/other_user}",
"gists_url": "https://api.github.com/users/XyLearningProgramming/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/XyLearningProgramming",
"id": 47282888,
"login": "XyLearningProgramming",
"node_id": "MDQ6VXNlcjQ3MjgyODg4",
"organizations_url": "https://api.github.com/users/XyLearningProgramming/orgs",
"received_events_url": "https://api.github.com/users/XyLearningProgramming/received_events",
"repos_url": "https://api.github.com/users/XyLearningProgramming/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/XyLearningProgramming/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/XyLearningProgramming/subscriptions",
"type": "User",
"url": "https://api.github.com/users/XyLearningProgramming"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] | open | false | null | [] | null | 1 | "2021-07-23T07:58:47Z" | "2021-08-21T19:59:30Z" | null | NONE | null | - I have checked that this issue has not already been reported.
- I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note** This issue is very similar to [Issue #8902](https://github.com/pandas-dev/pandas/issues/8902), which is fixed in `pandas==1.3.0`, but in cases where the DataFrame to concat has different columns settings as stated below, `pd.concat` is still acting weird?
####
```python
import pandas as pd
# pd.concat with empty DataFrame won't coerce type now
df = pd.DataFrame([{"col1": 1}, {"col1":2}])
df2 = pd.DataFrame({})
df_new = pd.concat([df,df2])
df_new.col1.dtype # dtype('int64')
# however, pd.concat with empty DataFrame with column different than the original one will still coerce type
df = pd.DataFrame([{"col1": 1}, {"col1":2}])
df2 = pd.DataFrame({}, columns=["whatever"])
df_new = pd.concat([df,df2])
df_new.col1.dtype # dtype('float64')
# pd.concat with empty DataFrame with same columns will still coerce type to `object`
df = pd.DataFrame([{"col1": 1}, {"col1":2}])
df2 = pd.DataFrame({}, columns=["col1"])
df_new = pd.concat([df,df2])
df_new.col1.dtype # dtype('object')
```
#### Problem description
`pd.concat` is acting inconsistently when concatenating empty DataFrame:
If the empty DataFrame is present with same column, that column is changed to `dtype('O')`;
If the empty DataFrame is present with columns different than target, the target DataFrame has its original column values of type `int64` coerced to `float64`;
If the empty DataFrame is present without any column, the target DataFrame keeps its dtype;
#### Expected Output
I suggest just not coerce values when `pd.concat` an empty DataFrame...
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f00ed8f47020034e752baf0250483053340971b0
python : 3.9.2.final.0
python-bits : 64
OS : Linux
OS-release : 4.14.81.bm.15-amd64
Version : #1 SMP Debian 4.14.81.bm.15 Sun Sep 8 05:02:31 UTC 2019
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.3.0
numpy : 1.19.2
pytz : 2021.1
dateutil : 2.8.1
pip : 21.0.1
setuptools : 49.6.0.post20210108
Cython : 0.29.23
pytest : 6.2.4
hypothesis : None
sphinx : 3.5.4
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : 0.9.2
psycopg2 : None
jinja2 : 2.11.3
IPython : 7.22.0
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 : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : 1.4.20
tables : None
tabulate : 0.8.9
xarray : None
xlrd : 2.0.1
xlwt : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42682/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42682/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42683 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42683/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42683/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42683/events | https://github.com/pandas-dev/pandas/issues/42683 | 951,402,101 | MDU6SXNzdWU5NTE0MDIxMDE= | 42,683 | ENH: Performance optimization for pd.merge introducing fillna= argument | {
"avatar_url": "https://avatars.githubusercontent.com/u/1033375?v=4",
"events_url": "https://api.github.com/users/anatolix/events{/privacy}",
"followers_url": "https://api.github.com/users/anatolix/followers",
"following_url": "https://api.github.com/users/anatolix/following{/other_user}",
"gists_url": "https://api.github.com/users/anatolix/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/anatolix",
"id": 1033375,
"login": "anatolix",
"node_id": "MDQ6VXNlcjEwMzMzNzU=",
"organizations_url": "https://api.github.com/users/anatolix/orgs",
"received_events_url": "https://api.github.com/users/anatolix/received_events",
"repos_url": "https://api.github.com/users/anatolix/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/anatolix/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anatolix/subscriptions",
"type": "User",
"url": "https://api.github.com/users/anatolix"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] | open | false | null | [] | null | 1 | "2021-07-23T09:19:57Z" | "2021-08-05T02:12:57Z" | null | NONE | null | #### Is your feature request related to a problem?
Very often we merge very data sets(100Gb) with 'left'/'right'/'outer' which introduces NAs.
Basically, if we have integer field, we have two options:
1. Allow pandas autoconvert it to float which could be nan (default behaviour)
2. Use Int64 type, which is actually quite slow to use it in large datasets spending ages in _PyEval_EvalFrameDefault
#### Describe the solution you'd like
The obvious option is to use fill value, like -1 for NaN, it currently could be done after 1st or 2nd step, with fillna and conversion to integer type back. It will be quite simple to introduce new parameter inmerge fillna={ "column1":-1, "column2":-1} which do the same task without addition computations.
#### API breaking implications
By default fillna should be None, which will keep current behaviour.
p.s. the same thing is reasonable for pd.concat
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42683/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42683/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42684 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42684/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42684/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42684/events | https://github.com/pandas-dev/pandas/pull/42684 | 951,465,925 | MDExOlB1bGxSZXF1ZXN0Njk1ODQ3NzIy | 42,684 | Fixed bug: Dataframe.sort_values not raising ValueError for ascending-incompatible value and Series.sort_values raising ValueError for int value | {
"avatar_url": "https://avatars.githubusercontent.com/u/12632118?v=4",
"events_url": "https://api.github.com/users/gaikwadrahul20/events{/privacy}",
"followers_url": "https://api.github.com/users/gaikwadrahul20/followers",
"following_url": "https://api.github.com/users/gaikwadrahul20/following{/other_user}",
"gists_url": "https://api.github.com/users/gaikwadrahul20/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gaikwadrahul20",
"id": 12632118,
"login": "gaikwadrahul20",
"node_id": "MDQ6VXNlcjEyNjMyMTE4",
"organizations_url": "https://api.github.com/users/gaikwadrahul20/orgs",
"received_events_url": "https://api.github.com/users/gaikwadrahul20/received_events",
"repos_url": "https://api.github.com/users/gaikwadrahul20/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gaikwadrahul20/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gaikwadrahul20/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gaikwadrahul20"
} | [
{
"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"
} | 5 | "2021-07-23T10:46:25Z" | "2021-08-10T08:26:48Z" | "2021-07-30T22:15:04Z" | CONTRIBUTOR | null | - [x] closes #41634
- [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/42684/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42684/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42684.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42684",
"merged_at": "2021-07-30T22:15:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42684.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42684"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42685 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42685/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42685/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42685/events | https://github.com/pandas-dev/pandas/pull/42685 | 951,470,413 | MDExOlB1bGxSZXF1ZXN0Njk1ODUxNDIw | 42,685 | DOC: clean 1.3.1 release notes | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 2 | "2021-07-23T10:53:11Z" | "2021-07-25T07:11:11Z" | "2021-07-25T07:11:11Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42685/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42685/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42685.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42685",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/42685.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42685"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/42686 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42686/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42686/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42686/events | https://github.com/pandas-dev/pandas/pull/42686 | 951,474,208 | MDExOlB1bGxSZXF1ZXN0Njk1ODU0NTQ4 | 42,686 | DOC: 1.3.1 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-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 0 | "2021-07-23T10:59:08Z" | "2021-07-24T11:19:09Z" | "2021-07-24T11:19:05Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42686/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42686/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42686.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42686",
"merged_at": "2021-07-24T11:19:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42686.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42686"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/42687 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42687/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42687/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42687/events | https://github.com/pandas-dev/pandas/pull/42687 | 951,481,761 | MDExOlB1bGxSZXF1ZXN0Njk1ODYwOTI2 | 42,687 | DOC: Start v1.3.2 release notes | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2021-08-15T12:34:44Z",
"closed_issues": 90,
"created_at": "2021-07-23T08:57:52Z",
"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-08-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/88",
"id": 6998423,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels",
"node_id": "MI_kwDOAA0YD84AasmX",
"number": 88,
"open_issues": 0,
"state": "closed",
"title": "1.3.2",
"updated_at": "2021-08-28T18:34:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88"
} | 1 | "2021-07-23T11:09:46Z" | "2021-07-25T12:30:58Z" | "2021-07-25T12:29:55Z" | MEMBER | null | will fail till v1.3.1 tag exists
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42687/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42687/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42687.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42687",
"merged_at": "2021-07-25T12:29:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42687.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42687"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42688 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42688/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42688/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42688/events | https://github.com/pandas-dev/pandas/issues/42688 | 951,546,763 | MDU6SXNzdWU5NTE1NDY3NjM= | 42,688 | BUG: value_counts and nunique behave differently for NaN and None with dropna=False | {
"avatar_url": "https://avatars.githubusercontent.com/u/64984232?v=4",
"events_url": "https://api.github.com/users/knoam/events{/privacy}",
"followers_url": "https://api.github.com/users/knoam/followers",
"following_url": "https://api.github.com/users/knoam/following{/other_user}",
"gists_url": "https://api.github.com/users/knoam/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/knoam",
"id": 64984232,
"login": "knoam",
"node_id": "MDQ6VXNlcjY0OTg0MjMy",
"organizations_url": "https://api.github.com/users/knoam/orgs",
"received_events_url": "https://api.github.com/users/knoam/received_events",
"repos_url": "https://api.github.com/users/knoam/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/knoam/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/knoam/subscriptions",
"type": "User",
"url": "https://api.github.com/users/knoam"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "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"
} | 5 | "2021-07-23T12:43:48Z" | "2021-11-12T14:57:14Z" | "2021-11-12T14:57:14Z" | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample
```python
s = pd.Series([None, np.nan, 'Y'])
s.nunique(dropna=False)
s.value_counts(dropna=False)
```
#### Problem description
nunique returns 3, but value_counts only has 2 rows. This may be related to Issue https://github.com/pandas-dev/pandas/issues/37566
#### Expected Output
I would expect these to be consistent.
#### Output of ``pd.show_versions()``
<details>
pandas : 1.3.0
numpy : 1.19.5
pytz : 2019.3
dateutil : 2.8.1
pip : 21.1.2
setuptools : 56.0.0
Cython : 0.29.23
pytest : 6.2.3
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.6.3
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.24.1
pandas_datareader: None
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 0.8.5
fastparquet : None
gcsfs : None
matplotlib : 3.4.1
numexpr : 2.7.3
odfpy : None
openpyxl : 3.0.6
pandas_gbq : None
pyarrow : 3.0.0
pyxlsb : None
s3fs : None
scipy : 1.6.2
sqlalchemy : 1.3.23
tables : None
tabulate : None
xarray : 0.17.0
xlrd : 2.0.1
xlwt : None
numba : 0.52.0
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42688/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42688/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42689 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42689/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42689/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42689/events | https://github.com/pandas-dev/pandas/pull/42689 | 951,781,082 | MDExOlB1bGxSZXF1ZXN0Njk2MTEzMTQ3 | 42,689 | BUG: ArrayManager construction unwanted copy | {
"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": "1d76db",
"default": false,
"description": "",
"id": 3165546917,
"name": "ArrayManager",
"node_id": "MDU6TGFiZWwzMTY1NTQ2OTE3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ArrayManager"
}
] | 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-07-23T17:42:26Z" | "2021-07-23T23:25:17Z" | "2021-07-23T23:24:43Z" | 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
This is also going to be necessary in order to allow round-tripping DataFrame(arr).values as a view on arr | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42689/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42689/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42689.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42689",
"merged_at": "2021-07-23T23:24:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42689.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42689"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42690 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42690/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42690/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42690/events | https://github.com/pandas-dev/pandas/pull/42690 | 951,853,162 | MDExOlB1bGxSZXF1ZXN0Njk2MTczOTQ2 | 42,690 | REGR: ValueError raised when both prefix and names are set to None | {
"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": "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-08-15T12:34:44Z",
"closed_issues": 90,
"created_at": "2021-07-23T08:57:52Z",
"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-08-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/88",
"id": 6998423,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels",
"node_id": "MI_kwDOAA0YD84AasmX",
"number": 88,
"open_issues": 0,
"state": "closed",
"title": "1.3.2",
"updated_at": "2021-08-28T18:34:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88"
} | 2 | "2021-07-23T19:45:48Z" | "2021-07-30T14:30:49Z" | "2021-07-30T08:07:43Z" | MEMBER | null | - [ ] closes #42387
- [ ] 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/42690/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42690/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42690.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42690",
"merged_at": "2021-07-30T08:07:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42690.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42690"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42691 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42691/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42691/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42691/events | https://github.com/pandas-dev/pandas/pull/42691 | 951,867,718 | MDExOlB1bGxSZXF1ZXN0Njk2MTg2MzAy | 42,691 | Revert "Regression in merge_asof raising KeyError when at least one by column is in index | {
"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"
} | [] | closed | false | null | [] | null | 3 | "2021-07-23T20:12:09Z" | "2021-07-23T23:07:30Z" | "2021-07-23T20:25:25Z" | MEMBER | null | I am really sorry for this.
I messed up my acces token and accidentially pushed to master. Not sure how this could happen :(
If someone has a better idea than simply reverting we can close this
cc @pandas-dev/pandas-core
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42691/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42691/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42691.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42691",
"merged_at": "2021-07-23T20:25:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42691.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42691"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42692 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42692/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42692/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42692/events | https://github.com/pandas-dev/pandas/pull/42692 | 951,876,528 | MDExOlB1bGxSZXF1ZXN0Njk2MTkzNjA5 | 42,692 | Regression in merge_asof raising KeyError when at least one by columnis in index | {
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 3 | "2021-07-23T20:27:39Z" | "2021-07-24T09:38:28Z" | "2021-07-23T23:14:49Z" | MEMBER | null | - [x] xref #34488
- [x] closes https://github.com/pandas-dev/pandas/issues/29130
- [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 time correctly. This should cover the index case missed in the past | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42692/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42692/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42692.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42692",
"merged_at": "2021-07-23T23:14:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42692.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42692"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42693 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42693/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42693/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42693/events | https://github.com/pandas-dev/pandas/pull/42693 | 951,894,096 | MDExOlB1bGxSZXF1ZXN0Njk2MjA4Mjk2 | 42,693 | CLN: NumericIndex clean-up | {
"avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4",
"events_url": "https://api.github.com/users/topper-123/events{/privacy}",
"followers_url": "https://api.github.com/users/topper-123/followers",
"following_url": "https://api.github.com/users/topper-123/following{/other_user}",
"gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/topper-123",
"id": 26364415,
"login": "topper-123",
"node_id": "MDQ6VXNlcjI2MzY0NDE1",
"organizations_url": "https://api.github.com/users/topper-123/orgs",
"received_events_url": "https://api.github.com/users/topper-123/received_events",
"repos_url": "https://api.github.com/users/topper-123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/topper-123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/topper-123"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "e99695",
"default": false,
"description": "Related to the Index class or subclasses",
"id": 1218227310,
"name": "Index",
"node_id": "MDU6TGFiZWwxMjE4MjI3MzEw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 1 | "2021-07-23T21:01:36Z" | "2021-07-24T08:51:17Z" | "2021-07-23T23:23:34Z" | CONTRIBUTOR | null | A small clean-up, seperated out from #41153.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42693/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42693/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42693.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42693",
"merged_at": "2021-07-23T23:23:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42693.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42693"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42694 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42694/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42694/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42694/events | https://github.com/pandas-dev/pandas/pull/42694 | 951,947,614 | MDExOlB1bGxSZXF1ZXN0Njk2MjUxNzg5 | 42,694 | Backport PR #42692 on branch 1.3.x (Regression in merge_asof raising KeyError when at least one by columnis in index) | {
"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": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 0 | "2021-07-23T23:15:15Z" | "2021-07-24T08:18:10Z" | "2021-07-24T08:18:10Z" | NONE | null | Backport PR #42692: Regression in merge_asof raising KeyError when at least one by columnis in 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/42694/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42694/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42694.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42694",
"merged_at": "2021-07-24T08:18:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42694.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42694"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42695 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42695/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42695/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42695/events | https://github.com/pandas-dev/pandas/pull/42695 | 951,950,571 | MDExOlB1bGxSZXF1ZXN0Njk2MjU0MjE1 | 42,695 | Backport PR #42622 on branch 1.3.x (BUG: `Styler.set_sticky` not handling display of `index names`. 1/2) | {
"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": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 0 | "2021-07-23T23:26:01Z" | "2021-07-24T08:21:12Z" | "2021-07-24T08:21:12Z" | NONE | null | Backport PR #42622: BUG: `Styler.set_sticky` not handling display of `index names`. 1/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/42695/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42695/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42695.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42695",
"merged_at": "2021-07-24T08:21:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42695.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42695"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42696 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42696/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42696/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42696/events | https://github.com/pandas-dev/pandas/pull/42696 | 951,990,268 | MDExOlB1bGxSZXF1ZXN0Njk2Mjg2MDU2 | 42,696 | Backport PR #42640 on branch 1.3.x (BUG: Fix bug in SeriesGroupBy.value_counts when DataFrame has one row (#42618)) | {
"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": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] | closed | false | null | [] | {
"closed_at": "2021-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 0 | "2021-07-24T03:29:31Z" | "2021-07-24T08:25:53Z" | "2021-07-24T08:25:53Z" | NONE | null | Backport PR #42640: BUG: Fix bug in SeriesGroupBy.value_counts when DataFrame has one row (#42618) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42696/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42696/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42696.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42696",
"merged_at": "2021-07-24T08:25:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42696.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42696"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42697 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42697/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42697/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42697/events | https://github.com/pandas-dev/pandas/issues/42697 | 952,006,580 | MDU6SXNzdWU5NTIwMDY1ODA= | 42,697 | DOC: description for Series.empty is referencing DataFrames instead of Series | {
"avatar_url": "https://avatars.githubusercontent.com/u/4106890?v=4",
"events_url": "https://api.github.com/users/buckyster/events{/privacy}",
"followers_url": "https://api.github.com/users/buckyster/followers",
"following_url": "https://api.github.com/users/buckyster/following{/other_user}",
"gists_url": "https://api.github.com/users/buckyster/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/buckyster",
"id": 4106890,
"login": "buckyster",
"node_id": "MDQ6VXNlcjQxMDY4OTA=",
"organizations_url": "https://api.github.com/users/buckyster/orgs",
"received_events_url": "https://api.github.com/users/buckyster/received_events",
"repos_url": "https://api.github.com/users/buckyster/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/buckyster/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/buckyster/subscriptions",
"type": "User",
"url": "https://api.github.com/users/buckyster"
} | [
{
"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": "8dd5fc",
"default": false,
"description": "Series data structure",
"id": 1357732944,
"name": "Series",
"node_id": "MDU6TGFiZWwxMzU3NzMyOTQ0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Series"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
} | 8 | "2021-07-24T05:44:10Z" | "2021-11-14T02:23:35Z" | "2021-11-14T02:23:35Z" | NONE | null | #### Location of the documentation
https://pandas.pydata.org/docs/dev/reference/series.html
https://pandas.pydata.org/docs/dev/reference/api/pandas.Series.empty.html
#### Documentation problem
The description about Series.empty are referencing DataFrames instead of Series:
https://pandas.pydata.org/docs/dev/reference/series.html
> Series.empty | Indicator whether DataFrame is empty.
https://pandas.pydata.org/docs/dev/reference/api/pandas.Series.empty.html
> True if DataFrame is entirely empty (no items), meaning any of the axes are of length 0.
(And many more references to "DataFrame" instead of "Series" on that page.)
#### Suggested fix for documentation
Replace all mentions of "DataFrame" with "Series". | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42697/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42697/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42698 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42698/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42698/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42698/events | https://github.com/pandas-dev/pandas/pull/42698 | 952,040,880 | MDExOlB1bGxSZXF1ZXN0Njk2MzI0ODg4 | 42,698 | Revert "PERF: DataFrame construction" | {
"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": "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": "d4c5f9",
"default": false,
"description": "Series/DataFrame/Index/pd.array Constructors",
"id": 1465286368,
"name": "Constructors",
"node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors"
}
] | closed | false | null | [] | {
"closed_at": 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-07-24T09:42:29Z" | "2021-07-24T15:57:08Z" | "2021-07-24T10:57:39Z" | MEMBER | null | Reverts pandas-dev/pandas#42631
reverting to get ci to green quickly. @jbrockmendel can you re-open original 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/42698/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42698/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42698.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42698",
"merged_at": "2021-07-24T10:57:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42698.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42698"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42699 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42699/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42699/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42699/events | https://github.com/pandas-dev/pandas/pull/42699 | 952,054,857 | MDExOlB1bGxSZXF1ZXN0Njk2MzM1NTk3 | 42,699 | Backport PR #42686 on branch 1.3.x (DOC: 1.3.1 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-07-25T07:13:46Z",
"closed_issues": 114,
"created_at": "2021-06-25T09:56:22Z",
"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-07-25T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/87",
"id": 6888188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87/labels",
"node_id": "MDk6TWlsZXN0b25lNjg4ODE4OA==",
"number": 87,
"open_issues": 0,
"state": "closed",
"title": "1.3.1",
"updated_at": "2021-07-28T12:08:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/87"
} | 0 | "2021-07-24T11:19:30Z" | "2021-07-24T12:15:55Z" | "2021-07-24T12:15:55Z" | NONE | null | Backport PR #42686: DOC: 1.3.1 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/42699/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42699/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42699.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42699",
"merged_at": "2021-07-24T12:15:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42699.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42699"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42700 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42700/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42700/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42700/events | https://github.com/pandas-dev/pandas/pull/42700 | 952,074,081 | MDExOlB1bGxSZXF1ZXN0Njk2MzUwMzA4 | 42,700 | TST: Solution to doctest error in _parse_latex_header_span | {
"avatar_url": "https://avatars.githubusercontent.com/u/37235937?v=4",
"events_url": "https://api.github.com/users/aneesh98/events{/privacy}",
"followers_url": "https://api.github.com/users/aneesh98/followers",
"following_url": "https://api.github.com/users/aneesh98/following{/other_user}",
"gists_url": "https://api.github.com/users/aneesh98/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/aneesh98",
"id": 37235937,
"login": "aneesh98",
"node_id": "MDQ6VXNlcjM3MjM1OTM3",
"organizations_url": "https://api.github.com/users/aneesh98/orgs",
"received_events_url": "https://api.github.com/users/aneesh98/received_events",
"repos_url": "https://api.github.com/users/aneesh98/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/aneesh98/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aneesh98/subscriptions",
"type": "User",
"url": "https://api.github.com/users/aneesh98"
} | [
{
"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": "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"
} | 7 | "2021-07-24T13:18:05Z" | "2021-07-26T22:39:14Z" | "2021-07-26T22:39:09Z" | CONTRIBUTOR | null | The following commit fixes the doctext in _parse_latex_header_span. Solves issue #42673
- [X] closes #42673
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42700/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42700/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42700.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42700",
"merged_at": "2021-07-26T22:39:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42700.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42700"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42701 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42701/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42701/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42701/events | https://github.com/pandas-dev/pandas/pull/42701 | 952,080,605 | MDExOlB1bGxSZXF1ZXN0Njk2MzU1MTAy | 42,701 | TST: fix read_stata doctest #42670 | {
"avatar_url": "https://avatars.githubusercontent.com/u/63070026?v=4",
"events_url": "https://api.github.com/users/KrishnaSai2020/events{/privacy}",
"followers_url": "https://api.github.com/users/KrishnaSai2020/followers",
"following_url": "https://api.github.com/users/KrishnaSai2020/following{/other_user}",
"gists_url": "https://api.github.com/users/KrishnaSai2020/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/KrishnaSai2020",
"id": 63070026,
"login": "KrishnaSai2020",
"node_id": "MDQ6VXNlcjYzMDcwMDI2",
"organizations_url": "https://api.github.com/users/KrishnaSai2020/orgs",
"received_events_url": "https://api.github.com/users/KrishnaSai2020/received_events",
"repos_url": "https://api.github.com/users/KrishnaSai2020/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/KrishnaSai2020/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/KrishnaSai2020/subscriptions",
"type": "User",
"url": "https://api.github.com/users/KrishnaSai2020"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "5319e7",
"default": false,
"description": "read_stata, to_stata",
"id": 104865385,
"name": "IO Stata",
"node_id": "MDU6TGFiZWwxMDQ4NjUzODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Stata"
}
] | closed | false | null | [] | null | 17 | "2021-07-24T13:57:49Z" | "2021-07-31T18:05:26Z" | "2021-07-31T17:46:15Z" | CONTRIBUTOR | null | - [x] closes #42670
- [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] example docstring code fixed for read_strata
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42701/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42701/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42701.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42701",
"merged_at": "2021-07-31T17:46:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42701.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42701"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42702 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42702/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42702/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42702/events | https://github.com/pandas-dev/pandas/pull/42702 | 952,101,757 | MDExOlB1bGxSZXF1ZXN0Njk2MzcwNzA2 | 42,702 | PERF: DataFrame constructor | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "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": "d4c5f9",
"default": false,
"description": "Series/DataFrame/Index/pd.array Constructors",
"id": 1465286368,
"name": "Constructors",
"node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors"
}
] | closed | false | null | [] | {
"closed_at": 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-07-24T16:06:21Z" | "2021-07-26T22:36:35Z" | "2021-07-26T22:35:04Z" | 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
Re-implement #42631 without the bug-causing caching of Block.values | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42702/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42702/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42702.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42702",
"merged_at": "2021-07-26T22:35:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42702.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42702"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42703 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42703/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42703/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42703/events | https://github.com/pandas-dev/pandas/issues/42703 | 952,158,071 | MDU6SXNzdWU5NTIxNTgwNzE= | 42,703 | BUG: Explicitly declaring columns when using loc does not produce a SettingWithCopyWarning | {
"avatar_url": "https://avatars.githubusercontent.com/u/22064330?v=4",
"events_url": "https://api.github.com/users/HenryEcker/events{/privacy}",
"followers_url": "https://api.github.com/users/HenryEcker/followers",
"following_url": "https://api.github.com/users/HenryEcker/following{/other_user}",
"gists_url": "https://api.github.com/users/HenryEcker/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/HenryEcker",
"id": 22064330,
"login": "HenryEcker",
"node_id": "MDQ6VXNlcjIyMDY0MzMw",
"organizations_url": "https://api.github.com/users/HenryEcker/orgs",
"received_events_url": "https://api.github.com/users/HenryEcker/received_events",
"repos_url": "https://api.github.com/users/HenryEcker/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/HenryEcker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/HenryEcker/subscriptions",
"type": "User",
"url": "https://api.github.com/users/HenryEcker"
} | [
{
"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": "be21f2",
"default": false,
"description": "May be closeable, needs more eyeballs",
"id": 2365504893,
"name": "Closing Candidate",
"node_id": "MDU6TGFiZWwyMzY1NTA0ODkz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate"
}
] | closed | false | null | [] | null | 12 | "2021-07-24T22:30:45Z" | "2021-07-25T00:52:51Z" | "2021-07-25T00:32:36Z" | NONE | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
---
#### Code Sample, a copy-pastable example
``` python
import pandas as pd
# Create mock dataframe
df = pd.DataFrame({
'a': [1, 2, 3, 4]
})
m = df['a'].eq(2)
new_df1 = df[m]
# <weakref at 0x00000213E01C5090; to 'DataFrame' at 0x00000213DE9C6FD0>
print(new_df1._is_copy)
# SettingWithCopyWarning (expected)
new_df1['b'] = 1
new_df2 = df.loc[m]
# <weakref at 0x00000213E01C5090; to 'DataFrame' at 0x00000213DE9C6FD0>
print(new_df2._is_copy)
# SettingWithCopyWarning (unexpected)
new_df2['c'] = 1
new_df3 = df.loc[m, :]
# <weakref at 0x00000213E01C5090; to 'DataFrame' at 0x00000213DE9C6FD0>
print(new_df3._is_copy)
# SettingWithCopyWarning (unexpected)
new_df3['d'] = 1
new_df4 = df.loc[m, df.columns]
# None
print(new_df4._is_copy)
# No SettingWithCopyWarning (expected?)
new_df4['e'] = 1
```
#### Problem description
I expect that `df[m]` would produce a weakref, but I don't understand why I'm getting a weakref for the `loc` options where columns are not explicitly defined.
The issue being that:
``` python
new_df2 = df.loc[m]
new_df2['b'] = 1
```
and
``` python
new_df3 = df.loc[m, :]
new_df3['c'] = 1
```
Both warn:
``` python-traceback
SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
self._set_item(key, value)
```
I couldn't find any documentation saying that columns must be explicitly defined when using `loc` to not produce a copy, although all of the examples in the docs on [Why does assignment fail when using chained indexing?](https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#why-does-assignment-fail-when-using-chained-indexing) _do_ explicitly declare the column or columns.
#### Expected Output
I would expect not to get a `SettingWithCopyWarning` especially since `:` works when slicing the Index:
``` python
filtered_df = df.loc[:, ['a']]
print(filtered_df._is_copy) # None
filtered_df['b'] = 1 # No Warning
```
#### Output of ``pd.show_versions()``
Confirmed on Windows
<details>
INSTALLED VERSIONS
------------------
commit : f00ed8f47020034e752baf0250483053340971b0
python : 3.9.6.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19042
machine : AMD64
processor : Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_United States.1252
pandas : 1.3.0
numpy : 1.21.1
pytz : 2021.1
dateutil : 2.8.1
pip : None
setuptools : None
Cython : None
pytest : 6.2.4
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.6.3
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 3.0.1
IPython : 7.22.0
pandas_datareader: 0.9.0
bs4 : 4.9.3
bottleneck : None
fsspec : 2021.05.0
fastparquet : None
gcsfs : None
matplotlib : 3.4.2
numexpr : None
odfpy : None
openpyxl : 3.0.7
pandas_gbq : None
pyarrow : 3.0.0
pyxlsb : None
s3fs : None
scipy : 1.6.2
sqlalchemy : None
tables : None
tabulate : 0.8.9
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
Confirmed On Mac
<details>
INSTALLED VERSIONS
------------------
commit : f00ed8f47020034e752baf0250483053340971b0
python : 3.9.2.final.0
python-bits : 64
OS : Darwin
OS-release : 20.5.0
Version : Darwin Kernel Version 20.5.0: Sat May 8 05:10:31 PDT 2021; root:xnu-7195.121.3~9/RELEASE_ARM64_T8101
machine : arm64
processor : arm
byteorder : little
LC_ALL : None
LANG : None
LOCALE : en_US.UTF-8
pandas : 1.3.0
numpy : 1.21.1
pytz : 2021.1
dateutil : 2.8.1
pip : 21.1.3
setuptools : 54.2.0
Cython : 0.29.22
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/42703/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42703/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42704 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42704/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42704/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42704/events | https://github.com/pandas-dev/pandas/pull/42704 | 952,178,690 | MDExOlB1bGxSZXF1ZXN0Njk2NDI4OTI0 | 42,704 | PERF: unstack | {
"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": "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"
} | 1 | "2021-07-25T01:47:47Z" | "2021-07-26T16:12:55Z" | "2021-07-26T12:43:36Z" | MEMBER | null | ```
from asv_bench.benchmarks.reshape import *
self = ReshapeExtensionDtype()
self.setup("Period[s]")
%timeit self.time_unstack_fast("Period[s]")
23.2 ms ± 1.15 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) # <- master
9.37 ms ± 128 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) # <- PR
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42704/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42704/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42704.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42704",
"merged_at": "2021-07-26T12:43:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42704.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42704"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42705 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42705/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42705/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42705/events | https://github.com/pandas-dev/pandas/pull/42705 | 952,229,983 | MDExOlB1bGxSZXF1ZXN0Njk2NDY3Nzky | 42,705 | TST: fixed eng_formatter doctest for #42671 | {
"avatar_url": "https://avatars.githubusercontent.com/u/63070026?v=4",
"events_url": "https://api.github.com/users/KrishnaSai2020/events{/privacy}",
"followers_url": "https://api.github.com/users/KrishnaSai2020/followers",
"following_url": "https://api.github.com/users/KrishnaSai2020/following{/other_user}",
"gists_url": "https://api.github.com/users/KrishnaSai2020/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/KrishnaSai2020",
"id": 63070026,
"login": "KrishnaSai2020",
"node_id": "MDQ6VXNlcjYzMDcwMDI2",
"organizations_url": "https://api.github.com/users/KrishnaSai2020/orgs",
"received_events_url": "https://api.github.com/users/KrishnaSai2020/received_events",
"repos_url": "https://api.github.com/users/KrishnaSai2020/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/KrishnaSai2020/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/KrishnaSai2020/subscriptions",
"type": "User",
"url": "https://api.github.com/users/KrishnaSai2020"
} | [
{
"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": "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"
} | 25 | "2021-07-25T09:01:34Z" | "2021-07-30T15:57:14Z" | "2021-07-30T15:51:31Z" | CONTRIBUTOR | null | - [x] closes #42671
- [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] fixed the doctest error in the docs for format.py
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42705/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42705/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42705.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42705",
"merged_at": "2021-07-30T15:51:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42705.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42705"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42706 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42706/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42706/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42706/events | https://github.com/pandas-dev/pandas/pull/42706 | 952,230,357 | MDExOlB1bGxSZXF1ZXN0Njk2NDY4MDU5 | 42,706 | DOC: NumericIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4",
"events_url": "https://api.github.com/users/topper-123/events{/privacy}",
"followers_url": "https://api.github.com/users/topper-123/followers",
"following_url": "https://api.github.com/users/topper-123/following{/other_user}",
"gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/topper-123",
"id": 26364415,
"login": "topper-123",
"node_id": "MDQ6VXNlcjI2MzY0NDE1",
"organizations_url": "https://api.github.com/users/topper-123/orgs",
"received_events_url": "https://api.github.com/users/topper-123/received_events",
"repos_url": "https://api.github.com/users/topper-123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/topper-123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/topper-123"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "e99695",
"default": false,
"description": "Related to the Index class or subclasses",
"id": 1218227310,
"name": "Index",
"node_id": "MDU6TGFiZWwxMjE4MjI3MzEw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index"
},
{
"color": "d4c5f9",
"default": false,
"description": "Series/DataFrame/Index/pd.array Constructors",
"id": 1465286368,
"name": "Constructors",
"node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors"
}
] | closed | false | null | [] | {
"closed_at": 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-07-25T09:03:51Z" | "2021-08-13T16:32:24Z" | "2021-08-13T16:23:56Z" | CONTRIBUTOR | null | - [x] closes #41272
Docs etc. for the newly added NumericIndex (#41153) + adding NumericIndex to the public namespace. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42706/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42706/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42706.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42706",
"merged_at": "2021-08-13T16:23:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42706.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42706"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42707 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42707/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42707/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42707/events | https://github.com/pandas-dev/pandas/pull/42707 | 952,264,688 | MDExOlB1bGxSZXF1ZXN0Njk2NDk0MjI4 | 42,707 | Backport PR #42687 on branch 1.3.x (DOC: Start v1.3.2 release notes) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2021-08-15T12:34:44Z",
"closed_issues": 90,
"created_at": "2021-07-23T08:57:52Z",
"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-08-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/88",
"id": 6998423,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels",
"node_id": "MI_kwDOAA0YD84AasmX",
"number": 88,
"open_issues": 0,
"state": "closed",
"title": "1.3.2",
"updated_at": "2021-08-28T18:34:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88"
} | 0 | "2021-07-25T12:31:23Z" | "2021-07-25T13:23:43Z" | "2021-07-25T13:23:43Z" | NONE | null | Backport PR #42687: DOC: Start v1.3.2 release notes | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42707/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42707/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42707.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42707",
"merged_at": "2021-07-25T13:23:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42707.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42707"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42708 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42708/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42708/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42708/events | https://github.com/pandas-dev/pandas/issues/42708 | 952,271,131 | MDU6SXNzdWU5NTIyNzExMzE= | 42,708 | RLS: 1.3.2 | {
"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": "006b75",
"default": false,
"description": null,
"id": 131473665,
"name": "Release",
"node_id": "MDU6TGFiZWwxMzE0NzM2NjU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Release"
}
] | closed | false | null | [] | {
"closed_at": "2021-08-15T12:34:44Z",
"closed_issues": 90,
"created_at": "2021-07-23T08:57:52Z",
"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-08-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/88",
"id": 6998423,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels",
"node_id": "MI_kwDOAA0YD84AasmX",
"number": 88,
"open_issues": 0,
"state": "closed",
"title": "1.3.2",
"updated_at": "2021-08-28T18:34:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88"
} | 5 | "2021-07-25T13:07:34Z" | "2021-08-28T18:34:28Z" | "2021-08-28T18:34:27Z" | MEMBER | null | Tracking issue for the 1.3.2 release. Currently scheduled for August 15, 2021.
https://github.com/pandas-dev/pandas/milestone/88
List of open regressions: https://github.com/pandas-dev/pandas/issues?q=is%3Aopen+is%3Aissue+label%3ARegression
performance regressions between 1.2.5 and 1.3.x https://simonjayhawkins.github.io/fantastic-dollop/#regressions?sort=3&dir=desc&branch=1.3.x
cc @pandas-dev/pandas-core @pandas-dev/pandas-triage | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42708/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42708/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42709 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42709/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42709/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42709/events | https://github.com/pandas-dev/pandas/pull/42709 | 952,304,441 | MDExOlB1bGxSZXF1ZXN0Njk2NTI1MDEw | 42,709 | updated empty in `pandas.DataFrame.empty` or `pandas.Series.empty` docstrings | {
"avatar_url": "https://avatars.githubusercontent.com/u/72916650?v=4",
"events_url": "https://api.github.com/users/kadatatlukishore/events{/privacy}",
"followers_url": "https://api.github.com/users/kadatatlukishore/followers",
"following_url": "https://api.github.com/users/kadatatlukishore/following{/other_user}",
"gists_url": "https://api.github.com/users/kadatatlukishore/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kadatatlukishore",
"id": 72916650,
"login": "kadatatlukishore",
"node_id": "MDQ6VXNlcjcyOTE2NjUw",
"organizations_url": "https://api.github.com/users/kadatatlukishore/orgs",
"received_events_url": "https://api.github.com/users/kadatatlukishore/received_events",
"repos_url": "https://api.github.com/users/kadatatlukishore/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kadatatlukishore/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kadatatlukishore/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kadatatlukishore"
} | [
{
"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 | 16 | "2021-07-25T16:01:53Z" | "2021-08-27T08:11:10Z" | "2021-08-27T08:11:10Z" | CONTRIBUTOR | null | - [x] closes ##42697
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42709/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42709/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42709.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42709",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/42709.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42709"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42710 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42710/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42710/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42710/events | https://github.com/pandas-dev/pandas/pull/42710 | 952,304,656 | MDExOlB1bGxSZXF1ZXN0Njk2NTI1MTc3 | 42,710 | DOC use pepy-tech badge in README instead of conda-forge one | {
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
} | [
{
"color": "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"
} | 3 | "2021-07-25T16:02:56Z" | "2021-09-12T19:14:58Z" | "2021-09-12T19:13:14Z" | MEMBER | null | cf Gitter conversation
- [ ] 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/42710/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42710/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42710.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42710",
"merged_at": "2021-09-12T19:13:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42710.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42710"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42711 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42711/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42711/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42711/events | https://github.com/pandas-dev/pandas/pull/42711 | 952,305,660 | MDExOlB1bGxSZXF1ZXN0Njk2NTI1OTY5 | 42,711 | fixed doctest in styler.to_latex | {
"avatar_url": "https://avatars.githubusercontent.com/u/21048435?v=4",
"events_url": "https://api.github.com/users/willie3838/events{/privacy}",
"followers_url": "https://api.github.com/users/willie3838/followers",
"following_url": "https://api.github.com/users/willie3838/following{/other_user}",
"gists_url": "https://api.github.com/users/willie3838/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/willie3838",
"id": 21048435,
"login": "willie3838",
"node_id": "MDQ6VXNlcjIxMDQ4NDM1",
"organizations_url": "https://api.github.com/users/willie3838/orgs",
"received_events_url": "https://api.github.com/users/willie3838/received_events",
"repos_url": "https://api.github.com/users/willie3838/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/willie3838/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willie3838/subscriptions",
"type": "User",
"url": "https://api.github.com/users/willie3838"
} | [
{
"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": "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 | 3 | "2021-07-25T16:08:30Z" | "2021-07-25T20:59:00Z" | "2021-07-25T17:42:46Z" | CONTRIBUTOR | null | - [] closes #42672
- [ ] 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/42711/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42711/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42711.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42711",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/42711.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42711"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42712 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42712/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42712/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42712/events | https://github.com/pandas-dev/pandas/pull/42712 | 952,319,734 | MDExOlB1bGxSZXF1ZXN0Njk2NTM2OTk5 | 42,712 | CLN: replace labels.shape[0] with len(labels) | {
"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"
} | [] | closed | false | null | [] | null | 0 | "2021-07-25T17:27:25Z" | "2021-07-25T17:42:27Z" | "2021-07-25T17:42:27Z" | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42712/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42712/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42712.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42712",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/42712.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42712"
} |
|
https://api.github.com/repos/pandas-dev/pandas/issues/42713 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42713/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42713/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42713/events | https://github.com/pandas-dev/pandas/pull/42713 | 952,326,799 | MDExOlB1bGxSZXF1ZXN0Njk2NTQyMzE1 | 42,713 | Use find_stack_level for SettingWithCopyWarning | {
"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": "70e5ca",
"default": false,
"description": "",
"id": 2085877452,
"name": "Copy / view semantics",
"node_id": "MDU6TGFiZWwyMDg1ODc3NDUy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Copy%20/%20view%20semantics"
}
] | closed | false | null | [] | {
"closed_at": 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-07-25T18:09:31Z" | "2021-07-26T12:41:35Z" | "2021-07-26T12:37:52Z" | MEMBER | 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
As discussed a few days ago
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42713/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42713/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42713.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42713",
"merged_at": "2021-07-26T12:37:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42713.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42713"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42714 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42714/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42714/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42714/events | https://github.com/pandas-dev/pandas/pull/42714 | 952,336,756 | MDExOlB1bGxSZXF1ZXN0Njk2NTQ5OTM2 | 42,714 | PERF/REGR: isin slowdown for masked type | {
"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": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
},
{
"color": "fef2c0",
"default": false,
"description": "isin method",
"id": 2468482981,
"name": "isin",
"node_id": "MDU6TGFiZWwyNDY4NDgyOTgx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/isin"
}
] | closed | false | null | [] | {
"closed_at": "2021-08-15T12:34:44Z",
"closed_issues": 90,
"created_at": "2021-07-23T08:57:52Z",
"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-08-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/88",
"id": 6998423,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels",
"node_id": "MI_kwDOAA0YD84AasmX",
"number": 88,
"open_issues": 0,
"state": "closed",
"title": "1.3.2",
"updated_at": "2021-08-28T18:34:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88"
} | 3 | "2021-07-25T19:08:47Z" | "2021-07-26T14:35:56Z" | "2021-07-26T14:34:32Z" | MEMBER | null | xref #42708
- [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
Fixes `isin` slowdowns mentioned in https://simonjayhawkins.github.io/fantastic-dollop/#regressions?sort=3&dir=desc&branch=1.3.x
Benchmarks:
<details>
```
- 550±7ms 495±10ms 0.90 algos.isin.IsInLongSeriesValuesDominate.time_isin('Float64', 'random')
- 514±8ms 449±6ms 0.87 algos.isin.IsInLongSeriesValuesDominate.time_isin('Float64', 'monotone')
- 2.22±0.07ms 1.68±0.05ms 0.76 algos.isin.IsInFloat64.time_isin('Float64', 'many_different_values')
- 208±9ms 147±8ms 0.71 algos.isin.IsInLongSeriesValuesDominate.time_isin('Int64', 'monotone')
- 395±20μs 279±4μs 0.71 algos.isin.IsIn.time_isin_categorical('boolean')
- 304±10μs 200±2μs 0.66 algos.isin.IsIn.time_isin_empty('boolean')
- 341±10μs 218±10μs 0.64 algos.isin.IsIn.time_isin('Int64')
- 339±10μs 212±3μs 0.63 algos.isin.IsIn.time_isin_categorical('Int64')
- 258±10μs 147±3μs 0.57 algos.isin.IsIn.time_isin_empty('Int64')
- 221±5μs 104±3μs 0.47 algos.isin.IsIn.time_isin('boolean')
- 155±5μs 63.4±1μs 0.41 algos.isin.IsIn.time_isin_mismatched_dtype('boolean')
- 166±7μs 63.4±1μs 0.38 algos.isin.IsIn.time_isin_mismatched_dtype('Int64')
- 499±6ms 176±2ms 0.35 algos.isin.IsInLongSeriesLookUpDominates.time_isin('Float64', 1000, 'random_misses')
- 500±8ms 173±2ms 0.35 algos.isin.IsInLongSeriesLookUpDominates.time_isin('Float64', 1000, 'monotone_misses')
- 125±1ms 33.2±0.8ms 0.27 algos.isin.IsInLongSeriesLookUpDominates.time_isin('Int64', 5, 'random_hits')
- 437±6ms 116±1ms 0.26 algos.isin.IsInLongSeriesLookUpDominates.time_isin('Float64', 1000, 'random_hits')
- 125±1ms 32.9±0.8ms 0.26 algos.isin.IsInLongSeriesLookUpDominates.time_isin('Int64', 5, 'random_misses')
- 131±0.9ms 33.3±2ms 0.25 algos.isin.IsInLongSeriesLookUpDominates.time_isin('Int64', 5, 'monotone_hits')
- 443±10ms 109±0.6ms 0.25 algos.isin.IsInLongSeriesLookUpDominates.time_isin('Int64', 1000, 'monotone_misses')
- 417±10ms 81.0±0.6ms 0.19 algos.isin.IsInLongSeriesLookUpDominates.time_isin('Float64', 1000, 'monotone_hits')
- 298±8ms 41.2±0.1ms 0.14 algos.isin.IsInLongSeriesLookUpDominates.time_isin('Int64', 1000, 'monotone_hits')
- 343±10ms 41.0±0.3ms 0.12 algos.isin.IsInLongSeriesLookUpDominates.time_isin('Int64', 1000, 'random_hits')
- 370±7ms 39.3±0.2ms 0.11 algos.isin.IsInLongSeriesLookUpDominates.time_isin('Int64', 1000, 'random_misses')
- 371±10ms 36.6±0.3ms 0.10 algos.isin.IsInLongSeriesLookUpDominates.time_isin('Int64', 5, 'monotone_misses')
- 350±10ms 33.8±0.5ms 0.10 algos.isin.IsInLongSeriesLookUpDominates.time_isin('Float64', 5, 'monotone_misses')
- 351±10ms 32.7±0.7ms 0.09 algos.isin.IsInLongSeriesLookUpDominates.time_isin('Float64', 5, 'monotone_hits')
- 347±10ms 32.0±0.8ms 0.09 algos.isin.IsInLongSeriesLookUpDominates.time_isin('Float64', 5, 'random_misses')
- 357±10ms 31.7±0.5ms 0.09 algos.isin.IsInLongSeriesLookUpDominates.time_isin('Float64', 5, 'random_hits')
```
</details>
Not sure if we do this anywhere else, but based on this slowdown seems like `empty/zeros_like(extensionarr)` should be avoided (this call has extra overhead through dispatching, but also triggers an `astype` somewhere, which is the main perf difference).
Also as a sidenote seems like `empty_like/zeros_like` should be avoided in general in favor of `zeros/empty`, see https://stackoverflow.com/questions/27464039/why-the-performance-difference-between-numpy-zeros-and-numpy-zeros-like
But `zeros_like` -> `zeros` makes a much smaller difference than `zeros_like(self)` -> `zeros_like(self._data)` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42714/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42714/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42714.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42714",
"merged_at": "2021-07-26T14:34:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42714.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42714"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42715 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42715/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42715/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42715/events | https://github.com/pandas-dev/pandas/pull/42715 | 952,339,725 | MDExOlB1bGxSZXF1ZXN0Njk2NTUyMjY2 | 42,715 | Pin xarray to get ci passing | {
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "d93f0b",
"default": false,
"description": "Required and optional dependencies",
"id": 527603109,
"name": "Dependencies",
"node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies"
}
] | closed | false | null | [] | {
"closed_at": "2021-08-15T12:34:44Z",
"closed_issues": 90,
"created_at": "2021-07-23T08:57:52Z",
"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-08-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/88",
"id": 6998423,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels",
"node_id": "MI_kwDOAA0YD84AasmX",
"number": 88,
"open_issues": 0,
"state": "closed",
"title": "1.3.2",
"updated_at": "2021-08-28T18:34:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88"
} | 1 | "2021-07-25T19:27:06Z" | "2021-07-26T12:40:50Z" | "2021-07-26T09:26:40Z" | MEMBER | null | - [x] xref #42716
- [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
Pinning until fixed | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42715/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42715/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42715.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42715",
"merged_at": "2021-07-26T09:26:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42715.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42715"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42716 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42716/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42716/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42716/events | https://github.com/pandas-dev/pandas/issues/42716 | 952,339,928 | MDU6SXNzdWU5NTIzMzk5Mjg= | 42,716 | CI: xarray upgrade to 0.19 broke CI Checks pipeline | {
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "d93f0b",
"default": false,
"description": "Required and optional dependencies",
"id": 527603109,
"name": "Dependencies",
"node_id": "MDU6TGFiZWw1Mjc2MDMxMDk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dependencies"
}
] | 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"
} | 3 | "2021-07-25T19:28:26Z" | "2021-11-18T22:46:59Z" | null | MEMBER | null | Xarray was recently upgrade from 0.18.2 to 0.19 in our ci. This broke the checks pipeline
Passing:
https://github.com/pandas-dev/pandas/runs/3155104841
Failing:
https://github.com/pandas-dev/pandas/pull/42713/checks?check_run_id=3155841275 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42716/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42716/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42717 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42717/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42717/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42717/events | https://github.com/pandas-dev/pandas/issues/42717 | 952,346,905 | MDU6SXNzdWU5NTIzNDY5MDU= | 42,717 | DEPR: Remove Int64Index, UInt64Index, Float64Index and Index._is_backward_compat_public_numeric_index | {
"avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4",
"events_url": "https://api.github.com/users/topper-123/events{/privacy}",
"followers_url": "https://api.github.com/users/topper-123/followers",
"following_url": "https://api.github.com/users/topper-123/following{/other_user}",
"gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/topper-123",
"id": 26364415,
"login": "topper-123",
"node_id": "MDQ6VXNlcjI2MzY0NDE1",
"organizations_url": "https://api.github.com/users/topper-123/orgs",
"received_events_url": "https://api.github.com/users/topper-123/received_events",
"repos_url": "https://api.github.com/users/topper-123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/topper-123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/topper-123"
} | [
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
},
{
"color": "e99695",
"default": false,
"description": "Related to the Index class or subclasses",
"id": 1218227310,
"name": "Index",
"node_id": "MDU6TGFiZWwxMjE4MjI3MzEw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index"
}
] | open | false | null | [] | {
"closed_at": null,
"closed_issues": 4,
"created_at": "2016-08-16T13:21:24Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/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": "2022-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/42",
"id": 1945020,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/42/labels",
"node_id": "MDk6TWlsZXN0b25lMTk0NTAyMA==",
"number": 42,
"open_issues": 11,
"state": "open",
"title": "2.0",
"updated_at": "2021-10-07T22:01:52Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/42"
} | 0 | "2021-07-25T20:09:03Z" | "2021-10-22T09:00:33Z" | null | CONTRIBUTOR | null | In Pandas 2.0 NumericIndex should be the default numerical index and `Int64Index`, `UInt64Index` and `Float64Index` should be removed. See #41153 & #41272 for more discussion.
#41153 adds an internal attribute `_is_backward_compat_public_numeric_index` to the `Index` class (and its numeric child classes). This is only used to keep track of whether an index is a `NumericIndex` or one of its child indexes (`Int64Index`, `UInt64Index` and `Float64Index`) in order to maintain backwards compatability in Pandas 1.x. It will not be needed in pandas 2.0 after the child classes are removed and should removed in pandas 2.0 also. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42717/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42717/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42718 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42718/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42718/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42718/events | https://github.com/pandas-dev/pandas/pull/42718 | 952,351,519 | MDExOlB1bGxSZXF1ZXN0Njk2NTYxMDY4 | 42,718 | TST: Fixed doctest in Styler.to_latex #42672 | {
"avatar_url": "https://avatars.githubusercontent.com/u/21048435?v=4",
"events_url": "https://api.github.com/users/willie3838/events{/privacy}",
"followers_url": "https://api.github.com/users/willie3838/followers",
"following_url": "https://api.github.com/users/willie3838/following{/other_user}",
"gists_url": "https://api.github.com/users/willie3838/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/willie3838",
"id": 21048435,
"login": "willie3838",
"node_id": "MDQ6VXNlcjIxMDQ4NDM1",
"organizations_url": "https://api.github.com/users/willie3838/orgs",
"received_events_url": "https://api.github.com/users/willie3838/received_events",
"repos_url": "https://api.github.com/users/willie3838/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/willie3838/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willie3838/subscriptions",
"type": "User",
"url": "https://api.github.com/users/willie3838"
} | [
{
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "006b75",
"default": false,
"description": "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"
} | 5 | "2021-07-25T20:38:18Z" | "2021-07-28T00:05:29Z" | "2021-07-28T00:05:24Z" | CONTRIBUTOR | null | - [x] closes #42672
- [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/42718/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42718/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42718.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42718",
"merged_at": "2021-07-28T00:05:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42718.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42718"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/42719 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42719/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42719/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42719/events | https://github.com/pandas-dev/pandas/issues/42719 | 952,424,963 | MDU6SXNzdWU5NTI0MjQ5NjM= | 42,719 | BUG: TypeError when shifting DataFrame created by concatenation of slices and fills with values | {
"avatar_url": "https://avatars.githubusercontent.com/u/8284922?v=4",
"events_url": "https://api.github.com/users/wjsi/events{/privacy}",
"followers_url": "https://api.github.com/users/wjsi/followers",
"following_url": "https://api.github.com/users/wjsi/following{/other_user}",
"gists_url": "https://api.github.com/users/wjsi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wjsi",
"id": 8284922,
"login": "wjsi",
"node_id": "MDQ6VXNlcjgyODQ5MjI=",
"organizations_url": "https://api.github.com/users/wjsi/orgs",
"received_events_url": "https://api.github.com/users/wjsi/received_events",
"repos_url": "https://api.github.com/users/wjsi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wjsi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wjsi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wjsi"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] | closed | false | null | [] | {
"closed_at": "2021-08-15T12:34:44Z",
"closed_issues": 90,
"created_at": "2021-07-23T08:57:52Z",
"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-08-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/88",
"id": 6998423,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels",
"node_id": "MI_kwDOAA0YD84AasmX",
"number": 88,
"open_issues": 0,
"state": "closed",
"title": "1.3.2",
"updated_at": "2021-08-28T18:34:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88"
} | 4 | "2021-07-26T01:58:36Z" | "2021-07-27T19:58:52Z" | "2021-07-27T19:58:52Z" | CONTRIBUTOR | null | - [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import numpy as np
import pandas as pd
npa = np.random.RandomState(0).randint(1000, size=(20, 8))
df = pd.DataFrame(npa, columns=[f'c{i}' for i in range(8)])
pd.concat([df.iloc[:6, 3:5], df.iloc[:6, 6:8]], axis=1).shift(periods=2, axis=1, freq=None, fill_value=0)
```
```
Traceback (most recent call last):
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3417, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-4-9916dba4e800>", line 1, in <module>
pd.concat([df.iloc[:6, 3:5], df.iloc[:6, 6:8]], axis=1).shift(periods=2, axis=1, freq=None, fill_value=0)
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/frame.py", line 5313, in shift
return super().shift(
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/generic.py", line 9179, in shift
new_data = self._mgr.shift(
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/internals/managers.py", line 393, in shift
result = self.reindex_indexer(
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/internals/managers.py", line 669, in reindex_indexer
new_blocks = self._slice_take_blocks_ax0(
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/internals/managers.py", line 714, in _slice_take_blocks_ax0
sl_type, slobj, sllen = _preprocess_slice_or_indexer(
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/internals/managers.py", line 2033, in _preprocess_slice_or_indexer
raise TypeError(type(slice_or_indexer), dtype)
TypeError: (<class 'list'>, None)
```
#### Problem description
`shift` should work without exception. When `df._data._consolidate_inplace()` is called before shift, it works well.
I've submitted an issue at #42401 once v1.3.0 is released, but no one responds till v1.3.1 is released today.
#### Expected Output
```
c3 c4 c6 c7
0 0 0 192 835
1 0 0 754 804
2 0 0 705 486
3 0 0 537 845
4 0 0 709 847
5 0 0 755 797
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : daec2e73b48fe34086dcdeeb0858d29536b6ca6a
python : 3.8.5.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 : zh_CN.UTF-8
LOCALE : zh_CN.UTF-8
pandas : 1.4.0.dev0+292.gdaec2e73b4
numpy : 1.19.2
pytz : 2021.1
dateutil : 2.8.1
pip : 21.1.3
setuptools : 52.0.0.post20210125
Cython : 0.29.24
pytest : 6.2.2
hypothesis : 6.3.0
sphinx : 3.5.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.3
IPython : 7.22.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : 2.7.2
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 4.0.1
pyxlsb : None
s3fs : None
scipy : 1.6.1
sqlalchemy : 1.4.7
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : 0.51.2
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42719/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42719/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/42720 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/42720/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/42720/comments | https://api.github.com/repos/pandas-dev/pandas/issues/42720/events | https://github.com/pandas-dev/pandas/pull/42720 | 952,505,965 | MDExOlB1bGxSZXF1ZXN0Njk2Njg4OTk1 | 42,720 | CLN: clean the conda-to-pip script | {
"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": "2021-08-15T12:34:44Z",
"closed_issues": 90,
"created_at": "2021-07-23T08:57:52Z",
"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-08-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/88",
"id": 6998423,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88/labels",
"node_id": "MI_kwDOAA0YD84AasmX",
"number": 88,
"open_issues": 0,
"state": "closed",
"title": "1.3.2",
"updated_at": "2021-08-28T18:34:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/88"
} | 4 | "2021-07-26T05:05:58Z" | "2021-08-17T04:17:55Z" | "2021-07-26T12:34:14Z" | MEMBER | null | precursor of #42304
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/42720/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/42720/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/42720.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/42720",
"merged_at": "2021-07-26T12:34:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/42720.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/42720"
} |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.